|
@@ -0,0 +1,930 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.28.1
|
|
|
+// protoc v3.12.4
|
|
|
+// source: v1/request/command.proto
|
|
|
+
|
|
|
+package request
|
|
|
+
|
|
|
+import (
|
|
|
+ _ "github.com/mwitkow/go-proto-validators"
|
|
|
+ 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 AutoMigrateRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+ TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
|
|
|
+ Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
|
|
|
+ Model []byte `protobuf:"bytes,4,opt,name=Model,proto3" json:"Model,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) Reset() {
|
|
|
+ *x = AutoMigrateRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*AutoMigrateRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 AutoMigrateRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*AutoMigrateRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) GetTablePrefixWithSchema() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TablePrefixWithSchema
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) GetVersion() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Version
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *AutoMigrateRequest) GetModel() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Model
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ // Types that are assignable to Request:
|
|
|
+ //
|
|
|
+ // *TransactionOperation_TransactionBeginRequest
|
|
|
+ // *TransactionOperation_InsertRequest
|
|
|
+ // *TransactionOperation_DeleteRequest
|
|
|
+ // *TransactionOperation_UpdateRequest
|
|
|
+ // *TransactionOperation_TransactionEndRequest
|
|
|
+ Request isTransactionOperation_Request `protobuf_oneof:"Request"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) Reset() {
|
|
|
+ *x = TransactionOperation{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*TransactionOperation) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *TransactionOperation) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 TransactionOperation.ProtoReflect.Descriptor instead.
|
|
|
+func (*TransactionOperation) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (m *TransactionOperation) GetRequest() isTransactionOperation_Request {
|
|
|
+ if m != nil {
|
|
|
+ return m.Request
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) GetTransactionBeginRequest() *TransactionBeginRequest {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_TransactionBeginRequest); ok {
|
|
|
+ return x.TransactionBeginRequest
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) GetInsertRequest() *InsertRequest {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_InsertRequest); ok {
|
|
|
+ return x.InsertRequest
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) GetDeleteRequest() *DeleteRequest {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_DeleteRequest); ok {
|
|
|
+ return x.DeleteRequest
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) GetUpdateRequest() *UpdateRequest {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_UpdateRequest); ok {
|
|
|
+ return x.UpdateRequest
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionOperation) GetTransactionEndRequest() *TransactionEndRequest {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_TransactionEndRequest); ok {
|
|
|
+ return x.TransactionEndRequest
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type isTransactionOperation_Request interface {
|
|
|
+ isTransactionOperation_Request()
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation_TransactionBeginRequest struct {
|
|
|
+ TransactionBeginRequest *TransactionBeginRequest `protobuf:"bytes,1,opt,name=TransactionBeginRequest,proto3,oneof"`
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation_InsertRequest struct {
|
|
|
+ InsertRequest *InsertRequest `protobuf:"bytes,2,opt,name=InsertRequest,proto3,oneof"`
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation_DeleteRequest struct {
|
|
|
+ DeleteRequest *DeleteRequest `protobuf:"bytes,3,opt,name=DeleteRequest,proto3,oneof"`
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation_UpdateRequest struct {
|
|
|
+ UpdateRequest *UpdateRequest `protobuf:"bytes,4,opt,name=UpdateRequest,proto3,oneof"`
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionOperation_TransactionEndRequest struct {
|
|
|
+ TransactionEndRequest *TransactionEndRequest `protobuf:"bytes,5,opt,name=TransactionEndRequest,proto3,oneof"`
|
|
|
+}
|
|
|
+
|
|
|
+func (*TransactionOperation_TransactionBeginRequest) isTransactionOperation_Request() {}
|
|
|
+
|
|
|
+func (*TransactionOperation_InsertRequest) isTransactionOperation_Request() {}
|
|
|
+
|
|
|
+func (*TransactionOperation_DeleteRequest) isTransactionOperation_Request() {}
|
|
|
+
|
|
|
+func (*TransactionOperation_UpdateRequest) isTransactionOperation_Request() {}
|
|
|
+
|
|
|
+func (*TransactionOperation_TransactionEndRequest) isTransactionOperation_Request() {}
|
|
|
+
|
|
|
+type InsertRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+ TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
|
|
|
+ Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
|
|
|
+ Keys []byte `protobuf:"bytes,4,opt,name=Keys,proto3" json:"Keys,omitempty"`
|
|
|
+ Models []byte `protobuf:"bytes,5,opt,name=Models,proto3" json:"Models,omitempty"`
|
|
|
+ UserID string `protobuf:"bytes,6,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) Reset() {
|
|
|
+ *x = InsertRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*InsertRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *InsertRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 InsertRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*InsertRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetTablePrefixWithSchema() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TablePrefixWithSchema
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetVersion() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Version
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetKeys() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Keys
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetModels() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Models
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *InsertRequest) GetUserID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type DeleteRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+ TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
|
|
|
+ Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
|
|
|
+ Keys []byte `protobuf:"bytes,4,opt,name=Keys,proto3" json:"Keys,omitempty"`
|
|
|
+ Where []byte `protobuf:"bytes,5,opt,name=Where,proto3" json:"Where,omitempty"`
|
|
|
+ UserID string `protobuf:"bytes,6,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) Reset() {
|
|
|
+ *x = DeleteRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DeleteRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 DeleteRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetTablePrefixWithSchema() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TablePrefixWithSchema
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetVersion() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Version
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetKeys() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Keys
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetWhere() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Where
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetUserID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type UpdateRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+ TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
|
|
|
+ Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
|
|
|
+ Keys []byte `protobuf:"bytes,4,opt,name=Keys,proto3" json:"Keys,omitempty"`
|
|
|
+ Where []byte `protobuf:"bytes,5,opt,name=Where,proto3" json:"Where,omitempty"`
|
|
|
+ NewModel []byte `protobuf:"bytes,6,opt,name=NewModel,proto3" json:"NewModel,omitempty"`
|
|
|
+ UserID string `protobuf:"bytes,7,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) Reset() {
|
|
|
+ *x = UpdateRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UpdateRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 UpdateRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetTablePrefixWithSchema() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TablePrefixWithSchema
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetVersion() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Version
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetKeys() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Keys
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetWhere() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Where
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetNewModel() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.NewModel
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetUserID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type ReplayRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+ TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
|
|
|
+ Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
|
|
|
+ Keys []byte `protobuf:"bytes,4,opt,name=Keys,proto3" json:"Keys,omitempty"`
|
|
|
+ UserID string `protobuf:"bytes,5,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) Reset() {
|
|
|
+ *x = ReplayRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ReplayRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ReplayRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 ReplayRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ReplayRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{5}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) GetTablePrefixWithSchema() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.TablePrefixWithSchema
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) GetVersion() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Version
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) GetKeys() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Keys
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReplayRequest) GetUserID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionBeginRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionBeginRequest) Reset() {
|
|
|
+ *x = TransactionBeginRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionBeginRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*TransactionBeginRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *TransactionBeginRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 TransactionBeginRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*TransactionBeginRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{6}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionBeginRequest) GetDatabaseID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DatabaseID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type TransactionEndRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionEndRequest) Reset() {
|
|
|
+ *x = TransactionEndRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_v1_request_command_proto_msgTypes[7]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *TransactionEndRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*TransactionEndRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *TransactionEndRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_v1_request_command_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 TransactionEndRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*TransactionEndRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_v1_request_command_proto_rawDescGZIP(), []int{7}
|
|
|
+}
|
|
|
+
|
|
|
+var File_v1_request_command_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_v1_request_command_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x18, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x63, 0x6f, 0x6d,
|
|
|
+ 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x65, 0x71, 0x75,
|
|
|
+ 0x65, 0x73, 0x74, 0x1a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
|
+ 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69,
|
|
|
+ 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x12,
|
|
|
+ 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a,
|
|
|
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61,
|
|
|
+ 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68,
|
|
|
+ 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
|
|
|
+ 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69,
|
|
|
+ 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73,
|
|
|
+ 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
|
|
|
+ 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x05, 0x4d, 0x6f,
|
|
|
+ 0x64, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70,
|
|
|
+ 0x00, 0x52, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x97, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61,
|
|
|
+ 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
|
+ 0x6e, 0x12, 0x5c, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
+ 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61,
|
|
|
+ 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
|
|
|
+ 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x3e, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00,
|
|
|
+ 0x52, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x3e, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00,
|
|
|
+ 0x52, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x3e, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00,
|
|
|
+ 0x52, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x56, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
|
|
|
+ 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
|
|
|
+ 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
|
|
|
+ 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00,
|
|
|
+ 0x52, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64,
|
|
|
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
|
|
+ 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01,
|
|
|
+ 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15,
|
|
|
+ 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53,
|
|
|
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
|
|
|
+ 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78,
|
|
|
+ 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65,
|
|
|
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
|
|
|
+ 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x04,
|
|
|
+ 0x4b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02,
|
|
|
+ 0x70, 0x00, 0x52, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1e, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65,
|
|
|
+ 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00,
|
|
|
+ 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
|
|
|
+ 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
|
|
|
+ 0x22, 0xe1, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a,
|
|
|
+ 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61,
|
|
|
+ 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68,
|
|
|
+ 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
|
|
|
+ 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69,
|
|
|
+ 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73,
|
|
|
+ 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
|
|
|
+ 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x04, 0x4b, 0x65,
|
|
|
+ 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00,
|
|
|
+ 0x52, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x18,
|
|
|
+ 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x49, 0x44, 0x22, 0x85, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
|
+ 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02,
|
|
|
+ 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c,
|
|
|
+ 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74,
|
|
|
+ 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
|
|
|
+ 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66,
|
|
|
+ 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07,
|
|
|
+ 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
|
|
|
+ 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
|
|
|
+ 0x0a, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf,
|
|
|
+ 0x1f, 0x02, 0x70, 0x00, 0x52, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68,
|
|
|
+ 0x65, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65,
|
|
|
+ 0x12, 0x22, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
|
|
|
+ 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00, 0x52, 0x08, 0x4e, 0x65, 0x77, 0x4d,
|
|
|
+ 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x07,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0xcb, 0x01, 0x0a,
|
|
|
+ 0x0d, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
|
|
+ 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61,
|
|
|
+ 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,
|
|
|
+ 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54,
|
|
|
+ 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63,
|
|
|
+ 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56,
|
|
|
+ 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x04,
|
|
|
+ 0x20, 0x01, 0x28, 0x0c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x70, 0x00, 0x52, 0x04, 0x4b, 0x65,
|
|
|
+ 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x41, 0x0a, 0x17, 0x54, 0x72,
|
|
|
+ 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
|
|
+ 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58,
|
|
|
+ 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x22, 0x17, 0x0a,
|
|
|
+ 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x20, 0x5a, 0x1e, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70,
|
|
|
+ 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31,
|
|
|
+ 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_v1_request_command_proto_rawDescOnce sync.Once
|
|
|
+ file_v1_request_command_proto_rawDescData = file_v1_request_command_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_v1_request_command_proto_rawDescGZIP() []byte {
|
|
|
+ file_v1_request_command_proto_rawDescOnce.Do(func() {
|
|
|
+ file_v1_request_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_request_command_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_v1_request_command_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_v1_request_command_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
|
+var file_v1_request_command_proto_goTypes = []interface{}{
|
|
|
+ (*AutoMigrateRequest)(nil), // 0: request.AutoMigrateRequest
|
|
|
+ (*TransactionOperation)(nil), // 1: request.TransactionOperation
|
|
|
+ (*InsertRequest)(nil), // 2: request.InsertRequest
|
|
|
+ (*DeleteRequest)(nil), // 3: request.DeleteRequest
|
|
|
+ (*UpdateRequest)(nil), // 4: request.UpdateRequest
|
|
|
+ (*ReplayRequest)(nil), // 5: request.ReplayRequest
|
|
|
+ (*TransactionBeginRequest)(nil), // 6: request.TransactionBeginRequest
|
|
|
+ (*TransactionEndRequest)(nil), // 7: request.TransactionEndRequest
|
|
|
+}
|
|
|
+var file_v1_request_command_proto_depIdxs = []int32{
|
|
|
+ 6, // 0: request.TransactionOperation.TransactionBeginRequest:type_name -> request.TransactionBeginRequest
|
|
|
+ 2, // 1: request.TransactionOperation.InsertRequest:type_name -> request.InsertRequest
|
|
|
+ 3, // 2: request.TransactionOperation.DeleteRequest:type_name -> request.DeleteRequest
|
|
|
+ 4, // 3: request.TransactionOperation.UpdateRequest:type_name -> request.UpdateRequest
|
|
|
+ 7, // 4: request.TransactionOperation.TransactionEndRequest:type_name -> request.TransactionEndRequest
|
|
|
+ 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_v1_request_command_proto_init() }
|
|
|
+func file_v1_request_command_proto_init() {
|
|
|
+ if File_v1_request_command_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_v1_request_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*AutoMigrateRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*TransactionOperation); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*InsertRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DeleteRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UpdateRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ReplayRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*TransactionBeginRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*TransactionEndRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_v1_request_command_proto_msgTypes[1].OneofWrappers = []interface{}{
|
|
|
+ (*TransactionOperation_TransactionBeginRequest)(nil),
|
|
|
+ (*TransactionOperation_InsertRequest)(nil),
|
|
|
+ (*TransactionOperation_DeleteRequest)(nil),
|
|
|
+ (*TransactionOperation_UpdateRequest)(nil),
|
|
|
+ (*TransactionOperation_TransactionEndRequest)(nil),
|
|
|
+ }
|
|
|
+ type x struct{}
|
|
|
+ out := protoimpl.TypeBuilder{
|
|
|
+ File: protoimpl.DescBuilder{
|
|
|
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
+ RawDescriptor: file_v1_request_command_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 8,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 0,
|
|
|
+ },
|
|
|
+ GoTypes: file_v1_request_command_proto_goTypes,
|
|
|
+ DependencyIndexes: file_v1_request_command_proto_depIdxs,
|
|
|
+ MessageInfos: file_v1_request_command_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_v1_request_command_proto = out.File
|
|
|
+ file_v1_request_command_proto_rawDesc = nil
|
|
|
+ file_v1_request_command_proto_goTypes = nil
|
|
|
+ file_v1_request_command_proto_depIdxs = nil
|
|
|
+}
|