query.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  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. Kind int32 `protobuf:"varint,1,opt,name=Kind,proto3" json:"Kind,omitempty"`
  314. Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
  315. // Types that are assignable to TypedValue:
  316. //
  317. // *ColumnValue_StringValue
  318. // *ColumnValue_Uint32Value
  319. // *ColumnValue_Uint64Value
  320. // *ColumnValue_Float64Value
  321. // *ColumnValue_BoolValue
  322. TypedValue isColumnValue_TypedValue `protobuf_oneof:"TypedValue"`
  323. }
  324. func (x *ColumnValue) Reset() {
  325. *x = ColumnValue{}
  326. if protoimpl.UnsafeEnabled {
  327. mi := &file_v1_response_query_proto_msgTypes[6]
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. ms.StoreMessageInfo(mi)
  330. }
  331. }
  332. func (x *ColumnValue) String() string {
  333. return protoimpl.X.MessageStringOf(x)
  334. }
  335. func (*ColumnValue) ProtoMessage() {}
  336. func (x *ColumnValue) ProtoReflect() protoreflect.Message {
  337. mi := &file_v1_response_query_proto_msgTypes[6]
  338. if protoimpl.UnsafeEnabled && x != nil {
  339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  340. if ms.LoadMessageInfo() == nil {
  341. ms.StoreMessageInfo(mi)
  342. }
  343. return ms
  344. }
  345. return mi.MessageOf(x)
  346. }
  347. // Deprecated: Use ColumnValue.ProtoReflect.Descriptor instead.
  348. func (*ColumnValue) Descriptor() ([]byte, []int) {
  349. return file_v1_response_query_proto_rawDescGZIP(), []int{6}
  350. }
  351. func (x *ColumnValue) GetKind() int32 {
  352. if x != nil {
  353. return x.Kind
  354. }
  355. return 0
  356. }
  357. func (x *ColumnValue) GetType() string {
  358. if x != nil {
  359. return x.Type
  360. }
  361. return ""
  362. }
  363. func (m *ColumnValue) GetTypedValue() isColumnValue_TypedValue {
  364. if m != nil {
  365. return m.TypedValue
  366. }
  367. return nil
  368. }
  369. func (x *ColumnValue) GetStringValue() string {
  370. if x, ok := x.GetTypedValue().(*ColumnValue_StringValue); ok {
  371. return x.StringValue
  372. }
  373. return ""
  374. }
  375. func (x *ColumnValue) GetUint32Value() uint32 {
  376. if x, ok := x.GetTypedValue().(*ColumnValue_Uint32Value); ok {
  377. return x.Uint32Value
  378. }
  379. return 0
  380. }
  381. func (x *ColumnValue) GetUint64Value() uint64 {
  382. if x, ok := x.GetTypedValue().(*ColumnValue_Uint64Value); ok {
  383. return x.Uint64Value
  384. }
  385. return 0
  386. }
  387. func (x *ColumnValue) GetFloat64Value() float64 {
  388. if x, ok := x.GetTypedValue().(*ColumnValue_Float64Value); ok {
  389. return x.Float64Value
  390. }
  391. return 0
  392. }
  393. func (x *ColumnValue) GetBoolValue() bool {
  394. if x, ok := x.GetTypedValue().(*ColumnValue_BoolValue); ok {
  395. return x.BoolValue
  396. }
  397. return false
  398. }
  399. type isColumnValue_TypedValue interface {
  400. isColumnValue_TypedValue()
  401. }
  402. type ColumnValue_StringValue struct {
  403. StringValue string `protobuf:"bytes,3,opt,name=StringValue,proto3,oneof"`
  404. }
  405. type ColumnValue_Uint32Value struct {
  406. Uint32Value uint32 `protobuf:"varint,4,opt,name=Uint32Value,proto3,oneof"`
  407. }
  408. type ColumnValue_Uint64Value struct {
  409. Uint64Value uint64 `protobuf:"varint,5,opt,name=Uint64Value,proto3,oneof"`
  410. }
  411. type ColumnValue_Float64Value struct {
  412. Float64Value float64 `protobuf:"fixed64,6,opt,name=Float64Value,proto3,oneof"`
  413. }
  414. type ColumnValue_BoolValue struct {
  415. BoolValue bool `protobuf:"varint,7,opt,name=BoolValue,proto3,oneof"`
  416. }
  417. func (*ColumnValue_StringValue) isColumnValue_TypedValue() {}
  418. func (*ColumnValue_Uint32Value) isColumnValue_TypedValue() {}
  419. func (*ColumnValue_Uint64Value) isColumnValue_TypedValue() {}
  420. func (*ColumnValue_Float64Value) isColumnValue_TypedValue() {}
  421. func (*ColumnValue_BoolValue) isColumnValue_TypedValue() {}
  422. var File_v1_response_query_proto protoreflect.FileDescriptor
  423. var file_v1_response_query_proto_rawDesc = []byte{
  424. 0x0a, 0x17, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x71, 0x75,
  425. 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f,
  426. 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
  427. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
  428. 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d,
  429. 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03,
  430. 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e,
  431. 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x1e, 0x0a,
  432. 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  433. 0x03, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a,
  434. 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50,
  435. 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x73, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x6e,
  436. 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74,
  437. 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53,
  438. 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f,
  439. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  440. 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x49, 0x6e, 0x66,
  441. 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01,
  442. 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x5b, 0x0a, 0x13, 0x51, 0x75,
  443. 0x65, 0x72, 0x79, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  444. 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01,
  445. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12,
  446. 0x26, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
  447. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74,
  448. 0x61, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  449. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74,
  450. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61,
  451. 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18,
  452. 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x36, 0x0a, 0x08,
  453. 0x49, 0x6e, 0x66, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x07, 0x43, 0x6f, 0x6c, 0x75,
  454. 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x72, 0x65, 0x73, 0x70,
  455. 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x43, 0x6f, 0x6c,
  456. 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12,
  457. 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61,
  458. 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  459. 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6c,
  460. 0x75, 0x6d, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22,
  461. 0xf5, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  462. 0x12, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x4b,
  463. 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  464. 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e,
  465. 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
  466. 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x0b, 0x55,
  467. 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
  468. 0x48, 0x00, 0x52, 0x0b, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  469. 0x22, 0x0a, 0x0b, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05,
  470. 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61,
  471. 0x6c, 0x75, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x36, 0x34, 0x56, 0x61,
  472. 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0c, 0x46, 0x6c, 0x6f,
  473. 0x61, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x09, 0x42, 0x6f, 0x6f,
  474. 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09,
  475. 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x54, 0x79, 0x70,
  476. 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x21, 0x5a, 0x1f, 0x64, 0x70, 0x73, 0x2f, 0x61,
  477. 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76,
  478. 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  479. 0x6f, 0x33,
  480. }
  481. var (
  482. file_v1_response_query_proto_rawDescOnce sync.Once
  483. file_v1_response_query_proto_rawDescData = file_v1_response_query_proto_rawDesc
  484. )
  485. func file_v1_response_query_proto_rawDescGZIP() []byte {
  486. file_v1_response_query_proto_rawDescOnce.Do(func() {
  487. file_v1_response_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_query_proto_rawDescData)
  488. })
  489. return file_v1_response_query_proto_rawDescData
  490. }
  491. var file_v1_response_query_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  492. var file_v1_response_query_proto_goTypes = []interface{}{
  493. (*QueryResponse)(nil), // 0: response.QueryResponse
  494. (*QueryOnlyResponse)(nil), // 1: response.QueryOnlyResponse
  495. (*QueryByKeysResponse)(nil), // 2: response.QueryByKeysResponse
  496. (*CountResponse)(nil), // 3: response.CountResponse
  497. (*InfoData)(nil), // 4: response.InfoData
  498. (*Column)(nil), // 5: response.Column
  499. (*ColumnValue)(nil), // 6: response.ColumnValue
  500. }
  501. var file_v1_response_query_proto_depIdxs = []int32{
  502. 4, // 0: response.QueryResponse.Infos:type_name -> response.InfoData
  503. 4, // 1: response.QueryOnlyResponse.Infos:type_name -> response.InfoData
  504. 4, // 2: response.QueryByKeysResponse.Info:type_name -> response.InfoData
  505. 5, // 3: response.InfoData.Columns:type_name -> response.Column
  506. 6, // 4: response.Column.Value:type_name -> response.ColumnValue
  507. 5, // [5:5] is the sub-list for method output_type
  508. 5, // [5:5] is the sub-list for method input_type
  509. 5, // [5:5] is the sub-list for extension type_name
  510. 5, // [5:5] is the sub-list for extension extendee
  511. 0, // [0:5] is the sub-list for field type_name
  512. }
  513. func init() { file_v1_response_query_proto_init() }
  514. func file_v1_response_query_proto_init() {
  515. if File_v1_response_query_proto != nil {
  516. return
  517. }
  518. if !protoimpl.UnsafeEnabled {
  519. file_v1_response_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  520. switch v := v.(*QueryResponse); i {
  521. case 0:
  522. return &v.state
  523. case 1:
  524. return &v.sizeCache
  525. case 2:
  526. return &v.unknownFields
  527. default:
  528. return nil
  529. }
  530. }
  531. file_v1_response_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  532. switch v := v.(*QueryOnlyResponse); i {
  533. case 0:
  534. return &v.state
  535. case 1:
  536. return &v.sizeCache
  537. case 2:
  538. return &v.unknownFields
  539. default:
  540. return nil
  541. }
  542. }
  543. file_v1_response_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  544. switch v := v.(*QueryByKeysResponse); i {
  545. case 0:
  546. return &v.state
  547. case 1:
  548. return &v.sizeCache
  549. case 2:
  550. return &v.unknownFields
  551. default:
  552. return nil
  553. }
  554. }
  555. file_v1_response_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  556. switch v := v.(*CountResponse); i {
  557. case 0:
  558. return &v.state
  559. case 1:
  560. return &v.sizeCache
  561. case 2:
  562. return &v.unknownFields
  563. default:
  564. return nil
  565. }
  566. }
  567. file_v1_response_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  568. switch v := v.(*InfoData); i {
  569. case 0:
  570. return &v.state
  571. case 1:
  572. return &v.sizeCache
  573. case 2:
  574. return &v.unknownFields
  575. default:
  576. return nil
  577. }
  578. }
  579. file_v1_response_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  580. switch v := v.(*Column); i {
  581. case 0:
  582. return &v.state
  583. case 1:
  584. return &v.sizeCache
  585. case 2:
  586. return &v.unknownFields
  587. default:
  588. return nil
  589. }
  590. }
  591. file_v1_response_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  592. switch v := v.(*ColumnValue); i {
  593. case 0:
  594. return &v.state
  595. case 1:
  596. return &v.sizeCache
  597. case 2:
  598. return &v.unknownFields
  599. default:
  600. return nil
  601. }
  602. }
  603. }
  604. file_v1_response_query_proto_msgTypes[6].OneofWrappers = []interface{}{
  605. (*ColumnValue_StringValue)(nil),
  606. (*ColumnValue_Uint32Value)(nil),
  607. (*ColumnValue_Uint64Value)(nil),
  608. (*ColumnValue_Float64Value)(nil),
  609. (*ColumnValue_BoolValue)(nil),
  610. }
  611. type x struct{}
  612. out := protoimpl.TypeBuilder{
  613. File: protoimpl.DescBuilder{
  614. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  615. RawDescriptor: file_v1_response_query_proto_rawDesc,
  616. NumEnums: 0,
  617. NumMessages: 7,
  618. NumExtensions: 0,
  619. NumServices: 0,
  620. },
  621. GoTypes: file_v1_response_query_proto_goTypes,
  622. DependencyIndexes: file_v1_response_query_proto_depIdxs,
  623. MessageInfos: file_v1_response_query_proto_msgTypes,
  624. }.Build()
  625. File_v1_response_query_proto = out.File
  626. file_v1_response_query_proto_rawDesc = nil
  627. file_v1_response_query_proto_goTypes = nil
  628. file_v1_response_query_proto_depIdxs = nil
  629. }