|
@@ -122,116 +122,6 @@ func (*TransactionEndRequest) Descriptor() ([]byte, []int) {
|
|
|
return file_v1_request_sql_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
|
|
|
|
-type ExecuteRawSqlRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- SQL string `protobuf:"bytes,1,opt,name=SQL,proto3" json:"SQL,omitempty"`
|
|
|
- ExecuteParams string `protobuf:"bytes,2,opt,name=ExecuteParams,proto3" json:"ExecuteParams,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteRawSqlRequest) Reset() {
|
|
|
- *x = ExecuteRawSqlRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_v1_request_sql_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteRawSqlRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*ExecuteRawSqlRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *ExecuteRawSqlRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_v1_request_sql_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)
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-func (*ExecuteRawSqlRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_v1_request_sql_proto_rawDescGZIP(), []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteRawSqlRequest) GetSQL() string {
|
|
|
- if x != nil {
|
|
|
- return x.SQL
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteRawSqlRequest) GetExecuteParams() string {
|
|
|
- if x != nil {
|
|
|
- return x.ExecuteParams
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type ExecuteSqlRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
- ExecuteParams string `protobuf:"bytes,2,opt,name=ExecuteParams,proto3" json:"ExecuteParams,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteSqlRequest) Reset() {
|
|
|
- *x = ExecuteSqlRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_v1_request_sql_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteSqlRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*ExecuteSqlRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *ExecuteSqlRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_v1_request_sql_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)
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-func (*ExecuteSqlRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_v1_request_sql_proto_rawDescGZIP(), []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteSqlRequest) GetName() string {
|
|
|
- if x != nil {
|
|
|
- return x.Name
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *ExecuteSqlRequest) GetExecuteParams() string {
|
|
|
- if x != nil {
|
|
|
- return x.ExecuteParams
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
type TransactionOperation struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -241,15 +131,14 @@ type TransactionOperation struct {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
Request isTransactionOperation_Request `protobuf_oneof:"Request"`
|
|
|
}
|
|
|
|
|
|
func (x *TransactionOperation) Reset() {
|
|
|
*x = TransactionOperation{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_v1_request_sql_proto_msgTypes[4]
|
|
|
+ mi := &file_v1_request_sql_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -262,7 +151,7 @@ func (x *TransactionOperation) String() string {
|
|
|
func (*TransactionOperation) ProtoMessage() {}
|
|
|
|
|
|
func (x *TransactionOperation) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_v1_request_sql_proto_msgTypes[4]
|
|
|
+ mi := &file_v1_request_sql_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -275,7 +164,7 @@ func (x *TransactionOperation) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
func (*TransactionOperation) Descriptor() ([]byte, []int) {
|
|
|
- return file_v1_request_sql_proto_rawDescGZIP(), []int{4}
|
|
|
+ return file_v1_request_sql_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
func (m *TransactionOperation) GetRequest() isTransactionOperation_Request {
|
|
@@ -299,18 +188,11 @@ func (x *TransactionOperation) GetTransactionEndRequest() *TransactionEndRequest
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
-func (x *TransactionOperation) GetExecuteRawSqlRequest() *ExecuteRawSqlRequest {
|
|
|
- if x, ok := x.GetRequest().(*TransactionOperation_ExecuteRawSqlRequest); ok {
|
|
|
- return x.ExecuteRawSqlRequest
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *TransactionOperation) GetExecuteSqlRequest() *ExecuteSqlRequest {
|
|
|
- if x, ok := x.GetRequest().(*TransactionOperation_ExecuteSqlRequest); ok {
|
|
|
- return x.ExecuteSqlRequest
|
|
|
+func (x *TransactionOperation) GetExecuteRawSqlJsonRequest() string {
|
|
|
+ if x, ok := x.GetRequest().(*TransactionOperation_ExecuteRawSqlJsonRequest); ok {
|
|
|
+ return x.ExecuteRawSqlJsonRequest
|
|
|
}
|
|
|
- return nil
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
type isTransactionOperation_Request interface {
|
|
@@ -325,21 +207,15 @@ type TransactionOperation_TransactionEndRequest struct {
|
|
|
TransactionEndRequest *TransactionEndRequest `protobuf:"bytes,2,opt,name=TransactionEndRequest,proto3,oneof"`
|
|
|
}
|
|
|
|
|
|
-type TransactionOperation_ExecuteRawSqlRequest struct {
|
|
|
- ExecuteRawSqlRequest *ExecuteRawSqlRequest `protobuf:"bytes,3,opt,name=ExecuteRawSqlRequest,proto3,oneof"`
|
|
|
-}
|
|
|
-
|
|
|
-type TransactionOperation_ExecuteSqlRequest struct {
|
|
|
- ExecuteSqlRequest *ExecuteSqlRequest `protobuf:"bytes,4,opt,name=ExecuteSqlRequest,proto3,oneof"`
|
|
|
+type TransactionOperation_ExecuteRawSqlJsonRequest struct {
|
|
|
+ ExecuteRawSqlJsonRequest string `protobuf:"bytes,3,opt,name=ExecuteRawSqlJsonRequest,proto3,oneof"`
|
|
|
}
|
|
|
|
|
|
func (*TransactionOperation_TransactionBeginRequest) isTransactionOperation_Request() {}
|
|
|
|
|
|
func (*TransactionOperation_TransactionEndRequest) isTransactionOperation_Request() {}
|
|
|
|
|
|
-func (*TransactionOperation_ExecuteRawSqlRequest) isTransactionOperation_Request() {}
|
|
|
-
|
|
|
-func (*TransactionOperation_ExecuteSqlRequest) isTransactionOperation_Request() {}
|
|
|
+func (*TransactionOperation_ExecuteRawSqlJsonRequest) isTransactionOperation_Request() {}
|
|
|
|
|
|
var File_v1_request_sql_proto protoreflect.FileDescriptor
|
|
|
|
|
@@ -359,44 +235,27 @@ var file_v1_request_sql_proto_rawDesc = []byte{
|
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
|
|
|
0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x22, 0x56, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63,
|
|
|
- 0x75, 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
- 0x12, 0x18, 0x0a, 0x03, 0x53, 0x51, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
|
|
|
- 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x03, 0x53, 0x51, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78,
|
|
|
- 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
|
- 0x22, 0x55, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65,
|
|
|
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x4e, 0x61, 0x6d,
|
|
|
- 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61,
|
|
|
- 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
|
|
|
- 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xf8, 0x02, 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, 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, 0x02, 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, 0x12, 0x53, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
|
|
|
- 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03,
|
|
|
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45,
|
|
|
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75,
|
|
|
- 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x61,
|
|
|
- 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x11, 0x45,
|
|
|
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
- 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
- 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c,
|
|
|
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
- 0x73, 0x74, 0x42, 0x1f, 0x5a, 0x1d, 0x64, 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,
|
|
|
+ 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x02, 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,
|
|
|
+ 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, 0x02, 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, 0x12, 0x3c, 0x0a, 0x18, 0x45, 0x78, 0x65, 0x63, 0x75,
|
|
|
+ 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
|
+ 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x18, 0x45, 0x78, 0x65,
|
|
|
+ 0x63, 0x75, 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x42, 0x1b, 0x5a, 0x19, 0x64, 0x73, 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 (
|
|
@@ -411,24 +270,20 @@ func file_v1_request_sql_proto_rawDescGZIP() []byte {
|
|
|
return file_v1_request_sql_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_v1_request_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
+var file_v1_request_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
|
var file_v1_request_sql_proto_goTypes = []interface{}{
|
|
|
(*TransactionBeginRequest)(nil),
|
|
|
(*TransactionEndRequest)(nil),
|
|
|
- (*ExecuteRawSqlRequest)(nil),
|
|
|
- (*ExecuteSqlRequest)(nil),
|
|
|
- (*TransactionOperation)(nil),
|
|
|
+ (*TransactionOperation)(nil),
|
|
|
}
|
|
|
var file_v1_request_sql_proto_depIdxs = []int32{
|
|
|
0,
|
|
|
1,
|
|
|
- 2,
|
|
|
- 3,
|
|
|
- 4,
|
|
|
- 4,
|
|
|
- 4,
|
|
|
- 4,
|
|
|
- 0,
|
|
|
+ 2,
|
|
|
+ 2,
|
|
|
+ 2,
|
|
|
+ 2,
|
|
|
+ 0,
|
|
|
}
|
|
|
|
|
|
func init() { file_v1_request_sql_proto_init() }
|
|
@@ -462,30 +317,6 @@ func file_v1_request_sql_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_v1_request_sql_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*ExecuteRawSqlRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_v1_request_sql_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*ExecuteSqlRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_v1_request_sql_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*TransactionOperation); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -498,11 +329,10 @@ func file_v1_request_sql_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- file_v1_request_sql_proto_msgTypes[4].OneofWrappers = []interface{}{
|
|
|
+ file_v1_request_sql_proto_msgTypes[2].OneofWrappers = []interface{}{
|
|
|
(*TransactionOperation_TransactionBeginRequest)(nil),
|
|
|
(*TransactionOperation_TransactionEndRequest)(nil),
|
|
|
- (*TransactionOperation_ExecuteRawSqlRequest)(nil),
|
|
|
- (*TransactionOperation_ExecuteSqlRequest)(nil),
|
|
|
+ (*TransactionOperation_ExecuteRawSqlJsonRequest)(nil),
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -510,7 +340,7 @@ func file_v1_request_sql_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_v1_request_sql_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 5,
|
|
|
+ NumMessages: 3,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|