query.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895
  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/query.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 QueryByWhereAndOrderByRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  25. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  26. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  27. Select string `protobuf:"bytes,4,opt,name=Select,proto3" json:"Select,omitempty"`
  28. Where []byte `protobuf:"bytes,5,opt,name=Where,proto3" json:"Where,omitempty"`
  29. OrderBy []string `protobuf:"bytes,6,rep,name=OrderBy,proto3" json:"OrderBy,omitempty"`
  30. PageNo int32 `protobuf:"varint,7,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  31. PageSize int32 `protobuf:"varint,8,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
  32. }
  33. func (x *QueryByWhereAndOrderByRequest) Reset() {
  34. *x = QueryByWhereAndOrderByRequest{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_v1_request_query_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *QueryByWhereAndOrderByRequest) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*QueryByWhereAndOrderByRequest) ProtoMessage() {}
  45. func (x *QueryByWhereAndOrderByRequest) ProtoReflect() protoreflect.Message {
  46. mi := &file_v1_request_query_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use QueryByWhereAndOrderByRequest.ProtoReflect.Descriptor instead.
  57. func (*QueryByWhereAndOrderByRequest) Descriptor() ([]byte, []int) {
  58. return file_v1_request_query_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *QueryByWhereAndOrderByRequest) GetDatabaseID() string {
  61. if x != nil {
  62. return x.DatabaseID
  63. }
  64. return ""
  65. }
  66. func (x *QueryByWhereAndOrderByRequest) GetTablePrefixWithSchema() string {
  67. if x != nil {
  68. return x.TablePrefixWithSchema
  69. }
  70. return ""
  71. }
  72. func (x *QueryByWhereAndOrderByRequest) GetVersion() string {
  73. if x != nil {
  74. return x.Version
  75. }
  76. return ""
  77. }
  78. func (x *QueryByWhereAndOrderByRequest) GetSelect() string {
  79. if x != nil {
  80. return x.Select
  81. }
  82. return ""
  83. }
  84. func (x *QueryByWhereAndOrderByRequest) GetWhere() []byte {
  85. if x != nil {
  86. return x.Where
  87. }
  88. return nil
  89. }
  90. func (x *QueryByWhereAndOrderByRequest) GetOrderBy() []string {
  91. if x != nil {
  92. return x.OrderBy
  93. }
  94. return nil
  95. }
  96. func (x *QueryByWhereAndOrderByRequest) GetPageNo() int32 {
  97. if x != nil {
  98. return x.PageNo
  99. }
  100. return 0
  101. }
  102. func (x *QueryByWhereAndOrderByRequest) GetPageSize() int32 {
  103. if x != nil {
  104. return x.PageSize
  105. }
  106. return 0
  107. }
  108. type CommonQueryRequest struct {
  109. state protoimpl.MessageState
  110. sizeCache protoimpl.SizeCache
  111. unknownFields protoimpl.UnknownFields
  112. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  113. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  114. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  115. Select string `protobuf:"bytes,4,opt,name=Select,proto3" json:"Select,omitempty"`
  116. Where []byte `protobuf:"bytes,5,opt,name=Where,proto3" json:"Where,omitempty"`
  117. OrderBy []string `protobuf:"bytes,6,rep,name=OrderBy,proto3" json:"OrderBy,omitempty"`
  118. Or []byte `protobuf:"bytes,7,opt,name=Or,proto3" json:"Or,omitempty"`
  119. GroupBy []string `protobuf:"bytes,8,rep,name=GroupBy,proto3" json:"GroupBy,omitempty"`
  120. Join string `protobuf:"bytes,9,opt,name=Join,proto3" json:"Join,omitempty"`
  121. Having []byte `protobuf:"bytes,10,opt,name=Having,proto3" json:"Having,omitempty"`
  122. PageNo int32 `protobuf:"varint,11,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  123. PageSize int32 `protobuf:"varint,12,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
  124. }
  125. func (x *CommonQueryRequest) Reset() {
  126. *x = CommonQueryRequest{}
  127. if protoimpl.UnsafeEnabled {
  128. mi := &file_v1_request_query_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. }
  133. func (x *CommonQueryRequest) String() string {
  134. return protoimpl.X.MessageStringOf(x)
  135. }
  136. func (*CommonQueryRequest) ProtoMessage() {}
  137. func (x *CommonQueryRequest) ProtoReflect() protoreflect.Message {
  138. mi := &file_v1_request_query_proto_msgTypes[1]
  139. if protoimpl.UnsafeEnabled && x != nil {
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. if ms.LoadMessageInfo() == nil {
  142. ms.StoreMessageInfo(mi)
  143. }
  144. return ms
  145. }
  146. return mi.MessageOf(x)
  147. }
  148. // Deprecated: Use CommonQueryRequest.ProtoReflect.Descriptor instead.
  149. func (*CommonQueryRequest) Descriptor() ([]byte, []int) {
  150. return file_v1_request_query_proto_rawDescGZIP(), []int{1}
  151. }
  152. func (x *CommonQueryRequest) GetDatabaseID() string {
  153. if x != nil {
  154. return x.DatabaseID
  155. }
  156. return ""
  157. }
  158. func (x *CommonQueryRequest) GetTablePrefixWithSchema() string {
  159. if x != nil {
  160. return x.TablePrefixWithSchema
  161. }
  162. return ""
  163. }
  164. func (x *CommonQueryRequest) GetVersion() string {
  165. if x != nil {
  166. return x.Version
  167. }
  168. return ""
  169. }
  170. func (x *CommonQueryRequest) GetSelect() string {
  171. if x != nil {
  172. return x.Select
  173. }
  174. return ""
  175. }
  176. func (x *CommonQueryRequest) GetWhere() []byte {
  177. if x != nil {
  178. return x.Where
  179. }
  180. return nil
  181. }
  182. func (x *CommonQueryRequest) GetOrderBy() []string {
  183. if x != nil {
  184. return x.OrderBy
  185. }
  186. return nil
  187. }
  188. func (x *CommonQueryRequest) GetOr() []byte {
  189. if x != nil {
  190. return x.Or
  191. }
  192. return nil
  193. }
  194. func (x *CommonQueryRequest) GetGroupBy() []string {
  195. if x != nil {
  196. return x.GroupBy
  197. }
  198. return nil
  199. }
  200. func (x *CommonQueryRequest) GetJoin() string {
  201. if x != nil {
  202. return x.Join
  203. }
  204. return ""
  205. }
  206. func (x *CommonQueryRequest) GetHaving() []byte {
  207. if x != nil {
  208. return x.Having
  209. }
  210. return nil
  211. }
  212. func (x *CommonQueryRequest) GetPageNo() int32 {
  213. if x != nil {
  214. return x.PageNo
  215. }
  216. return 0
  217. }
  218. func (x *CommonQueryRequest) GetPageSize() int32 {
  219. if x != nil {
  220. return x.PageSize
  221. }
  222. return 0
  223. }
  224. type QueryByKeysRequest struct {
  225. state protoimpl.MessageState
  226. sizeCache protoimpl.SizeCache
  227. unknownFields protoimpl.UnknownFields
  228. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  229. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  230. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  231. Select string `protobuf:"bytes,4,opt,name=Select,proto3" json:"Select,omitempty"`
  232. Keys []byte `protobuf:"bytes,5,opt,name=Keys,proto3" json:"Keys,omitempty"`
  233. Where []byte `protobuf:"bytes,6,opt,name=Where,proto3" json:"Where,omitempty"`
  234. }
  235. func (x *QueryByKeysRequest) Reset() {
  236. *x = QueryByKeysRequest{}
  237. if protoimpl.UnsafeEnabled {
  238. mi := &file_v1_request_query_proto_msgTypes[2]
  239. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  240. ms.StoreMessageInfo(mi)
  241. }
  242. }
  243. func (x *QueryByKeysRequest) String() string {
  244. return protoimpl.X.MessageStringOf(x)
  245. }
  246. func (*QueryByKeysRequest) ProtoMessage() {}
  247. func (x *QueryByKeysRequest) ProtoReflect() protoreflect.Message {
  248. mi := &file_v1_request_query_proto_msgTypes[2]
  249. if protoimpl.UnsafeEnabled && x != nil {
  250. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  251. if ms.LoadMessageInfo() == nil {
  252. ms.StoreMessageInfo(mi)
  253. }
  254. return ms
  255. }
  256. return mi.MessageOf(x)
  257. }
  258. // Deprecated: Use QueryByKeysRequest.ProtoReflect.Descriptor instead.
  259. func (*QueryByKeysRequest) Descriptor() ([]byte, []int) {
  260. return file_v1_request_query_proto_rawDescGZIP(), []int{2}
  261. }
  262. func (x *QueryByKeysRequest) GetDatabaseID() string {
  263. if x != nil {
  264. return x.DatabaseID
  265. }
  266. return ""
  267. }
  268. func (x *QueryByKeysRequest) GetTablePrefixWithSchema() string {
  269. if x != nil {
  270. return x.TablePrefixWithSchema
  271. }
  272. return ""
  273. }
  274. func (x *QueryByKeysRequest) GetVersion() string {
  275. if x != nil {
  276. return x.Version
  277. }
  278. return ""
  279. }
  280. func (x *QueryByKeysRequest) GetSelect() string {
  281. if x != nil {
  282. return x.Select
  283. }
  284. return ""
  285. }
  286. func (x *QueryByKeysRequest) GetKeys() []byte {
  287. if x != nil {
  288. return x.Keys
  289. }
  290. return nil
  291. }
  292. func (x *QueryByKeysRequest) GetWhere() []byte {
  293. if x != nil {
  294. return x.Where
  295. }
  296. return nil
  297. }
  298. type CommonQueryByKeysRequest struct {
  299. state protoimpl.MessageState
  300. sizeCache protoimpl.SizeCache
  301. unknownFields protoimpl.UnknownFields
  302. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  303. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  304. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  305. Select string `protobuf:"bytes,4,opt,name=Select,proto3" json:"Select,omitempty"`
  306. Keys []byte `protobuf:"bytes,5,opt,name=Keys,proto3" json:"Keys,omitempty"`
  307. Where []byte `protobuf:"bytes,6,opt,name=Where,proto3" json:"Where,omitempty"`
  308. Or []byte `protobuf:"bytes,7,opt,name=Or,proto3" json:"Or,omitempty"`
  309. }
  310. func (x *CommonQueryByKeysRequest) Reset() {
  311. *x = CommonQueryByKeysRequest{}
  312. if protoimpl.UnsafeEnabled {
  313. mi := &file_v1_request_query_proto_msgTypes[3]
  314. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  315. ms.StoreMessageInfo(mi)
  316. }
  317. }
  318. func (x *CommonQueryByKeysRequest) String() string {
  319. return protoimpl.X.MessageStringOf(x)
  320. }
  321. func (*CommonQueryByKeysRequest) ProtoMessage() {}
  322. func (x *CommonQueryByKeysRequest) ProtoReflect() protoreflect.Message {
  323. mi := &file_v1_request_query_proto_msgTypes[3]
  324. if protoimpl.UnsafeEnabled && x != nil {
  325. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  326. if ms.LoadMessageInfo() == nil {
  327. ms.StoreMessageInfo(mi)
  328. }
  329. return ms
  330. }
  331. return mi.MessageOf(x)
  332. }
  333. // Deprecated: Use CommonQueryByKeysRequest.ProtoReflect.Descriptor instead.
  334. func (*CommonQueryByKeysRequest) Descriptor() ([]byte, []int) {
  335. return file_v1_request_query_proto_rawDescGZIP(), []int{3}
  336. }
  337. func (x *CommonQueryByKeysRequest) GetDatabaseID() string {
  338. if x != nil {
  339. return x.DatabaseID
  340. }
  341. return ""
  342. }
  343. func (x *CommonQueryByKeysRequest) GetTablePrefixWithSchema() string {
  344. if x != nil {
  345. return x.TablePrefixWithSchema
  346. }
  347. return ""
  348. }
  349. func (x *CommonQueryByKeysRequest) GetVersion() string {
  350. if x != nil {
  351. return x.Version
  352. }
  353. return ""
  354. }
  355. func (x *CommonQueryByKeysRequest) GetSelect() string {
  356. if x != nil {
  357. return x.Select
  358. }
  359. return ""
  360. }
  361. func (x *CommonQueryByKeysRequest) GetKeys() []byte {
  362. if x != nil {
  363. return x.Keys
  364. }
  365. return nil
  366. }
  367. func (x *CommonQueryByKeysRequest) GetWhere() []byte {
  368. if x != nil {
  369. return x.Where
  370. }
  371. return nil
  372. }
  373. func (x *CommonQueryByKeysRequest) GetOr() []byte {
  374. if x != nil {
  375. return x.Or
  376. }
  377. return nil
  378. }
  379. type CountWhereRequest struct {
  380. state protoimpl.MessageState
  381. sizeCache protoimpl.SizeCache
  382. unknownFields protoimpl.UnknownFields
  383. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  384. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  385. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  386. Where []byte `protobuf:"bytes,4,opt,name=Where,proto3" json:"Where,omitempty"`
  387. PageNo int32 `protobuf:"varint,5,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  388. PageSize int32 `protobuf:"varint,6,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
  389. }
  390. func (x *CountWhereRequest) Reset() {
  391. *x = CountWhereRequest{}
  392. if protoimpl.UnsafeEnabled {
  393. mi := &file_v1_request_query_proto_msgTypes[4]
  394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  395. ms.StoreMessageInfo(mi)
  396. }
  397. }
  398. func (x *CountWhereRequest) String() string {
  399. return protoimpl.X.MessageStringOf(x)
  400. }
  401. func (*CountWhereRequest) ProtoMessage() {}
  402. func (x *CountWhereRequest) ProtoReflect() protoreflect.Message {
  403. mi := &file_v1_request_query_proto_msgTypes[4]
  404. if protoimpl.UnsafeEnabled && x != nil {
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. if ms.LoadMessageInfo() == nil {
  407. ms.StoreMessageInfo(mi)
  408. }
  409. return ms
  410. }
  411. return mi.MessageOf(x)
  412. }
  413. // Deprecated: Use CountWhereRequest.ProtoReflect.Descriptor instead.
  414. func (*CountWhereRequest) Descriptor() ([]byte, []int) {
  415. return file_v1_request_query_proto_rawDescGZIP(), []int{4}
  416. }
  417. func (x *CountWhereRequest) GetDatabaseID() string {
  418. if x != nil {
  419. return x.DatabaseID
  420. }
  421. return ""
  422. }
  423. func (x *CountWhereRequest) GetTablePrefixWithSchema() string {
  424. if x != nil {
  425. return x.TablePrefixWithSchema
  426. }
  427. return ""
  428. }
  429. func (x *CountWhereRequest) GetVersion() string {
  430. if x != nil {
  431. return x.Version
  432. }
  433. return ""
  434. }
  435. func (x *CountWhereRequest) GetWhere() []byte {
  436. if x != nil {
  437. return x.Where
  438. }
  439. return nil
  440. }
  441. func (x *CountWhereRequest) GetPageNo() int32 {
  442. if x != nil {
  443. return x.PageNo
  444. }
  445. return 0
  446. }
  447. func (x *CountWhereRequest) GetPageSize() int32 {
  448. if x != nil {
  449. return x.PageSize
  450. }
  451. return 0
  452. }
  453. type CommonCountRequest struct {
  454. state protoimpl.MessageState
  455. sizeCache protoimpl.SizeCache
  456. unknownFields protoimpl.UnknownFields
  457. DatabaseID string `protobuf:"bytes,1,opt,name=DatabaseID,proto3" json:"DatabaseID,omitempty"`
  458. TablePrefixWithSchema string `protobuf:"bytes,2,opt,name=TablePrefixWithSchema,proto3" json:"TablePrefixWithSchema,omitempty"`
  459. Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"`
  460. Where []byte `protobuf:"bytes,4,opt,name=Where,proto3" json:"Where,omitempty"`
  461. Or []byte `protobuf:"bytes,5,opt,name=Or,proto3" json:"Or,omitempty"`
  462. GroupBy []string `protobuf:"bytes,6,rep,name=GroupBy,proto3" json:"GroupBy,omitempty"`
  463. Join string `protobuf:"bytes,7,opt,name=Join,proto3" json:"Join,omitempty"`
  464. Having []byte `protobuf:"bytes,8,opt,name=Having,proto3" json:"Having,omitempty"`
  465. PageNo int32 `protobuf:"varint,9,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  466. PageSize int32 `protobuf:"varint,10,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
  467. }
  468. func (x *CommonCountRequest) Reset() {
  469. *x = CommonCountRequest{}
  470. if protoimpl.UnsafeEnabled {
  471. mi := &file_v1_request_query_proto_msgTypes[5]
  472. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  473. ms.StoreMessageInfo(mi)
  474. }
  475. }
  476. func (x *CommonCountRequest) String() string {
  477. return protoimpl.X.MessageStringOf(x)
  478. }
  479. func (*CommonCountRequest) ProtoMessage() {}
  480. func (x *CommonCountRequest) ProtoReflect() protoreflect.Message {
  481. mi := &file_v1_request_query_proto_msgTypes[5]
  482. if protoimpl.UnsafeEnabled && x != nil {
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. if ms.LoadMessageInfo() == nil {
  485. ms.StoreMessageInfo(mi)
  486. }
  487. return ms
  488. }
  489. return mi.MessageOf(x)
  490. }
  491. // Deprecated: Use CommonCountRequest.ProtoReflect.Descriptor instead.
  492. func (*CommonCountRequest) Descriptor() ([]byte, []int) {
  493. return file_v1_request_query_proto_rawDescGZIP(), []int{5}
  494. }
  495. func (x *CommonCountRequest) GetDatabaseID() string {
  496. if x != nil {
  497. return x.DatabaseID
  498. }
  499. return ""
  500. }
  501. func (x *CommonCountRequest) GetTablePrefixWithSchema() string {
  502. if x != nil {
  503. return x.TablePrefixWithSchema
  504. }
  505. return ""
  506. }
  507. func (x *CommonCountRequest) GetVersion() string {
  508. if x != nil {
  509. return x.Version
  510. }
  511. return ""
  512. }
  513. func (x *CommonCountRequest) GetWhere() []byte {
  514. if x != nil {
  515. return x.Where
  516. }
  517. return nil
  518. }
  519. func (x *CommonCountRequest) GetOr() []byte {
  520. if x != nil {
  521. return x.Or
  522. }
  523. return nil
  524. }
  525. func (x *CommonCountRequest) GetGroupBy() []string {
  526. if x != nil {
  527. return x.GroupBy
  528. }
  529. return nil
  530. }
  531. func (x *CommonCountRequest) GetJoin() string {
  532. if x != nil {
  533. return x.Join
  534. }
  535. return ""
  536. }
  537. func (x *CommonCountRequest) GetHaving() []byte {
  538. if x != nil {
  539. return x.Having
  540. }
  541. return nil
  542. }
  543. func (x *CommonCountRequest) GetPageNo() int32 {
  544. if x != nil {
  545. return x.PageNo
  546. }
  547. return 0
  548. }
  549. func (x *CommonCountRequest) GetPageSize() int32 {
  550. if x != nil {
  551. return x.PageSize
  552. }
  553. return 0
  554. }
  555. var File_v1_request_query_proto protoreflect.FileDescriptor
  556. var file_v1_request_query_proto_rawDesc = []byte{
  557. 0x0a, 0x16, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x71, 0x75, 0x65,
  558. 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
  559. 0x74, 0x1a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x77,
  560. 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76,
  561. 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
  562. 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x02, 0x0a, 0x1d, 0x51, 0x75,
  563. 0x65, 0x72, 0x79, 0x42, 0x79, 0x57, 0x68, 0x65, 0x72, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x72, 0x64,
  564. 0x65, 0x72, 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44,
  565. 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
  566. 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
  567. 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66,
  568. 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01,
  569. 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c,
  570. 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d,
  571. 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
  572. 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73,
  573. 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20,
  574. 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x57,
  575. 0x68, 0x65, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72,
  576. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x18, 0x06, 0x20, 0x03,
  577. 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x50,
  578. 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67,
  579. 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
  580. 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22,
  581. 0xee, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
  582. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
  583. 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02,
  584. 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c,
  585. 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74,
  586. 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
  587. 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66,
  588. 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07,
  589. 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2,
  590. 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16,
  591. 0x0a, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  592. 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x18,
  593. 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07,
  594. 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x4f,
  595. 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x72, 0x18, 0x07, 0x20, 0x01,
  596. 0x28, 0x0c, 0x52, 0x02, 0x4f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42,
  597. 0x79, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79,
  598. 0x12, 0x12, 0x0a, 0x04, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  599. 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x0a,
  600. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x48, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06,
  601. 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61,
  602. 0x67, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  603. 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  604. 0x22, 0xde, 0x01, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73,
  605. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62,
  606. 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
  607. 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12,
  608. 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69,
  609. 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
  610. 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65,
  611. 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a,
  612. 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
  613. 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  614. 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  615. 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x18,
  616. 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x57,
  617. 0x68, 0x65, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72,
  618. 0x65, 0x22, 0xf4, 0x01, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72,
  619. 0x79, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
  620. 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  621. 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61,
  622. 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,
  623. 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
  624. 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54,
  625. 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63,
  626. 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
  627. 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56,
  628. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
  629. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x12,
  630. 0x0a, 0x04, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x4b, 0x65,
  631. 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  632. 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x72, 0x18, 0x07,
  633. 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x4f, 0x72, 0x22, 0xe5, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x75,
  634. 0x6e, 0x74, 0x57, 0x68, 0x65, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
  635. 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
  636. 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61,
  637. 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12, 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50,
  638. 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
  639. 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54,
  640. 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63,
  641. 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
  642. 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56,
  643. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x18,
  644. 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06,
  645. 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61,
  646. 0x67, 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  647. 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  648. 0x22, 0xbc, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  649. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62,
  650. 0x61, 0x73, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f,
  651. 0x02, 0x58, 0x01, 0x52, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x44, 0x12,
  652. 0x3c, 0x0a, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x57, 0x69,
  653. 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
  654. 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x65,
  655. 0x66, 0x69, 0x78, 0x57, 0x69, 0x74, 0x68, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x20, 0x0a,
  656. 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
  657. 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  658. 0x14, 0x0a, 0x05, 0x57, 0x68, 0x65, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
  659. 0x57, 0x68, 0x65, 0x72, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  660. 0x0c, 0x52, 0x02, 0x4f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79,
  661. 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12,
  662. 0x12, 0x0a, 0x04, 0x4a, 0x6f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4a,
  663. 0x6f, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20,
  664. 0x01, 0x28, 0x0c, 0x52, 0x06, 0x48, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x50,
  665. 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67,
  666. 0x65, 0x4e, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18,
  667. 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x42,
  668. 0x20, 0x5a, 0x1e, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f,
  669. 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
  670. 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  671. }
  672. var (
  673. file_v1_request_query_proto_rawDescOnce sync.Once
  674. file_v1_request_query_proto_rawDescData = file_v1_request_query_proto_rawDesc
  675. )
  676. func file_v1_request_query_proto_rawDescGZIP() []byte {
  677. file_v1_request_query_proto_rawDescOnce.Do(func() {
  678. file_v1_request_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_request_query_proto_rawDescData)
  679. })
  680. return file_v1_request_query_proto_rawDescData
  681. }
  682. var file_v1_request_query_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  683. var file_v1_request_query_proto_goTypes = []interface{}{
  684. (*QueryByWhereAndOrderByRequest)(nil), // 0: request.QueryByWhereAndOrderByRequest
  685. (*CommonQueryRequest)(nil), // 1: request.CommonQueryRequest
  686. (*QueryByKeysRequest)(nil), // 2: request.QueryByKeysRequest
  687. (*CommonQueryByKeysRequest)(nil), // 3: request.CommonQueryByKeysRequest
  688. (*CountWhereRequest)(nil), // 4: request.CountWhereRequest
  689. (*CommonCountRequest)(nil), // 5: request.CommonCountRequest
  690. }
  691. var file_v1_request_query_proto_depIdxs = []int32{
  692. 0, // [0:0] is the sub-list for method output_type
  693. 0, // [0:0] is the sub-list for method input_type
  694. 0, // [0:0] is the sub-list for extension type_name
  695. 0, // [0:0] is the sub-list for extension extendee
  696. 0, // [0:0] is the sub-list for field type_name
  697. }
  698. func init() { file_v1_request_query_proto_init() }
  699. func file_v1_request_query_proto_init() {
  700. if File_v1_request_query_proto != nil {
  701. return
  702. }
  703. if !protoimpl.UnsafeEnabled {
  704. file_v1_request_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  705. switch v := v.(*QueryByWhereAndOrderByRequest); i {
  706. case 0:
  707. return &v.state
  708. case 1:
  709. return &v.sizeCache
  710. case 2:
  711. return &v.unknownFields
  712. default:
  713. return nil
  714. }
  715. }
  716. file_v1_request_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  717. switch v := v.(*CommonQueryRequest); i {
  718. case 0:
  719. return &v.state
  720. case 1:
  721. return &v.sizeCache
  722. case 2:
  723. return &v.unknownFields
  724. default:
  725. return nil
  726. }
  727. }
  728. file_v1_request_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  729. switch v := v.(*QueryByKeysRequest); i {
  730. case 0:
  731. return &v.state
  732. case 1:
  733. return &v.sizeCache
  734. case 2:
  735. return &v.unknownFields
  736. default:
  737. return nil
  738. }
  739. }
  740. file_v1_request_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  741. switch v := v.(*CommonQueryByKeysRequest); i {
  742. case 0:
  743. return &v.state
  744. case 1:
  745. return &v.sizeCache
  746. case 2:
  747. return &v.unknownFields
  748. default:
  749. return nil
  750. }
  751. }
  752. file_v1_request_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  753. switch v := v.(*CountWhereRequest); i {
  754. case 0:
  755. return &v.state
  756. case 1:
  757. return &v.sizeCache
  758. case 2:
  759. return &v.unknownFields
  760. default:
  761. return nil
  762. }
  763. }
  764. file_v1_request_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  765. switch v := v.(*CommonCountRequest); i {
  766. case 0:
  767. return &v.state
  768. case 1:
  769. return &v.sizeCache
  770. case 2:
  771. return &v.unknownFields
  772. default:
  773. return nil
  774. }
  775. }
  776. }
  777. type x struct{}
  778. out := protoimpl.TypeBuilder{
  779. File: protoimpl.DescBuilder{
  780. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  781. RawDescriptor: file_v1_request_query_proto_rawDesc,
  782. NumEnums: 0,
  783. NumMessages: 6,
  784. NumExtensions: 0,
  785. NumServices: 0,
  786. },
  787. GoTypes: file_v1_request_query_proto_goTypes,
  788. DependencyIndexes: file_v1_request_query_proto_depIdxs,
  789. MessageInfos: file_v1_request_query_proto_msgTypes,
  790. }.Build()
  791. File_v1_request_query_proto = out.File
  792. file_v1_request_query_proto_rawDesc = nil
  793. file_v1_request_query_proto_goTypes = nil
  794. file_v1_request_query_proto_depIdxs = nil
  795. }