|
@@ -31,17 +31,12 @@ var file_v1_command_proto_rawDesc = []byte{
|
|
|
0x1a, 0x19, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x63, 0x6f,
|
|
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,
|
|
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,
|
|
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, 0xc2, 0x05, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,
|
|
|
|
|
|
|
+ 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xf2, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6d,
|
|
|
0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x41,
|
|
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, 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,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
|
|
|
- 0x00, 0x12, 0x4e, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
|
|
|
|
|
- 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
|
|
|
- 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68,
|
|
|
|
|
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
|
|
|
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
|
|
|
|
|
0x00, 0x12, 0x56, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x00, 0x12, 0x56, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
0x12, 0x1d, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
|
|
0x12, 0x1d, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
|
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
|
|
@@ -82,41 +77,38 @@ var file_v1_command_proto_rawDesc = []byte{
|
|
|
|
|
|
|
|
var file_v1_command_proto_goTypes = []interface{}{
|
|
var file_v1_command_proto_goTypes = []interface{}{
|
|
|
(*request.AutoMigrateRequest)(nil), // 0: request.AutoMigrateRequest
|
|
(*request.AutoMigrateRequest)(nil), // 0: request.AutoMigrateRequest
|
|
|
- (*request.AutoMigrateBatchRequest)(nil), // 1: request.AutoMigrateBatchRequest
|
|
|
|
|
- (*request.TransactionOperation)(nil), // 2: request.TransactionOperation
|
|
|
|
|
- (*request.InsertRequest)(nil), // 3: request.InsertRequest
|
|
|
|
|
- (*request.InsertBatchRequest)(nil), // 4: request.InsertBatchRequest
|
|
|
|
|
- (*request.DeleteRequest)(nil), // 5: request.DeleteRequest
|
|
|
|
|
- (*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
|
|
|
|
|
|
|
+ (*request.TransactionOperation)(nil), // 1: request.TransactionOperation
|
|
|
|
|
+ (*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
|
|
|
}
|
|
}
|
|
|
var file_v1_command_proto_depIdxs = []int32{
|
|
var file_v1_command_proto_depIdxs = []int32{
|
|
|
- 0, // 0: v1.CommandService.AutoMigrate:input_type -> request.AutoMigrateRequest
|
|
|
|
|
- 1, // 1: v1.CommandService.AutoMigrateBatch:input_type -> request.AutoMigrateBatchRequest
|
|
|
|
|
- 2, // 2: v1.CommandService.Transaction:input_type -> request.TransactionOperation
|
|
|
|
|
- 3, // 3: v1.CommandService.Insert:input_type -> request.InsertRequest
|
|
|
|
|
- 4, // 4: v1.CommandService.InsertBatch:input_type -> request.InsertBatchRequest
|
|
|
|
|
- 5, // 5: v1.CommandService.Delete:input_type -> request.DeleteRequest
|
|
|
|
|
- 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
|
|
|
|
|
- 9, // 10: v1.CommandService.AutoMigrateBatch:output_type -> google.protobuf.Empty
|
|
|
|
|
- 10, // 11: v1.CommandService.Transaction:output_type -> response.CommandStatementResponse
|
|
|
|
|
- 10, // 12: v1.CommandService.Insert:output_type -> response.CommandStatementResponse
|
|
|
|
|
- 10, // 13: v1.CommandService.InsertBatch:output_type -> response.CommandStatementResponse
|
|
|
|
|
- 10, // 14: v1.CommandService.Delete: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
|
|
|
|
|
|
|
+ 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
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func init() { file_v1_command_proto_init() }
|
|
func init() { file_v1_command_proto_init() }
|