event_query.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  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/event_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 EventQueryResponse 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 []*EventInfo `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 *EventQueryResponse) Reset() {
  29. *x = EventQueryResponse{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_v1_response_event_query_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *EventQueryResponse) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*EventQueryResponse) ProtoMessage() {}
  40. func (x *EventQueryResponse) ProtoReflect() protoreflect.Message {
  41. mi := &file_v1_response_event_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 EventQueryResponse.ProtoReflect.Descriptor instead.
  52. func (*EventQueryResponse) Descriptor() ([]byte, []int) {
  53. return file_v1_response_event_query_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *EventQueryResponse) GetStatement() string {
  56. if x != nil {
  57. return x.Statement
  58. }
  59. return ""
  60. }
  61. func (x *EventQueryResponse) GetInfos() []*EventInfo {
  62. if x != nil {
  63. return x.Infos
  64. }
  65. return nil
  66. }
  67. func (x *EventQueryResponse) GetTotalCount() int64 {
  68. if x != nil {
  69. return x.TotalCount
  70. }
  71. return 0
  72. }
  73. func (x *EventQueryResponse) GetPageNo() int32 {
  74. if x != nil {
  75. return x.PageNo
  76. }
  77. return 0
  78. }
  79. type EventQueryOnlyResponse 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 []*EventInfo `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 *EventQueryOnlyResponse) Reset() {
  88. *x = EventQueryOnlyResponse{}
  89. if protoimpl.UnsafeEnabled {
  90. mi := &file_v1_response_event_query_proto_msgTypes[1]
  91. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  92. ms.StoreMessageInfo(mi)
  93. }
  94. }
  95. func (x *EventQueryOnlyResponse) String() string {
  96. return protoimpl.X.MessageStringOf(x)
  97. }
  98. func (*EventQueryOnlyResponse) ProtoMessage() {}
  99. func (x *EventQueryOnlyResponse) ProtoReflect() protoreflect.Message {
  100. mi := &file_v1_response_event_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 EventQueryOnlyResponse.ProtoReflect.Descriptor instead.
  111. func (*EventQueryOnlyResponse) Descriptor() ([]byte, []int) {
  112. return file_v1_response_event_query_proto_rawDescGZIP(), []int{1}
  113. }
  114. func (x *EventQueryOnlyResponse) GetStatement() string {
  115. if x != nil {
  116. return x.Statement
  117. }
  118. return ""
  119. }
  120. func (x *EventQueryOnlyResponse) GetInfos() []*EventInfo {
  121. if x != nil {
  122. return x.Infos
  123. }
  124. return nil
  125. }
  126. func (x *EventQueryOnlyResponse) GetPageNo() int32 {
  127. if x != nil {
  128. return x.PageNo
  129. }
  130. return 0
  131. }
  132. type CountEventResponse 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. Count int64 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
  138. }
  139. func (x *CountEventResponse) Reset() {
  140. *x = CountEventResponse{}
  141. if protoimpl.UnsafeEnabled {
  142. mi := &file_v1_response_event_query_proto_msgTypes[2]
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. ms.StoreMessageInfo(mi)
  145. }
  146. }
  147. func (x *CountEventResponse) String() string {
  148. return protoimpl.X.MessageStringOf(x)
  149. }
  150. func (*CountEventResponse) ProtoMessage() {}
  151. func (x *CountEventResponse) ProtoReflect() protoreflect.Message {
  152. mi := &file_v1_response_event_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 CountEventResponse.ProtoReflect.Descriptor instead.
  163. func (*CountEventResponse) Descriptor() ([]byte, []int) {
  164. return file_v1_response_event_query_proto_rawDescGZIP(), []int{2}
  165. }
  166. func (x *CountEventResponse) GetStatement() string {
  167. if x != nil {
  168. return x.Statement
  169. }
  170. return ""
  171. }
  172. func (x *CountEventResponse) GetCount() int64 {
  173. if x != nil {
  174. return x.Count
  175. }
  176. return 0
  177. }
  178. type EventInfo struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
  183. Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
  184. Operation string `protobuf:"bytes,3,opt,name=Operation,proto3" json:"Operation,omitempty"`
  185. Value string `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
  186. CreatorID string `protobuf:"bytes,5,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"`
  187. CreateTimeUnix int64 `protobuf:"varint,6,opt,name=CreateTimeUnix,proto3" json:"CreateTimeUnix,omitempty"`
  188. }
  189. func (x *EventInfo) Reset() {
  190. *x = EventInfo{}
  191. if protoimpl.UnsafeEnabled {
  192. mi := &file_v1_response_event_query_proto_msgTypes[3]
  193. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  194. ms.StoreMessageInfo(mi)
  195. }
  196. }
  197. func (x *EventInfo) String() string {
  198. return protoimpl.X.MessageStringOf(x)
  199. }
  200. func (*EventInfo) ProtoMessage() {}
  201. func (x *EventInfo) ProtoReflect() protoreflect.Message {
  202. mi := &file_v1_response_event_query_proto_msgTypes[3]
  203. if protoimpl.UnsafeEnabled && x != nil {
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. if ms.LoadMessageInfo() == nil {
  206. ms.StoreMessageInfo(mi)
  207. }
  208. return ms
  209. }
  210. return mi.MessageOf(x)
  211. }
  212. // Deprecated: Use EventInfo.ProtoReflect.Descriptor instead.
  213. func (*EventInfo) Descriptor() ([]byte, []int) {
  214. return file_v1_response_event_query_proto_rawDescGZIP(), []int{3}
  215. }
  216. func (x *EventInfo) GetKey() string {
  217. if x != nil {
  218. return x.Key
  219. }
  220. return ""
  221. }
  222. func (x *EventInfo) GetVersion() string {
  223. if x != nil {
  224. return x.Version
  225. }
  226. return ""
  227. }
  228. func (x *EventInfo) GetOperation() string {
  229. if x != nil {
  230. return x.Operation
  231. }
  232. return ""
  233. }
  234. func (x *EventInfo) GetValue() string {
  235. if x != nil {
  236. return x.Value
  237. }
  238. return ""
  239. }
  240. func (x *EventInfo) GetCreatorID() string {
  241. if x != nil {
  242. return x.CreatorID
  243. }
  244. return ""
  245. }
  246. func (x *EventInfo) GetCreateTimeUnix() int64 {
  247. if x != nil {
  248. return x.CreateTimeUnix
  249. }
  250. return 0
  251. }
  252. var File_v1_response_event_query_proto protoreflect.FileDescriptor
  253. var file_v1_response_event_query_proto_rawDesc = []byte{
  254. 0x0a, 0x1d, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x65, 0x76,
  255. 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  256. 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x12, 0x45, 0x76,
  257. 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  258. 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
  259. 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29,
  260. 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  261. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e,
  262. 0x66, 0x6f, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74,
  263. 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x54,
  264. 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67,
  265. 0x65, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e,
  266. 0x6f, 0x22, 0x79, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f,
  267. 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53,
  268. 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  269. 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x49, 0x6e, 0x66,
  270. 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f,
  271. 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x49,
  272. 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03,
  273. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x48, 0x0a, 0x12,
  274. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  275. 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18,
  276. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,
  277. 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  278. 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74,
  279. 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  280. 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
  281. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  282. 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
  283. 0x01, 0x28, 0x09, 0x52, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14,
  284. 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56,
  285. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49,
  286. 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
  287. 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
  288. 0x55, 0x6e, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x43, 0x72, 0x65, 0x61,
  289. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x42, 0x21, 0x5a, 0x1f, 0x64, 0x70,
  290. 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70,
  291. 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70,
  292. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  293. }
  294. var (
  295. file_v1_response_event_query_proto_rawDescOnce sync.Once
  296. file_v1_response_event_query_proto_rawDescData = file_v1_response_event_query_proto_rawDesc
  297. )
  298. func file_v1_response_event_query_proto_rawDescGZIP() []byte {
  299. file_v1_response_event_query_proto_rawDescOnce.Do(func() {
  300. file_v1_response_event_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_event_query_proto_rawDescData)
  301. })
  302. return file_v1_response_event_query_proto_rawDescData
  303. }
  304. var file_v1_response_event_query_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  305. var file_v1_response_event_query_proto_goTypes = []interface{}{
  306. (*EventQueryResponse)(nil), // 0: response.EventQueryResponse
  307. (*EventQueryOnlyResponse)(nil), // 1: response.EventQueryOnlyResponse
  308. (*CountEventResponse)(nil), // 2: response.CountEventResponse
  309. (*EventInfo)(nil), // 3: response.EventInfo
  310. }
  311. var file_v1_response_event_query_proto_depIdxs = []int32{
  312. 3, // 0: response.EventQueryResponse.Infos:type_name -> response.EventInfo
  313. 3, // 1: response.EventQueryOnlyResponse.Infos:type_name -> response.EventInfo
  314. 2, // [2:2] is the sub-list for method output_type
  315. 2, // [2:2] is the sub-list for method input_type
  316. 2, // [2:2] is the sub-list for extension type_name
  317. 2, // [2:2] is the sub-list for extension extendee
  318. 0, // [0:2] is the sub-list for field type_name
  319. }
  320. func init() { file_v1_response_event_query_proto_init() }
  321. func file_v1_response_event_query_proto_init() {
  322. if File_v1_response_event_query_proto != nil {
  323. return
  324. }
  325. if !protoimpl.UnsafeEnabled {
  326. file_v1_response_event_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  327. switch v := v.(*EventQueryResponse); i {
  328. case 0:
  329. return &v.state
  330. case 1:
  331. return &v.sizeCache
  332. case 2:
  333. return &v.unknownFields
  334. default:
  335. return nil
  336. }
  337. }
  338. file_v1_response_event_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  339. switch v := v.(*EventQueryOnlyResponse); i {
  340. case 0:
  341. return &v.state
  342. case 1:
  343. return &v.sizeCache
  344. case 2:
  345. return &v.unknownFields
  346. default:
  347. return nil
  348. }
  349. }
  350. file_v1_response_event_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  351. switch v := v.(*CountEventResponse); i {
  352. case 0:
  353. return &v.state
  354. case 1:
  355. return &v.sizeCache
  356. case 2:
  357. return &v.unknownFields
  358. default:
  359. return nil
  360. }
  361. }
  362. file_v1_response_event_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  363. switch v := v.(*EventInfo); i {
  364. case 0:
  365. return &v.state
  366. case 1:
  367. return &v.sizeCache
  368. case 2:
  369. return &v.unknownFields
  370. default:
  371. return nil
  372. }
  373. }
  374. }
  375. type x struct{}
  376. out := protoimpl.TypeBuilder{
  377. File: protoimpl.DescBuilder{
  378. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  379. RawDescriptor: file_v1_response_event_query_proto_rawDesc,
  380. NumEnums: 0,
  381. NumMessages: 4,
  382. NumExtensions: 0,
  383. NumServices: 0,
  384. },
  385. GoTypes: file_v1_response_event_query_proto_goTypes,
  386. DependencyIndexes: file_v1_response_event_query_proto_depIdxs,
  387. MessageInfos: file_v1_response_event_query_proto_msgTypes,
  388. }.Build()
  389. File_v1_response_event_query_proto = out.File
  390. file_v1_response_event_query_proto_rawDesc = nil
  391. file_v1_response_event_query_proto_goTypes = nil
  392. file_v1_response_event_query_proto_depIdxs = nil
  393. }