@ -28,6 +28,7 @@ const (
Command_COMMAND_TYPE_GET_NODE_API_URL Command_Type = 1
Command_COMMAND_TYPE_GET_NODE_API_URL Command_Type = 1
Command_COMMAND_TYPE_EXECUTE Command_Type = 2
Command_COMMAND_TYPE_EXECUTE Command_Type = 2
Command_COMMAND_TYPE_QUERY Command_Type = 3
Command_COMMAND_TYPE_QUERY Command_Type = 3
Command_COMMAND_TYPE_BACKUP Command_Type = 4
)
)
// Enum value maps for Command_Type.
// Enum value maps for Command_Type.
@ -37,12 +38,14 @@ var (
1 : "COMMAND_TYPE_GET_NODE_API_URL" ,
1 : "COMMAND_TYPE_GET_NODE_API_URL" ,
2 : "COMMAND_TYPE_EXECUTE" ,
2 : "COMMAND_TYPE_EXECUTE" ,
3 : "COMMAND_TYPE_QUERY" ,
3 : "COMMAND_TYPE_QUERY" ,
4 : "COMMAND_TYPE_BACKUP" ,
}
}
Command_Type_value = map [ string ] int32 {
Command_Type_value = map [ string ] int32 {
"COMMAND_TYPE_UNKNOWN" : 0 ,
"COMMAND_TYPE_UNKNOWN" : 0 ,
"COMMAND_TYPE_GET_NODE_API_URL" : 1 ,
"COMMAND_TYPE_GET_NODE_API_URL" : 1 ,
"COMMAND_TYPE_EXECUTE" : 2 ,
"COMMAND_TYPE_EXECUTE" : 2 ,
"COMMAND_TYPE_QUERY" : 3 ,
"COMMAND_TYPE_QUERY" : 3 ,
"COMMAND_TYPE_BACKUP" : 4 ,
}
}
)
)
@ -184,6 +187,7 @@ type Command struct {
// Types that are assignable to Request:
// Types that are assignable to Request:
// *Command_ExecuteRequest
// *Command_ExecuteRequest
// *Command_QueryRequest
// *Command_QueryRequest
// *Command_BackupRequest
Request isCommand_Request ` protobuf_oneof:"request" `
Request isCommand_Request ` protobuf_oneof:"request" `
Credentials * Credentials ` protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty" `
Credentials * Credentials ` protobuf:"bytes,4,opt,name=credentials,proto3" json:"credentials,omitempty" `
}
}
@ -248,6 +252,13 @@ func (x *Command) GetQueryRequest() *command.QueryRequest {
return nil
return nil
}
}
func ( x * Command ) GetBackupRequest ( ) * command . BackupRequest {
if x , ok := x . GetRequest ( ) . ( * Command_BackupRequest ) ; ok {
return x . BackupRequest
}
return nil
}
func ( x * Command ) GetCredentials ( ) * Credentials {
func ( x * Command ) GetCredentials ( ) * Credentials {
if x != nil {
if x != nil {
return x . Credentials
return x . Credentials
@ -267,10 +278,16 @@ type Command_QueryRequest struct {
QueryRequest * command . QueryRequest ` protobuf:"bytes,3,opt,name=query_request,json=queryRequest,proto3,oneof" `
QueryRequest * command . QueryRequest ` protobuf:"bytes,3,opt,name=query_request,json=queryRequest,proto3,oneof" `
}
}
type Command_BackupRequest struct {
BackupRequest * command . BackupRequest ` protobuf:"bytes,5,opt,name=backup_request,json=backupRequest,proto3,oneof" `
}
func ( * Command_ExecuteRequest ) isCommand_Request ( ) { }
func ( * Command_ExecuteRequest ) isCommand_Request ( ) { }
func ( * Command_QueryRequest ) isCommand_Request ( ) { }
func ( * Command_QueryRequest ) isCommand_Request ( ) { }
func ( * Command_BackupRequest ) isCommand_Request ( ) { }
type CommandExecuteResponse struct {
type CommandExecuteResponse struct {
state protoimpl . MessageState
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
sizeCache protoimpl . SizeCache
@ -381,6 +398,61 @@ func (x *CommandQueryResponse) GetRows() []*command.QueryRows {
return nil
return nil
}
}
type CommandBackupResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Error string ` protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty" `
Data [ ] byte ` protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" `
}
func ( x * CommandBackupResponse ) Reset ( ) {
* x = CommandBackupResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_message_proto_msgTypes [ 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * CommandBackupResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * CommandBackupResponse ) ProtoMessage ( ) { }
func ( x * CommandBackupResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_message_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 CommandBackupResponse.ProtoReflect.Descriptor instead.
func ( * CommandBackupResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_message_proto_rawDescGZIP ( ) , [ ] int { 5 }
}
func ( x * CommandBackupResponse ) GetError ( ) string {
if x != nil {
return x . Error
}
return ""
}
func ( x * CommandBackupResponse ) GetData ( ) [ ] byte {
if x != nil {
return x . Data
}
return nil
}
var File_message_proto protoreflect . FileDescriptor
var File_message_proto protoreflect . FileDescriptor
var file_message_proto_rawDesc = [ ] byte {
var file_message_proto_rawDesc = [ ] byte {
@ -393,7 +465,7 @@ var file_message_proto_rawDesc = []byte{
0x73 , 0x73 , 0x77 , 0x6f , 0x72 , 0x64 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x08 , 0x70 , 0x61 ,
0x73 , 0x73 , 0x77 , 0x6f , 0x72 , 0x64 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x08 , 0x70 , 0x61 ,
0x73 , 0x73 , 0x77 , 0x6f , 0x72 , 0x64 , 0x22 , 0x1b , 0x0a , 0x07 , 0x41 , 0x64 , 0x64 , 0x72 , 0x65 , 0x73 ,
0x73 , 0x73 , 0x77 , 0x6f , 0x72 , 0x64 , 0x22 , 0x1b , 0x0a , 0x07 , 0x41 , 0x64 , 0x64 , 0x72 , 0x65 , 0x73 ,
0x73 , 0x12 , 0x10 , 0x0a , 0x03 , 0x75 , 0x72 , 0x6c , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 ,
0x73 , 0x12 , 0x10 , 0x0a , 0x03 , 0x75 , 0x72 , 0x6c , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 ,
0x75 , 0x72 , 0x6c , 0x22 , 0x f0, 0x02 , 0x0a , 0x07 , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x12 ,
0x75 , 0x72 , 0x6c , 0x22 , 0x cb, 0x03 , 0x0a , 0x07 , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x12 ,
0x29 , 0x0a , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x15 , 0x2e ,
0x29 , 0x0a , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x15 , 0x2e ,
0x63 , 0x6c , 0x75 , 0x73 , 0x74 , 0x65 , 0x72 , 0x2e , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e ,
0x63 , 0x6c , 0x75 , 0x73 , 0x74 , 0x65 , 0x72 , 0x2e , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e ,
0x54 , 0x79 , 0x70 , 0x65 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 , 0x42 , 0x0a , 0x0f , 0x65 , 0x78 ,
0x54 , 0x79 , 0x70 , 0x65 , 0x52 , 0x04 , 0x74 , 0x79 , 0x70 , 0x65 , 0x12 , 0x42 , 0x0a , 0x0f , 0x65 , 0x78 ,
@ -404,33 +476,43 @@ var file_message_proto_rawDesc = []byte{
0x0a , 0x0d , 0x71 , 0x75 , 0x65 , 0x72 , 0x79 , 0x5f , 0x72 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x18 ,
0x0a , 0x0d , 0x71 , 0x75 , 0x65 , 0x72 , 0x79 , 0x5f , 0x72 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x18 ,
0x03 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e ,
0x03 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x15 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e ,
0x51 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x48 , 0x00 , 0x52 , 0x0c ,
0x51 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x48 , 0x00 , 0x52 , 0x0c ,
0x71 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x36 , 0x0a , 0x0b ,
0x71 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x3f , 0x0a , 0x0e ,
0x63 , 0x72 , 0x65 , 0x64 , 0x65 , 0x6e , 0x74 , 0x69 , 0x61 , 0x6c , 0x73 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 ,
0x62 , 0x61 , 0x63 , 0x6b , 0x75 , 0x70 , 0x5f , 0x72 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x18 , 0x05 ,
0x0b , 0x32 , 0x14 , 0x2e , 0x63 , 0x6c , 0x75 , 0x73 , 0x74 , 0x65 , 0x72 , 0x2e , 0x43 , 0x72 , 0x65 , 0x64 ,
0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e , 0x42 ,
0x65 , 0x6e , 0x74 , 0x69 , 0x61 , 0x6c , 0x73 , 0x52 , 0x0b , 0x63 , 0x72 , 0x65 , 0x64 , 0x65 , 0x6e , 0x74 ,
0x61 , 0x63 , 0x6b , 0x75 , 0x70 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x48 , 0x00 , 0x52 , 0x0d ,
0x69 , 0x61 , 0x6c , 0x73 , 0x22 , 0x75 , 0x0a , 0x04 , 0x54 , 0x79 , 0x70 , 0x65 , 0x12 , 0x18 , 0x0a , 0x14 ,
0x62 , 0x61 , 0x63 , 0x6b , 0x75 , 0x70 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x12 , 0x36 , 0x0a ,
0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x55 , 0x4e , 0x4b ,
0x0b , 0x63 , 0x72 , 0x65 , 0x64 , 0x65 , 0x6e , 0x74 , 0x69 , 0x61 , 0x6c , 0x73 , 0x18 , 0x04 , 0x20 , 0x01 ,
0x4e , 0x4f , 0x57 , 0x4e , 0x10 , 0x00 , 0x12 , 0x21 , 0x0a , 0x1d , 0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e ,
0x28 , 0x0b , 0x32 , 0x14 , 0x2e , 0x63 , 0x6c , 0x75 , 0x73 , 0x74 , 0x65 , 0x72 , 0x2e , 0x43 , 0x72 , 0x65 ,
0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x47 , 0x45 , 0x54 , 0x5f , 0x4e , 0x4f , 0x44 , 0x45 , 0x5f ,
0x64 , 0x65 , 0x6e , 0x74 , 0x69 , 0x61 , 0x6c , 0x73 , 0x52 , 0x0b , 0x63 , 0x72 , 0x65 , 0x64 , 0x65 , 0x6e ,
0x41 , 0x50 , 0x49 , 0x5f , 0x55 , 0x52 , 0x4c , 0x10 , 0x01 , 0x12 , 0x18 , 0x0a , 0x14 , 0x43 , 0x4f , 0x4d ,
0x74 , 0x69 , 0x61 , 0x6c , 0x73 , 0x22 , 0x8e , 0x01 , 0x0a , 0x04 , 0x54 , 0x79 , 0x70 , 0x65 , 0x12 , 0x18 ,
0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x45 , 0x58 , 0x45 , 0x43 , 0x55 , 0x54 ,
0x0a , 0x14 , 0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x55 ,
0x45 , 0x10 , 0x02 , 0x12 , 0x16 , 0x0a , 0x12 , 0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 ,
0x4e , 0x4b , 0x4e , 0x4f , 0x57 , 0x4e , 0x10 , 0x00 , 0x12 , 0x21 , 0x0a , 0x1d , 0x43 , 0x4f , 0x4d , 0x4d ,
0x59 , 0x50 , 0x45 , 0x5f , 0x51 , 0x55 , 0x45 , 0x52 , 0x59 , 0x10 , 0x03 , 0x42 , 0x09 , 0x0a , 0x07 , 0x72 ,
0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x47 , 0x45 , 0x54 , 0x5f , 0x4e , 0x4f , 0x44 ,
0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x22 , 0x60 , 0x0a , 0x16 , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e ,
0x45 , 0x5f , 0x41 , 0x50 , 0x49 , 0x5f , 0x55 , 0x52 , 0x4c , 0x10 , 0x01 , 0x12 , 0x18 , 0x0a , 0x14 , 0x43 ,
0x64 , 0x45 , 0x78 , 0x65 , 0x63 , 0x75 , 0x74 , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 ,
0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x45 , 0x58 , 0x45 , 0x43 ,
0x12 , 0x14 , 0x0a , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x55 , 0x54 , 0x45 , 0x10 , 0x02 , 0x12 , 0x16 , 0x0a , 0x12 , 0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 ,
0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x12 , 0x30 , 0x0a , 0x07 , 0x72 , 0x65 , 0x73 , 0x75 , 0x6c , 0x74 ,
0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x51 , 0x55 , 0x45 , 0x52 , 0x59 , 0x10 , 0x03 , 0x12 , 0x17 , 0x0a ,
0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e ,
0x13 , 0x43 , 0x4f , 0x4d , 0x4d , 0x41 , 0x4e , 0x44 , 0x5f , 0x54 , 0x59 , 0x50 , 0x45 , 0x5f , 0x42 , 0x41 ,
0x64 , 0x2e , 0x45 , 0x78 , 0x65 , 0x63 , 0x75 , 0x74 , 0x65 , 0x52 , 0x65 , 0x73 , 0x75 , 0x6c , 0x74 , 0x52 ,
0x43 , 0x4b , 0x55 , 0x50 , 0x10 , 0x04 , 0x42 , 0x09 , 0x0a , 0x07 , 0x72 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x07 , 0x72 , 0x65 , 0x73 , 0x75 , 0x6c , 0x74 , 0x73 , 0x22 , 0x54 , 0x0a , 0x14 , 0x43 , 0x6f , 0x6d , 0x6d ,
0x74 , 0x22 , 0x60 , 0x0a , 0x16 , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x45 , 0x78 , 0x65 , 0x63 ,
0x61 , 0x6e , 0x64 , 0x51 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 ,
0x75 , 0x74 , 0x65 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x65 ,
0x12 , 0x14 , 0x0a , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 ,
0x72 , 0x72 , 0x6f , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f ,
0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x12 , 0x26 , 0x0a , 0x04 , 0x72 , 0x6f , 0x77 , 0x73 , 0x18 , 0x02 ,
0x72 , 0x12 , 0x30 , 0x0a , 0x07 , 0x72 , 0x65 , 0x73 , 0x75 , 0x6c , 0x74 , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 ,
0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x12 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e , 0x51 ,
0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e , 0x45 , 0x78 , 0x65 ,
0x75 , 0x65 , 0x72 , 0x79 , 0x52 , 0x6f , 0x77 , 0x73 , 0x52 , 0x04 , 0x72 , 0x6f , 0x77 , 0x73 , 0x42 , 0x22 ,
0x63 , 0x75 , 0x74 , 0x65 , 0x52 , 0x65 , 0x73 , 0x75 , 0x6c , 0x74 , 0x52 , 0x07 , 0x72 , 0x65 , 0x73 , 0x75 ,
0x5a , 0x20 , 0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x72 , 0x71 , 0x6c ,
0x6c , 0x74 , 0x73 , 0x22 , 0x54 , 0x0a , 0x14 , 0x43 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x51 , 0x75 ,
0x69 , 0x74 , 0x65 , 0x2f , 0x72 , 0x71 , 0x6c , 0x69 , 0x74 , 0x65 , 0x2f , 0x63 , 0x6c , 0x75 , 0x73 , 0x74 ,
0x65 , 0x72 , 0x79 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x65 ,
0x65 , 0x72 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
0x72 , 0x72 , 0x6f , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f ,
0x72 , 0x12 , 0x26 , 0x0a , 0x04 , 0x72 , 0x6f , 0x77 , 0x73 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 ,
0x12 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x61 , 0x6e , 0x64 , 0x2e , 0x51 , 0x75 , 0x65 , 0x72 , 0x79 , 0x52 ,
0x6f , 0x77 , 0x73 , 0x52 , 0x04 , 0x72 , 0x6f , 0x77 , 0x73 , 0x22 , 0x41 , 0x0a , 0x15 , 0x43 , 0x6f , 0x6d ,
0x6d , 0x61 , 0x6e , 0x64 , 0x42 , 0x61 , 0x63 , 0x6b , 0x75 , 0x70 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e ,
0x73 , 0x65 , 0x12 , 0x14 , 0x0a , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x05 , 0x65 , 0x72 , 0x72 , 0x6f , 0x72 , 0x12 , 0x12 , 0x0a , 0x04 , 0x64 , 0x61 , 0x74 , 0x61 ,
0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0c , 0x52 , 0x04 , 0x64 , 0x61 , 0x74 , 0x61 , 0x42 , 0x22 , 0x5a , 0x20 ,
0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x72 , 0x71 , 0x6c , 0x69 , 0x74 ,
0x65 , 0x2f , 0x72 , 0x71 , 0x6c , 0x69 , 0x74 , 0x65 , 0x2f , 0x63 , 0x6c , 0x75 , 0x73 , 0x74 , 0x65 , 0x72 ,
0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
}
}
var (
var (
@ -446,7 +528,7 @@ func file_message_proto_rawDescGZIP() []byte {
}
}
var file_message_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 1 )
var file_message_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 1 )
var file_message_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 5 )
var file_message_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 6 )
var file_message_proto_goTypes = [ ] interface { } {
var file_message_proto_goTypes = [ ] interface { } {
( Command_Type ) ( 0 ) , // 0: cluster.Command.Type
( Command_Type ) ( 0 ) , // 0: cluster.Command.Type
( * Credentials ) ( nil ) , // 1: cluster.Credentials
( * Credentials ) ( nil ) , // 1: cluster.Credentials
@ -454,23 +536,26 @@ var file_message_proto_goTypes = []interface{}{
( * Command ) ( nil ) , // 3: cluster.Command
( * Command ) ( nil ) , // 3: cluster.Command
( * CommandExecuteResponse ) ( nil ) , // 4: cluster.CommandExecuteResponse
( * CommandExecuteResponse ) ( nil ) , // 4: cluster.CommandExecuteResponse
( * CommandQueryResponse ) ( nil ) , // 5: cluster.CommandQueryResponse
( * CommandQueryResponse ) ( nil ) , // 5: cluster.CommandQueryResponse
( * command . ExecuteRequest ) ( nil ) , // 6: command.ExecuteRequest
( * CommandBackupResponse ) ( nil ) , // 6: cluster.CommandBackupResponse
( * command . QueryRequest ) ( nil ) , // 7: command.QueryRequest
( * command . ExecuteRequest ) ( nil ) , // 7: command.ExecuteRequest
( * command . ExecuteResult ) ( nil ) , // 8: command.ExecuteResult
( * command . QueryRequest ) ( nil ) , // 8: command.QueryRequest
( * command . QueryRows ) ( nil ) , // 9: command.QueryRows
( * command . BackupRequest ) ( nil ) , // 9: command.BackupRequest
( * command . ExecuteResult ) ( nil ) , // 10: command.ExecuteResult
( * command . QueryRows ) ( nil ) , // 11: command.QueryRows
}
}
var file_message_proto_depIdxs = [ ] int32 {
var file_message_proto_depIdxs = [ ] int32 {
0 , // 0: cluster.Command.type:type_name -> cluster.Command.Type
0 , // 0: cluster.Command.type:type_name -> cluster.Command.Type
6 , // 1: cluster.Command.execute_request:type_name -> command.ExecuteRequest
7 , // 1: cluster.Command.execute_request:type_name -> command.ExecuteRequest
7 , // 2: cluster.Command.query_request:type_name -> command.QueryRequest
8 , // 2: cluster.Command.query_request:type_name -> command.QueryRequest
1 , // 3: cluster.Command.credentials:type_name -> cluster.Credentials
9 , // 3: cluster.Command.backup_request:type_name -> command.BackupRequest
8 , // 4: cluster.CommandExecuteResponse.results:type_name -> command.ExecuteResult
1 , // 4: cluster.Command.credentials:type_name -> cluster.Credentials
9 , // 5: cluster.CommandQueryResponse.rows:type_name -> command.QueryRows
10 , // 5: cluster.CommandExecuteResponse.results:type_name -> command.ExecuteResult
6 , // [6:6] is the sub-list for method output_type
11 , // 6: cluster.CommandQueryResponse.rows:type_name -> command.QueryRows
6 , // [6:6] is the sub-list for method input_type
7 , // [7:7] is the sub-list for method output_type
6 , // [6:6] is the sub-list for extension type_name
7 , // [7:7] is the sub-list for method input_type
6 , // [6:6] is the sub-list for extension extendee
7 , // [7:7] is the sub-list for extension type_name
0 , // [0:6] is the sub-list for field 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_message_proto_init ( ) }
func init ( ) { file_message_proto_init ( ) }
@ -539,10 +624,23 @@ func file_message_proto_init() {
return nil
return nil
}
}
}
}
file_message_proto_msgTypes [ 5 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * CommandBackupResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
}
file_message_proto_msgTypes [ 2 ] . OneofWrappers = [ ] interface { } {
file_message_proto_msgTypes [ 2 ] . OneofWrappers = [ ] interface { } {
( * Command_ExecuteRequest ) ( nil ) ,
( * Command_ExecuteRequest ) ( nil ) ,
( * Command_QueryRequest ) ( nil ) ,
( * Command_QueryRequest ) ( nil ) ,
( * Command_BackupRequest ) ( nil ) ,
}
}
type x struct { }
type x struct { }
out := protoimpl . TypeBuilder {
out := protoimpl . TypeBuilder {
@ -550,7 +648,7 @@ func file_message_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_message_proto_rawDesc ,
RawDescriptor : file_message_proto_rawDesc ,
NumEnums : 1 ,
NumEnums : 1 ,
NumMessages : 5 ,
NumMessages : 6 ,
NumExtensions : 0 ,
NumExtensions : 0 ,
NumServices : 0 ,
NumServices : 0 ,
} ,
} ,