|
|
@@ -31,7 +31,7 @@ var file_v1_command_proto_rawDesc = []byte{
|
|
|
0x1a, 0x19, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x63, 0x6f,
|
|
|
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f,
|
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70,
|
|
|
- 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xf2, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,
|
|
|
+ 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xc4, 0x05, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,
|
|
|
0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x41,
|
|
|
0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71,
|
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
|
|
|
@@ -57,22 +57,28 @@ var file_v1_command_proto_rawDesc = []byte{
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x44,
|
|
|
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71,
|
|
|
- 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68,
|
|
|
+ 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x68, 0x65, 0x72, 0x65,
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
|
|
|
- 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a,
|
|
|
- 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
- 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
- 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
|
|
- 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
- 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x79, 0x12,
|
|
|
- 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x79,
|
|
|
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
- 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
|
|
|
- 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x18, 0x5a,
|
|
|
- 0x16, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70,
|
|
|
- 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a,
|
|
|
+ 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1b, 0x2e, 0x72,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x74,
|
|
|
+ 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74,
|
|
|
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
|
+ 0x46, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75,
|
|
|
+ 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d,
|
|
|
+ 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6c, 0x61,
|
|
|
+ 0x79, 0x12, 0x16, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6c,
|
|
|
+ 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x72, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74,
|
|
|
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
|
|
|
+ 0x18, 0x5a, 0x16, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f,
|
|
|
+ 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x33,
|
|
|
}
|
|
|
|
|
|
var file_v1_command_proto_goTypes = []interface{}{
|
|
|
@@ -81,34 +87,37 @@ var file_v1_command_proto_goTypes = []interface{}{
|
|
|
(*request.InsertRequest)(nil), // 2: request.InsertRequest
|
|
|
(*request.InsertBatchRequest)(nil), // 3: request.InsertBatchRequest
|
|
|
(*request.DeleteRequest)(nil), // 4: request.DeleteRequest
|
|
|
- (*request.DeleteBatchRequest)(nil), // 5: request.DeleteBatchRequest
|
|
|
- (*request.UpdateRequest)(nil), // 6: request.UpdateRequest
|
|
|
- (*request.ReplayRequest)(nil), // 7: request.ReplayRequest
|
|
|
- (*empty.Empty)(nil), // 8: google.protobuf.Empty
|
|
|
- (*response.CommandStatementResponse)(nil), // 9: response.CommandStatementResponse
|
|
|
+ (*request.DeleteWhereRequest)(nil), // 5: request.DeleteWhereRequest
|
|
|
+ (*request.DeleteBatchRequest)(nil), // 6: request.DeleteBatchRequest
|
|
|
+ (*request.UpdateRequest)(nil), // 7: request.UpdateRequest
|
|
|
+ (*request.ReplayRequest)(nil), // 8: request.ReplayRequest
|
|
|
+ (*empty.Empty)(nil), // 9: google.protobuf.Empty
|
|
|
+ (*response.CommandStatementResponse)(nil), // 10: response.CommandStatementResponse
|
|
|
}
|
|
|
var file_v1_command_proto_depIdxs = []int32{
|
|
|
- 0, // 0: v1.CommandService.AutoMigrate:input_type -> request.AutoMigrateRequest
|
|
|
- 1, // 1: v1.CommandService.Transaction:input_type -> request.TransactionOperation
|
|
|
- 2, // 2: v1.CommandService.Insert:input_type -> request.InsertRequest
|
|
|
- 3, // 3: v1.CommandService.InsertBatch:input_type -> request.InsertBatchRequest
|
|
|
- 4, // 4: v1.CommandService.Delete:input_type -> request.DeleteRequest
|
|
|
- 5, // 5: v1.CommandService.DeleteBatch:input_type -> request.DeleteBatchRequest
|
|
|
- 6, // 6: v1.CommandService.Update:input_type -> request.UpdateRequest
|
|
|
- 7, // 7: v1.CommandService.Replay:input_type -> request.ReplayRequest
|
|
|
- 8, // 8: v1.CommandService.AutoMigrate:output_type -> google.protobuf.Empty
|
|
|
- 9, // 9: v1.CommandService.Transaction:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 10: v1.CommandService.Insert:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 11: v1.CommandService.InsertBatch:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 12: v1.CommandService.Delete:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 13: v1.CommandService.DeleteBatch:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 14: v1.CommandService.Update:output_type -> response.CommandStatementResponse
|
|
|
- 9, // 15: v1.CommandService.Replay:output_type -> response.CommandStatementResponse
|
|
|
- 8, // [8:16] is the sub-list for method output_type
|
|
|
- 0, // [0:8] 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
|
|
|
+ 0, // 0: v1.CommandService.AutoMigrate:input_type -> request.AutoMigrateRequest
|
|
|
+ 1, // 1: v1.CommandService.Transaction:input_type -> request.TransactionOperation
|
|
|
+ 2, // 2: v1.CommandService.Insert:input_type -> request.InsertRequest
|
|
|
+ 3, // 3: v1.CommandService.InsertBatch:input_type -> request.InsertBatchRequest
|
|
|
+ 4, // 4: v1.CommandService.Delete:input_type -> request.DeleteRequest
|
|
|
+ 5, // 5: v1.CommandService.DeleteWhere:input_type -> request.DeleteWhereRequest
|
|
|
+ 6, // 6: v1.CommandService.DeleteBatch:input_type -> request.DeleteBatchRequest
|
|
|
+ 7, // 7: v1.CommandService.Update:input_type -> request.UpdateRequest
|
|
|
+ 8, // 8: v1.CommandService.Replay:input_type -> request.ReplayRequest
|
|
|
+ 9, // 9: v1.CommandService.AutoMigrate:output_type -> google.protobuf.Empty
|
|
|
+ 10, // 10: v1.CommandService.Transaction:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 11: v1.CommandService.Insert:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 12: v1.CommandService.InsertBatch:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 13: v1.CommandService.Delete:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 14: v1.CommandService.DeleteWhere:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 15: v1.CommandService.DeleteBatch:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 16: v1.CommandService.Update:output_type -> response.CommandStatementResponse
|
|
|
+ 10, // 17: v1.CommandService.Replay:output_type -> response.CommandStatementResponse
|
|
|
+ 9, // [9:18] is the sub-list for method output_type
|
|
|
+ 0, // [0:9] 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_v1_command_proto_init() }
|