sql.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.12.4
  5. // source: v1/request/sql.proto
  6. package request
  7. import (
  8. _ "github.com/mwitkow/go-proto-validators"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type TransactionBeginRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
  25. Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
  26. DataSource string `protobuf:"bytes,3,opt,name=DataSource,proto3" json:"DataSource,omitempty"`
  27. }
  28. func (x *TransactionBeginRequest) Reset() {
  29. *x = TransactionBeginRequest{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_v1_request_sql_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *TransactionBeginRequest) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*TransactionBeginRequest) ProtoMessage() {}
  40. func (x *TransactionBeginRequest) ProtoReflect() protoreflect.Message {
  41. mi := &file_v1_request_sql_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use TransactionBeginRequest.ProtoReflect.Descriptor instead.
  52. func (*TransactionBeginRequest) Descriptor() ([]byte, []int) {
  53. return file_v1_request_sql_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *TransactionBeginRequest) GetToken() string {
  56. if x != nil {
  57. return x.Token
  58. }
  59. return ""
  60. }
  61. func (x *TransactionBeginRequest) GetNamespace() string {
  62. if x != nil {
  63. return x.Namespace
  64. }
  65. return ""
  66. }
  67. func (x *TransactionBeginRequest) GetDataSource() string {
  68. if x != nil {
  69. return x.DataSource
  70. }
  71. return ""
  72. }
  73. type TransactionEndRequest struct {
  74. state protoimpl.MessageState
  75. sizeCache protoimpl.SizeCache
  76. unknownFields protoimpl.UnknownFields
  77. }
  78. func (x *TransactionEndRequest) Reset() {
  79. *x = TransactionEndRequest{}
  80. if protoimpl.UnsafeEnabled {
  81. mi := &file_v1_request_sql_proto_msgTypes[1]
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. ms.StoreMessageInfo(mi)
  84. }
  85. }
  86. func (x *TransactionEndRequest) String() string {
  87. return protoimpl.X.MessageStringOf(x)
  88. }
  89. func (*TransactionEndRequest) ProtoMessage() {}
  90. func (x *TransactionEndRequest) ProtoReflect() protoreflect.Message {
  91. mi := &file_v1_request_sql_proto_msgTypes[1]
  92. if protoimpl.UnsafeEnabled && x != nil {
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. if ms.LoadMessageInfo() == nil {
  95. ms.StoreMessageInfo(mi)
  96. }
  97. return ms
  98. }
  99. return mi.MessageOf(x)
  100. }
  101. // Deprecated: Use TransactionEndRequest.ProtoReflect.Descriptor instead.
  102. func (*TransactionEndRequest) Descriptor() ([]byte, []int) {
  103. return file_v1_request_sql_proto_rawDescGZIP(), []int{1}
  104. }
  105. type ExecuteRawSqlRequest struct {
  106. state protoimpl.MessageState
  107. sizeCache protoimpl.SizeCache
  108. unknownFields protoimpl.UnknownFields
  109. SQL string `protobuf:"bytes,1,opt,name=SQL,proto3" json:"SQL,omitempty"`
  110. ExecuteParams string `protobuf:"bytes,2,opt,name=ExecuteParams,proto3" json:"ExecuteParams,omitempty"`
  111. }
  112. func (x *ExecuteRawSqlRequest) Reset() {
  113. *x = ExecuteRawSqlRequest{}
  114. if protoimpl.UnsafeEnabled {
  115. mi := &file_v1_request_sql_proto_msgTypes[2]
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. ms.StoreMessageInfo(mi)
  118. }
  119. }
  120. func (x *ExecuteRawSqlRequest) String() string {
  121. return protoimpl.X.MessageStringOf(x)
  122. }
  123. func (*ExecuteRawSqlRequest) ProtoMessage() {}
  124. func (x *ExecuteRawSqlRequest) ProtoReflect() protoreflect.Message {
  125. mi := &file_v1_request_sql_proto_msgTypes[2]
  126. if protoimpl.UnsafeEnabled && x != nil {
  127. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  128. if ms.LoadMessageInfo() == nil {
  129. ms.StoreMessageInfo(mi)
  130. }
  131. return ms
  132. }
  133. return mi.MessageOf(x)
  134. }
  135. // Deprecated: Use ExecuteRawSqlRequest.ProtoReflect.Descriptor instead.
  136. func (*ExecuteRawSqlRequest) Descriptor() ([]byte, []int) {
  137. return file_v1_request_sql_proto_rawDescGZIP(), []int{2}
  138. }
  139. func (x *ExecuteRawSqlRequest) GetSQL() string {
  140. if x != nil {
  141. return x.SQL
  142. }
  143. return ""
  144. }
  145. func (x *ExecuteRawSqlRequest) GetExecuteParams() string {
  146. if x != nil {
  147. return x.ExecuteParams
  148. }
  149. return ""
  150. }
  151. type ExecuteSqlRequest struct {
  152. state protoimpl.MessageState
  153. sizeCache protoimpl.SizeCache
  154. unknownFields protoimpl.UnknownFields
  155. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  156. ExecuteParams string `protobuf:"bytes,2,opt,name=ExecuteParams,proto3" json:"ExecuteParams,omitempty"`
  157. }
  158. func (x *ExecuteSqlRequest) Reset() {
  159. *x = ExecuteSqlRequest{}
  160. if protoimpl.UnsafeEnabled {
  161. mi := &file_v1_request_sql_proto_msgTypes[3]
  162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  163. ms.StoreMessageInfo(mi)
  164. }
  165. }
  166. func (x *ExecuteSqlRequest) String() string {
  167. return protoimpl.X.MessageStringOf(x)
  168. }
  169. func (*ExecuteSqlRequest) ProtoMessage() {}
  170. func (x *ExecuteSqlRequest) ProtoReflect() protoreflect.Message {
  171. mi := &file_v1_request_sql_proto_msgTypes[3]
  172. if protoimpl.UnsafeEnabled && x != nil {
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. if ms.LoadMessageInfo() == nil {
  175. ms.StoreMessageInfo(mi)
  176. }
  177. return ms
  178. }
  179. return mi.MessageOf(x)
  180. }
  181. // Deprecated: Use ExecuteSqlRequest.ProtoReflect.Descriptor instead.
  182. func (*ExecuteSqlRequest) Descriptor() ([]byte, []int) {
  183. return file_v1_request_sql_proto_rawDescGZIP(), []int{3}
  184. }
  185. func (x *ExecuteSqlRequest) GetName() string {
  186. if x != nil {
  187. return x.Name
  188. }
  189. return ""
  190. }
  191. func (x *ExecuteSqlRequest) GetExecuteParams() string {
  192. if x != nil {
  193. return x.ExecuteParams
  194. }
  195. return ""
  196. }
  197. type TransactionOperation struct {
  198. state protoimpl.MessageState
  199. sizeCache protoimpl.SizeCache
  200. unknownFields protoimpl.UnknownFields
  201. // Types that are assignable to Request:
  202. //
  203. // *TransactionOperation_TransactionBeginRequest
  204. // *TransactionOperation_TransactionEndRequest
  205. // *TransactionOperation_ExecuteRawSqlRequest
  206. // *TransactionOperation_ExecuteSqlRequest
  207. Request isTransactionOperation_Request `protobuf_oneof:"Request"`
  208. }
  209. func (x *TransactionOperation) Reset() {
  210. *x = TransactionOperation{}
  211. if protoimpl.UnsafeEnabled {
  212. mi := &file_v1_request_sql_proto_msgTypes[4]
  213. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  214. ms.StoreMessageInfo(mi)
  215. }
  216. }
  217. func (x *TransactionOperation) String() string {
  218. return protoimpl.X.MessageStringOf(x)
  219. }
  220. func (*TransactionOperation) ProtoMessage() {}
  221. func (x *TransactionOperation) ProtoReflect() protoreflect.Message {
  222. mi := &file_v1_request_sql_proto_msgTypes[4]
  223. if protoimpl.UnsafeEnabled && x != nil {
  224. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  225. if ms.LoadMessageInfo() == nil {
  226. ms.StoreMessageInfo(mi)
  227. }
  228. return ms
  229. }
  230. return mi.MessageOf(x)
  231. }
  232. // Deprecated: Use TransactionOperation.ProtoReflect.Descriptor instead.
  233. func (*TransactionOperation) Descriptor() ([]byte, []int) {
  234. return file_v1_request_sql_proto_rawDescGZIP(), []int{4}
  235. }
  236. func (m *TransactionOperation) GetRequest() isTransactionOperation_Request {
  237. if m != nil {
  238. return m.Request
  239. }
  240. return nil
  241. }
  242. func (x *TransactionOperation) GetTransactionBeginRequest() *TransactionBeginRequest {
  243. if x, ok := x.GetRequest().(*TransactionOperation_TransactionBeginRequest); ok {
  244. return x.TransactionBeginRequest
  245. }
  246. return nil
  247. }
  248. func (x *TransactionOperation) GetTransactionEndRequest() *TransactionEndRequest {
  249. if x, ok := x.GetRequest().(*TransactionOperation_TransactionEndRequest); ok {
  250. return x.TransactionEndRequest
  251. }
  252. return nil
  253. }
  254. func (x *TransactionOperation) GetExecuteRawSqlRequest() *ExecuteRawSqlRequest {
  255. if x, ok := x.GetRequest().(*TransactionOperation_ExecuteRawSqlRequest); ok {
  256. return x.ExecuteRawSqlRequest
  257. }
  258. return nil
  259. }
  260. func (x *TransactionOperation) GetExecuteSqlRequest() *ExecuteSqlRequest {
  261. if x, ok := x.GetRequest().(*TransactionOperation_ExecuteSqlRequest); ok {
  262. return x.ExecuteSqlRequest
  263. }
  264. return nil
  265. }
  266. type isTransactionOperation_Request interface {
  267. isTransactionOperation_Request()
  268. }
  269. type TransactionOperation_TransactionBeginRequest struct {
  270. TransactionBeginRequest *TransactionBeginRequest `protobuf:"bytes,1,opt,name=TransactionBeginRequest,proto3,oneof"`
  271. }
  272. type TransactionOperation_TransactionEndRequest struct {
  273. TransactionEndRequest *TransactionEndRequest `protobuf:"bytes,2,opt,name=TransactionEndRequest,proto3,oneof"`
  274. }
  275. type TransactionOperation_ExecuteRawSqlRequest struct {
  276. ExecuteRawSqlRequest *ExecuteRawSqlRequest `protobuf:"bytes,3,opt,name=ExecuteRawSqlRequest,proto3,oneof"`
  277. }
  278. type TransactionOperation_ExecuteSqlRequest struct {
  279. ExecuteSqlRequest *ExecuteSqlRequest `protobuf:"bytes,4,opt,name=ExecuteSqlRequest,proto3,oneof"`
  280. }
  281. func (*TransactionOperation_TransactionBeginRequest) isTransactionOperation_Request() {}
  282. func (*TransactionOperation_TransactionEndRequest) isTransactionOperation_Request() {}
  283. func (*TransactionOperation_ExecuteRawSqlRequest) isTransactionOperation_Request() {}
  284. func (*TransactionOperation_ExecuteSqlRequest) isTransactionOperation_Request() {}
  285. var File_v1_request_sql_proto protoreflect.FileDescriptor
  286. var file_v1_request_sql_proto_rawDesc = []byte{
  287. 0x0a, 0x14, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x73, 0x71, 0x6c,
  288. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  289. 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x77, 0x69, 0x74,
  290. 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76, 0x61, 0x6c,
  291. 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
  292. 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x01, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e,
  293. 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
  294. 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
  295. 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65,
  296. 0x6e, 0x12, 0x24, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02,
  297. 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x09, 0x4e, 0x61,
  298. 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53,
  299. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
  300. 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
  301. 0x17, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e,
  302. 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63,
  303. 0x75, 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  304. 0x12, 0x18, 0x0a, 0x03, 0x53, 0x51, 0x4c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
  305. 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x03, 0x53, 0x51, 0x4c, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78,
  306. 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
  307. 0x09, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
  308. 0x22, 0x55, 0x0a, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65,
  309. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  310. 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x4e, 0x61, 0x6d,
  311. 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61,
  312. 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
  313. 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xf8, 0x02, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e,
  314. 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  315. 0x12, 0x5c, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42,
  316. 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  317. 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e,
  318. 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75,
  319. 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
  320. 0x6f, 0x6e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56,
  321. 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64,
  322. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
  323. 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
  324. 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52,
  325. 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x52,
  326. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
  327. 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03,
  328. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45,
  329. 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x61, 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75,
  330. 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x14, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x61,
  331. 0x77, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x11, 0x45,
  332. 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  333. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  334. 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
  335. 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x53, 0x71, 0x6c,
  336. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
  337. 0x73, 0x74, 0x42, 0x1f, 0x5a, 0x1d, 0x64, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70,
  338. 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75,
  339. 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  340. }
  341. var (
  342. file_v1_request_sql_proto_rawDescOnce sync.Once
  343. file_v1_request_sql_proto_rawDescData = file_v1_request_sql_proto_rawDesc
  344. )
  345. func file_v1_request_sql_proto_rawDescGZIP() []byte {
  346. file_v1_request_sql_proto_rawDescOnce.Do(func() {
  347. file_v1_request_sql_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_request_sql_proto_rawDescData)
  348. })
  349. return file_v1_request_sql_proto_rawDescData
  350. }
  351. var file_v1_request_sql_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  352. var file_v1_request_sql_proto_goTypes = []interface{}{
  353. (*TransactionBeginRequest)(nil), // 0: request.TransactionBeginRequest
  354. (*TransactionEndRequest)(nil), // 1: request.TransactionEndRequest
  355. (*ExecuteRawSqlRequest)(nil), // 2: request.ExecuteRawSqlRequest
  356. (*ExecuteSqlRequest)(nil), // 3: request.ExecuteSqlRequest
  357. (*TransactionOperation)(nil), // 4: request.TransactionOperation
  358. }
  359. var file_v1_request_sql_proto_depIdxs = []int32{
  360. 0, // 0: request.TransactionOperation.TransactionBeginRequest:type_name -> request.TransactionBeginRequest
  361. 1, // 1: request.TransactionOperation.TransactionEndRequest:type_name -> request.TransactionEndRequest
  362. 2, // 2: request.TransactionOperation.ExecuteRawSqlRequest:type_name -> request.ExecuteRawSqlRequest
  363. 3, // 3: request.TransactionOperation.ExecuteSqlRequest:type_name -> request.ExecuteSqlRequest
  364. 4, // [4:4] is the sub-list for method output_type
  365. 4, // [4:4] is the sub-list for method input_type
  366. 4, // [4:4] is the sub-list for extension type_name
  367. 4, // [4:4] is the sub-list for extension extendee
  368. 0, // [0:4] is the sub-list for field type_name
  369. }
  370. func init() { file_v1_request_sql_proto_init() }
  371. func file_v1_request_sql_proto_init() {
  372. if File_v1_request_sql_proto != nil {
  373. return
  374. }
  375. if !protoimpl.UnsafeEnabled {
  376. file_v1_request_sql_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  377. switch v := v.(*TransactionBeginRequest); i {
  378. case 0:
  379. return &v.state
  380. case 1:
  381. return &v.sizeCache
  382. case 2:
  383. return &v.unknownFields
  384. default:
  385. return nil
  386. }
  387. }
  388. file_v1_request_sql_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  389. switch v := v.(*TransactionEndRequest); i {
  390. case 0:
  391. return &v.state
  392. case 1:
  393. return &v.sizeCache
  394. case 2:
  395. return &v.unknownFields
  396. default:
  397. return nil
  398. }
  399. }
  400. file_v1_request_sql_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  401. switch v := v.(*ExecuteRawSqlRequest); i {
  402. case 0:
  403. return &v.state
  404. case 1:
  405. return &v.sizeCache
  406. case 2:
  407. return &v.unknownFields
  408. default:
  409. return nil
  410. }
  411. }
  412. file_v1_request_sql_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  413. switch v := v.(*ExecuteSqlRequest); i {
  414. case 0:
  415. return &v.state
  416. case 1:
  417. return &v.sizeCache
  418. case 2:
  419. return &v.unknownFields
  420. default:
  421. return nil
  422. }
  423. }
  424. file_v1_request_sql_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  425. switch v := v.(*TransactionOperation); i {
  426. case 0:
  427. return &v.state
  428. case 1:
  429. return &v.sizeCache
  430. case 2:
  431. return &v.unknownFields
  432. default:
  433. return nil
  434. }
  435. }
  436. }
  437. file_v1_request_sql_proto_msgTypes[4].OneofWrappers = []interface{}{
  438. (*TransactionOperation_TransactionBeginRequest)(nil),
  439. (*TransactionOperation_TransactionEndRequest)(nil),
  440. (*TransactionOperation_ExecuteRawSqlRequest)(nil),
  441. (*TransactionOperation_ExecuteSqlRequest)(nil),
  442. }
  443. type x struct{}
  444. out := protoimpl.TypeBuilder{
  445. File: protoimpl.DescBuilder{
  446. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  447. RawDescriptor: file_v1_request_sql_proto_rawDesc,
  448. NumEnums: 0,
  449. NumMessages: 5,
  450. NumExtensions: 0,
  451. NumServices: 0,
  452. },
  453. GoTypes: file_v1_request_sql_proto_goTypes,
  454. DependencyIndexes: file_v1_request_sql_proto_depIdxs,
  455. MessageInfos: file_v1_request_sql_proto_msgTypes,
  456. }.Build()
  457. File_v1_request_sql_proto = out.File
  458. file_v1_request_sql_proto_rawDesc = nil
  459. file_v1_request_sql_proto_goTypes = nil
  460. file_v1_request_sql_proto_depIdxs = nil
  461. }