query.pb.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  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/response/query.proto
  6. package response
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type QueryResponse struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"`
  24. Infos []*InfoData `protobuf:"bytes,2,rep,name=Infos,proto3" json:"Infos,omitempty"`
  25. TotalCount int64 `protobuf:"varint,3,opt,name=TotalCount,proto3" json:"TotalCount,omitempty"`
  26. PageNo int32 `protobuf:"varint,4,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  27. }
  28. func (x *QueryResponse) Reset() {
  29. *x = QueryResponse{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_v1_response_query_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *QueryResponse) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*QueryResponse) ProtoMessage() {}
  40. func (x *QueryResponse) ProtoReflect() protoreflect.Message {
  41. mi := &file_v1_response_query_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 QueryResponse.ProtoReflect.Descriptor instead.
  52. func (*QueryResponse) Descriptor() ([]byte, []int) {
  53. return file_v1_response_query_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *QueryResponse) GetStatement() string {
  56. if x != nil {
  57. return x.Statement
  58. }
  59. return ""
  60. }
  61. func (x *QueryResponse) GetInfos() []*InfoData {
  62. if x != nil {
  63. return x.Infos
  64. }
  65. return nil
  66. }
  67. func (x *QueryResponse) GetTotalCount() int64 {
  68. if x != nil {
  69. return x.TotalCount
  70. }
  71. return 0
  72. }
  73. func (x *QueryResponse) GetPageNo() int32 {
  74. if x != nil {
  75. return x.PageNo
  76. }
  77. return 0
  78. }
  79. type QueryOnlyResponse struct {
  80. state protoimpl.MessageState
  81. sizeCache protoimpl.SizeCache
  82. unknownFields protoimpl.UnknownFields
  83. Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"`
  84. Infos []*InfoData `protobuf:"bytes,2,rep,name=Infos,proto3" json:"Infos,omitempty"`
  85. PageNo int32 `protobuf:"varint,3,opt,name=PageNo,proto3" json:"PageNo,omitempty"`
  86. }
  87. func (x *QueryOnlyResponse) Reset() {
  88. *x = QueryOnlyResponse{}
  89. if protoimpl.UnsafeEnabled {
  90. mi := &file_v1_response_query_proto_msgTypes[1]
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. ms.StoreMessageInfo(mi)
  93. }
  94. }
  95. func (x *QueryOnlyResponse) String() string {
  96. return protoimpl.X.MessageStringOf(x)
  97. }
  98. func (*QueryOnlyResponse) ProtoMessage() {}
  99. func (x *QueryOnlyResponse) ProtoReflect() protoreflect.Message {
  100. mi := &file_v1_response_query_proto_msgTypes[1]
  101. if protoimpl.UnsafeEnabled && x != nil {
  102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  103. if ms.LoadMessageInfo() == nil {
  104. ms.StoreMessageInfo(mi)
  105. }
  106. return ms
  107. }
  108. return mi.MessageOf(x)
  109. }
  110. // Deprecated: Use QueryOnlyResponse.ProtoReflect.Descriptor instead.
  111. func (*QueryOnlyResponse) Descriptor() ([]byte, []int) {
  112. return file_v1_response_query_proto_rawDescGZIP(), []int{1}
  113. }
  114. func (x *QueryOnlyResponse) GetStatement() string {
  115. if x != nil {
  116. return x.Statement
  117. }
  118. return ""
  119. }
  120. func (x *QueryOnlyResponse) GetInfos() []*InfoData {
  121. if x != nil {
  122. return x.Infos
  123. }
  124. return nil
  125. }
  126. func (x *QueryOnlyResponse) GetPageNo() int32 {
  127. if x != nil {
  128. return x.PageNo
  129. }
  130. return 0
  131. }
  132. type QueryByKeysResponse struct {
  133. state protoimpl.MessageState
  134. sizeCache protoimpl.SizeCache
  135. unknownFields protoimpl.UnknownFields
  136. Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"`
  137. Info *InfoData `protobuf:"bytes,2,opt,name=Info,proto3" json:"Info,omitempty"`
  138. }
  139. func (x *QueryByKeysResponse) Reset() {
  140. *x = QueryByKeysResponse{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_v1_response_query_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *QueryByKeysResponse) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*QueryByKeysResponse) ProtoMessage() {}
  151. func (x *QueryByKeysResponse) ProtoReflect() protoreflect.Message {
  152. mi := &file_v1_response_query_proto_msgTypes[2]
  153. if protoimpl.UnsafeEnabled && x != nil {
  154. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  155. if ms.LoadMessageInfo() == nil {
  156. ms.StoreMessageInfo(mi)
  157. }
  158. return ms
  159. }
  160. return mi.MessageOf(x)
  161. }
  162. // Deprecated: Use QueryByKeysResponse.ProtoReflect.Descriptor instead.
  163. func (*QueryByKeysResponse) Descriptor() ([]byte, []int) {
  164. return file_v1_response_query_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *QueryByKeysResponse) GetStatement() string {
  167. if x != nil {
  168. return x.Statement
  169. }
  170. return ""
  171. }
  172. func (x *QueryByKeysResponse) GetInfo() *InfoData {
  173. if x != nil {
  174. return x.Info
  175. }
  176. return nil
  177. }
  178. type CountResponse struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"`
  183. Count int64 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
  184. }
  185. func (x *CountResponse) Reset() {
  186. *x = CountResponse{}
  187. if protoimpl.UnsafeEnabled {
  188. mi := &file_v1_response_query_proto_msgTypes[3]
  189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  190. ms.StoreMessageInfo(mi)
  191. }
  192. }
  193. func (x *CountResponse) String() string {
  194. return protoimpl.X.MessageStringOf(x)
  195. }
  196. func (*CountResponse) ProtoMessage() {}
  197. func (x *CountResponse) ProtoReflect() protoreflect.Message {
  198. mi := &file_v1_response_query_proto_msgTypes[3]
  199. if protoimpl.UnsafeEnabled && x != nil {
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. if ms.LoadMessageInfo() == nil {
  202. ms.StoreMessageInfo(mi)
  203. }
  204. return ms
  205. }
  206. return mi.MessageOf(x)
  207. }
  208. // Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.
  209. func (*CountResponse) Descriptor() ([]byte, []int) {
  210. return file_v1_response_query_proto_rawDescGZIP(), []int{3}
  211. }
  212. func (x *CountResponse) GetStatement() string {
  213. if x != nil {
  214. return x.Statement
  215. }
  216. return ""
  217. }
  218. func (x *CountResponse) GetCount() int64 {
  219. if x != nil {
  220. return x.Count
  221. }
  222. return 0
  223. }
  224. type InfoData struct {
  225. state protoimpl.MessageState
  226. sizeCache protoimpl.SizeCache
  227. unknownFields protoimpl.UnknownFields
  228. Columns []*Column `protobuf:"bytes,1,rep,name=Columns,proto3" json:"Columns,omitempty"`
  229. }
  230. func (x *InfoData) Reset() {
  231. *x = InfoData{}
  232. if protoimpl.UnsafeEnabled {
  233. mi := &file_v1_response_query_proto_msgTypes[4]
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. ms.StoreMessageInfo(mi)
  236. }
  237. }
  238. func (x *InfoData) String() string {
  239. return protoimpl.X.MessageStringOf(x)
  240. }
  241. func (*InfoData) ProtoMessage() {}
  242. func (x *InfoData) ProtoReflect() protoreflect.Message {
  243. mi := &file_v1_response_query_proto_msgTypes[4]
  244. if protoimpl.UnsafeEnabled && x != nil {
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. if ms.LoadMessageInfo() == nil {
  247. ms.StoreMessageInfo(mi)
  248. }
  249. return ms
  250. }
  251. return mi.MessageOf(x)
  252. }
  253. // Deprecated: Use InfoData.ProtoReflect.Descriptor instead.
  254. func (*InfoData) Descriptor() ([]byte, []int) {
  255. return file_v1_response_query_proto_rawDescGZIP(), []int{4}
  256. }
  257. func (x *InfoData) GetColumns() []*Column {
  258. if x != nil {
  259. return x.Columns
  260. }
  261. return nil
  262. }
  263. type Column struct {
  264. state protoimpl.MessageState
  265. sizeCache protoimpl.SizeCache
  266. unknownFields protoimpl.UnknownFields
  267. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  268. Value *ColumnValue `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
  269. }
  270. func (x *Column) Reset() {
  271. *x = Column{}
  272. if protoimpl.UnsafeEnabled {
  273. mi := &file_v1_response_query_proto_msgTypes[5]
  274. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  275. ms.StoreMessageInfo(mi)
  276. }
  277. }
  278. func (x *Column) String() string {
  279. return protoimpl.X.MessageStringOf(x)
  280. }
  281. func (*Column) ProtoMessage() {}
  282. func (x *Column) ProtoReflect() protoreflect.Message {
  283. mi := &file_v1_response_query_proto_msgTypes[5]
  284. if protoimpl.UnsafeEnabled && x != nil {
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. if ms.LoadMessageInfo() == nil {
  287. ms.StoreMessageInfo(mi)
  288. }
  289. return ms
  290. }
  291. return mi.MessageOf(x)
  292. }
  293. // Deprecated: Use Column.ProtoReflect.Descriptor instead.
  294. func (*Column) Descriptor() ([]byte, []int) {
  295. return file_v1_response_query_proto_rawDescGZIP(), []int{5}
  296. }
  297. func (x *Column) GetName() string {
  298. if x != nil {
  299. return x.Name
  300. }
  301. return ""
  302. }
  303. func (x *Column) GetValue() *ColumnValue {
  304. if x != nil {
  305. return x.Value
  306. }
  307. return nil
  308. }
  309. type ColumnValue struct {
  310. state protoimpl.MessageState
  311. sizeCache protoimpl.SizeCache
  312. unknownFields protoimpl.UnknownFields
  313. Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
  314. // Types that are assignable to TypedValue:
  315. //
  316. // *ColumnValue_StringValue
  317. // *ColumnValue_Uint64Value
  318. // *ColumnValue_Float64Value
  319. // *ColumnValue_BoolValue
  320. TypedValue isColumnValue_TypedValue `protobuf_oneof:"TypedValue"`
  321. }
  322. func (x *ColumnValue) Reset() {
  323. *x = ColumnValue{}
  324. if protoimpl.UnsafeEnabled {
  325. mi := &file_v1_response_query_proto_msgTypes[6]
  326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  327. ms.StoreMessageInfo(mi)
  328. }
  329. }
  330. func (x *ColumnValue) String() string {
  331. return protoimpl.X.MessageStringOf(x)
  332. }
  333. func (*ColumnValue) ProtoMessage() {}
  334. func (x *ColumnValue) ProtoReflect() protoreflect.Message {
  335. mi := &file_v1_response_query_proto_msgTypes[6]
  336. if protoimpl.UnsafeEnabled && x != nil {
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. if ms.LoadMessageInfo() == nil {
  339. ms.StoreMessageInfo(mi)
  340. }
  341. return ms
  342. }
  343. return mi.MessageOf(x)
  344. }
  345. // Deprecated: Use ColumnValue.ProtoReflect.Descriptor instead.
  346. func (*ColumnValue) Descriptor() ([]byte, []int) {
  347. return file_v1_response_query_proto_rawDescGZIP(), []int{6}
  348. }
  349. func (x *ColumnValue) GetType() string {
  350. if x != nil {
  351. return x.Type
  352. }
  353. return ""
  354. }
  355. func (m *ColumnValue) GetTypedValue() isColumnValue_TypedValue {
  356. if m != nil {
  357. return m.TypedValue
  358. }
  359. return nil
  360. }
  361. func (x *ColumnValue) GetStringValue() string {
  362. if x, ok := x.GetTypedValue().(*ColumnValue_StringValue); ok {
  363. return x.StringValue
  364. }
  365. return ""
  366. }
  367. func (x *ColumnValue) GetUint64Value() uint64 {
  368. if x, ok := x.GetTypedValue().(*ColumnValue_Uint64Value); ok {
  369. return x.Uint64Value
  370. }
  371. return 0
  372. }
  373. func (x *ColumnValue) GetFloat64Value() float64 {
  374. if x, ok := x.GetTypedValue().(*ColumnValue_Float64Value); ok {
  375. return x.Float64Value
  376. }
  377. return 0
  378. }
  379. func (x *ColumnValue) GetBoolValue() bool {
  380. if x, ok := x.GetTypedValue().(*ColumnValue_BoolValue); ok {
  381. return x.BoolValue
  382. }
  383. return false
  384. }
  385. type isColumnValue_TypedValue interface {
  386. isColumnValue_TypedValue()
  387. }
  388. type ColumnValue_StringValue struct {
  389. StringValue string `protobuf:"bytes,2,opt,name=StringValue,proto3,oneof"`
  390. }
  391. type ColumnValue_Uint64Value struct {
  392. Uint64Value uint64 `protobuf:"varint,3,opt,name=Uint64Value,proto3,oneof"`
  393. }
  394. type ColumnValue_Float64Value struct {
  395. Float64Value float64 `protobuf:"fixed64,4,opt,name=Float64Value,proto3,oneof"`
  396. }
  397. type ColumnValue_BoolValue struct {
  398. BoolValue bool `protobuf:"varint,5,opt,name=BoolValue,proto3,oneof"`
  399. }
  400. func (*ColumnValue_StringValue) isColumnValue_TypedValue() {}
  401. func (*ColumnValue_Uint64Value) isColumnValue_TypedValue() {}
  402. func (*ColumnValue_Float64Value) isColumnValue_TypedValue() {}
  403. func (*ColumnValue_BoolValue) isColumnValue_TypedValue() {}
  404. var File_v1_response_query_proto protoreflect.FileDescriptor
  405. var file_v1_response_query_proto_rawDesc = []byte{
  406. 0x0a, 0x17, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x71, 0x75,
  407. 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f,
  408. 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
  409. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
  410. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
  411. 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03,
  412. 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e,
  413. 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x1e, 0x0a,
  414. 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  415. 0x03, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a,
  416. 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50,
  417. 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x73, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x6e,
  418. 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74,
  419. 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53,
  420. 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f,
  421. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  422. 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e, 0x66,
  423. 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01,
  424. 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x5b, 0x0a, 0x13, 0x51, 0x75,
  425. 0x65, 0x72, 0x79, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  426. 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01,
  427. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12,
  428. 0x26, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  429. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74,
  430. 0x61, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  431. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74,
  432. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61,
  433. 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  434. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x36, 0x0a, 0x08,
  435. 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x07, 0x43, 0x6f, 0x6c, 0x75,
  436. 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x65, 0x73, 0x70,
  437. 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x43, 0x6f, 0x6c,
  438. 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12,
  439. 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61,
  440. 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  441. 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6c,
  442. 0x75, 0x6d, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22,
  443. 0xbd, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  444. 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54,
  445. 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
  446. 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x53, 0x74, 0x72, 0x69,
  447. 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0b, 0x55, 0x69, 0x6e, 0x74, 0x36,
  448. 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b,
  449. 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x46,
  450. 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  451. 0x01, 0x48, 0x00, 0x52, 0x0c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
  452. 0x65, 0x12, 0x1e, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05,
  453. 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75,
  454. 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
  455. 0x21, 0x5a, 0x1f, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f,
  456. 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  457. 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  458. }
  459. var (
  460. file_v1_response_query_proto_rawDescOnce sync.Once
  461. file_v1_response_query_proto_rawDescData = file_v1_response_query_proto_rawDesc
  462. )
  463. func file_v1_response_query_proto_rawDescGZIP() []byte {
  464. file_v1_response_query_proto_rawDescOnce.Do(func() {
  465. file_v1_response_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_query_proto_rawDescData)
  466. })
  467. return file_v1_response_query_proto_rawDescData
  468. }
  469. var file_v1_response_query_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  470. var file_v1_response_query_proto_goTypes = []interface{}{
  471. (*QueryResponse)(nil), // 0: response.QueryResponse
  472. (*QueryOnlyResponse)(nil), // 1: response.QueryOnlyResponse
  473. (*QueryByKeysResponse)(nil), // 2: response.QueryByKeysResponse
  474. (*CountResponse)(nil), // 3: response.CountResponse
  475. (*InfoData)(nil), // 4: response.InfoData
  476. (*Column)(nil), // 5: response.Column
  477. (*ColumnValue)(nil), // 6: response.ColumnValue
  478. }
  479. var file_v1_response_query_proto_depIdxs = []int32{
  480. 4, // 0: response.QueryResponse.Infos:type_name -> response.InfoData
  481. 4, // 1: response.QueryOnlyResponse.Infos:type_name -> response.InfoData
  482. 4, // 2: response.QueryByKeysResponse.Info:type_name -> response.InfoData
  483. 5, // 3: response.InfoData.Columns:type_name -> response.Column
  484. 6, // 4: response.Column.Value:type_name -> response.ColumnValue
  485. 5, // [5:5] is the sub-list for method output_type
  486. 5, // [5:5] is the sub-list for method input_type
  487. 5, // [5:5] is the sub-list for extension type_name
  488. 5, // [5:5] is the sub-list for extension extendee
  489. 0, // [0:5] is the sub-list for field type_name
  490. }
  491. func init() { file_v1_response_query_proto_init() }
  492. func file_v1_response_query_proto_init() {
  493. if File_v1_response_query_proto != nil {
  494. return
  495. }
  496. if !protoimpl.UnsafeEnabled {
  497. file_v1_response_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  498. switch v := v.(*QueryResponse); i {
  499. case 0:
  500. return &v.state
  501. case 1:
  502. return &v.sizeCache
  503. case 2:
  504. return &v.unknownFields
  505. default:
  506. return nil
  507. }
  508. }
  509. file_v1_response_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  510. switch v := v.(*QueryOnlyResponse); i {
  511. case 0:
  512. return &v.state
  513. case 1:
  514. return &v.sizeCache
  515. case 2:
  516. return &v.unknownFields
  517. default:
  518. return nil
  519. }
  520. }
  521. file_v1_response_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  522. switch v := v.(*QueryByKeysResponse); i {
  523. case 0:
  524. return &v.state
  525. case 1:
  526. return &v.sizeCache
  527. case 2:
  528. return &v.unknownFields
  529. default:
  530. return nil
  531. }
  532. }
  533. file_v1_response_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  534. switch v := v.(*CountResponse); i {
  535. case 0:
  536. return &v.state
  537. case 1:
  538. return &v.sizeCache
  539. case 2:
  540. return &v.unknownFields
  541. default:
  542. return nil
  543. }
  544. }
  545. file_v1_response_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  546. switch v := v.(*InfoData); i {
  547. case 0:
  548. return &v.state
  549. case 1:
  550. return &v.sizeCache
  551. case 2:
  552. return &v.unknownFields
  553. default:
  554. return nil
  555. }
  556. }
  557. file_v1_response_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  558. switch v := v.(*Column); i {
  559. case 0:
  560. return &v.state
  561. case 1:
  562. return &v.sizeCache
  563. case 2:
  564. return &v.unknownFields
  565. default:
  566. return nil
  567. }
  568. }
  569. file_v1_response_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  570. switch v := v.(*ColumnValue); i {
  571. case 0:
  572. return &v.state
  573. case 1:
  574. return &v.sizeCache
  575. case 2:
  576. return &v.unknownFields
  577. default:
  578. return nil
  579. }
  580. }
  581. }
  582. file_v1_response_query_proto_msgTypes[6].OneofWrappers = []interface{}{
  583. (*ColumnValue_StringValue)(nil),
  584. (*ColumnValue_Uint64Value)(nil),
  585. (*ColumnValue_Float64Value)(nil),
  586. (*ColumnValue_BoolValue)(nil),
  587. }
  588. type x struct{}
  589. out := protoimpl.TypeBuilder{
  590. File: protoimpl.DescBuilder{
  591. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  592. RawDescriptor: file_v1_response_query_proto_rawDesc,
  593. NumEnums: 0,
  594. NumMessages: 7,
  595. NumExtensions: 0,
  596. NumServices: 0,
  597. },
  598. GoTypes: file_v1_response_query_proto_goTypes,
  599. DependencyIndexes: file_v1_response_query_proto_depIdxs,
  600. MessageInfos: file_v1_response_query_proto_msgTypes,
  601. }.Build()
  602. File_v1_response_query_proto = out.File
  603. file_v1_response_query_proto_rawDesc = nil
  604. file_v1_response_query_proto_goTypes = nil
  605. file_v1_response_query_proto_depIdxs = nil
  606. }