event_query.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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 CountEventResponse 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. Count int64 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
  85. }
  86. func (x *CountEventResponse) Reset() {
  87. *x = CountEventResponse{}
  88. if protoimpl.UnsafeEnabled {
  89. mi := &file_v1_response_event_query_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. }
  94. func (x *CountEventResponse) String() string {
  95. return protoimpl.X.MessageStringOf(x)
  96. }
  97. func (*CountEventResponse) ProtoMessage() {}
  98. func (x *CountEventResponse) ProtoReflect() protoreflect.Message {
  99. mi := &file_v1_response_event_query_proto_msgTypes[1]
  100. if protoimpl.UnsafeEnabled && x != nil {
  101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  102. if ms.LoadMessageInfo() == nil {
  103. ms.StoreMessageInfo(mi)
  104. }
  105. return ms
  106. }
  107. return mi.MessageOf(x)
  108. }
  109. // Deprecated: Use CountEventResponse.ProtoReflect.Descriptor instead.
  110. func (*CountEventResponse) Descriptor() ([]byte, []int) {
  111. return file_v1_response_event_query_proto_rawDescGZIP(), []int{1}
  112. }
  113. func (x *CountEventResponse) GetStatement() string {
  114. if x != nil {
  115. return x.Statement
  116. }
  117. return ""
  118. }
  119. func (x *CountEventResponse) GetCount() int64 {
  120. if x != nil {
  121. return x.Count
  122. }
  123. return 0
  124. }
  125. type EventInfo struct {
  126. state protoimpl.MessageState
  127. sizeCache protoimpl.SizeCache
  128. unknownFields protoimpl.UnknownFields
  129. Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
  130. Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
  131. Operation string `protobuf:"bytes,3,opt,name=Operation,proto3" json:"Operation,omitempty"`
  132. Value string `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
  133. CreatorID string `protobuf:"bytes,5,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"`
  134. CreateTimeUnixNano int64 `protobuf:"varint,6,opt,name=CreateTimeUnixNano,proto3" json:"CreateTimeUnixNano,omitempty"`
  135. }
  136. func (x *EventInfo) Reset() {
  137. *x = EventInfo{}
  138. if protoimpl.UnsafeEnabled {
  139. mi := &file_v1_response_event_query_proto_msgTypes[2]
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. ms.StoreMessageInfo(mi)
  142. }
  143. }
  144. func (x *EventInfo) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*EventInfo) ProtoMessage() {}
  148. func (x *EventInfo) ProtoReflect() protoreflect.Message {
  149. mi := &file_v1_response_event_query_proto_msgTypes[2]
  150. if protoimpl.UnsafeEnabled && x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use EventInfo.ProtoReflect.Descriptor instead.
  160. func (*EventInfo) Descriptor() ([]byte, []int) {
  161. return file_v1_response_event_query_proto_rawDescGZIP(), []int{2}
  162. }
  163. func (x *EventInfo) GetKey() string {
  164. if x != nil {
  165. return x.Key
  166. }
  167. return ""
  168. }
  169. func (x *EventInfo) GetVersion() string {
  170. if x != nil {
  171. return x.Version
  172. }
  173. return ""
  174. }
  175. func (x *EventInfo) GetOperation() string {
  176. if x != nil {
  177. return x.Operation
  178. }
  179. return ""
  180. }
  181. func (x *EventInfo) GetValue() string {
  182. if x != nil {
  183. return x.Value
  184. }
  185. return ""
  186. }
  187. func (x *EventInfo) GetCreatorID() string {
  188. if x != nil {
  189. return x.CreatorID
  190. }
  191. return ""
  192. }
  193. func (x *EventInfo) GetCreateTimeUnixNano() int64 {
  194. if x != nil {
  195. return x.CreateTimeUnixNano
  196. }
  197. return 0
  198. }
  199. var File_v1_response_event_query_proto protoreflect.FileDescriptor
  200. var file_v1_response_event_query_proto_rawDesc = []byte{
  201. 0x0a, 0x1d, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x65, 0x76,
  202. 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  203. 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x12, 0x45, 0x76,
  204. 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  205. 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
  206. 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29,
  207. 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
  208. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e,
  209. 0x66, 0x6f, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74,
  210. 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x54,
  211. 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67,
  212. 0x65, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e,
  213. 0x6f, 0x22, 0x48, 0x0a, 0x12, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
  214. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65,
  215. 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74,
  216. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
  217. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb9, 0x01, 0x0a, 0x09,
  218. 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79,
  219. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x56,
  220. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65,
  221. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  222. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
  223. 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01,
  224. 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65,
  225. 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x72,
  226. 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74,
  227. 0x65, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x18, 0x06, 0x20,
  228. 0x01, 0x28, 0x03, 0x52, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x55,
  229. 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x42, 0x21, 0x5a, 0x1f, 0x64, 0x70, 0x73, 0x2f, 0x61,
  230. 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76,
  231. 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  232. 0x6f, 0x33,
  233. }
  234. var (
  235. file_v1_response_event_query_proto_rawDescOnce sync.Once
  236. file_v1_response_event_query_proto_rawDescData = file_v1_response_event_query_proto_rawDesc
  237. )
  238. func file_v1_response_event_query_proto_rawDescGZIP() []byte {
  239. file_v1_response_event_query_proto_rawDescOnce.Do(func() {
  240. file_v1_response_event_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_event_query_proto_rawDescData)
  241. })
  242. return file_v1_response_event_query_proto_rawDescData
  243. }
  244. var file_v1_response_event_query_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  245. var file_v1_response_event_query_proto_goTypes = []interface{}{
  246. (*EventQueryResponse)(nil), // 0: response.EventQueryResponse
  247. (*CountEventResponse)(nil), // 1: response.CountEventResponse
  248. (*EventInfo)(nil), // 2: response.EventInfo
  249. }
  250. var file_v1_response_event_query_proto_depIdxs = []int32{
  251. 2, // 0: response.EventQueryResponse.Infos:type_name -> response.EventInfo
  252. 1, // [1:1] is the sub-list for method output_type
  253. 1, // [1:1] is the sub-list for method input_type
  254. 1, // [1:1] is the sub-list for extension type_name
  255. 1, // [1:1] is the sub-list for extension extendee
  256. 0, // [0:1] is the sub-list for field type_name
  257. }
  258. func init() { file_v1_response_event_query_proto_init() }
  259. func file_v1_response_event_query_proto_init() {
  260. if File_v1_response_event_query_proto != nil {
  261. return
  262. }
  263. if !protoimpl.UnsafeEnabled {
  264. file_v1_response_event_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  265. switch v := v.(*EventQueryResponse); i {
  266. case 0:
  267. return &v.state
  268. case 1:
  269. return &v.sizeCache
  270. case 2:
  271. return &v.unknownFields
  272. default:
  273. return nil
  274. }
  275. }
  276. file_v1_response_event_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  277. switch v := v.(*CountEventResponse); i {
  278. case 0:
  279. return &v.state
  280. case 1:
  281. return &v.sizeCache
  282. case 2:
  283. return &v.unknownFields
  284. default:
  285. return nil
  286. }
  287. }
  288. file_v1_response_event_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  289. switch v := v.(*EventInfo); i {
  290. case 0:
  291. return &v.state
  292. case 1:
  293. return &v.sizeCache
  294. case 2:
  295. return &v.unknownFields
  296. default:
  297. return nil
  298. }
  299. }
  300. }
  301. type x struct{}
  302. out := protoimpl.TypeBuilder{
  303. File: protoimpl.DescBuilder{
  304. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  305. RawDescriptor: file_v1_response_event_query_proto_rawDesc,
  306. NumEnums: 0,
  307. NumMessages: 3,
  308. NumExtensions: 0,
  309. NumServices: 0,
  310. },
  311. GoTypes: file_v1_response_event_query_proto_goTypes,
  312. DependencyIndexes: file_v1_response_event_query_proto_depIdxs,
  313. MessageInfos: file_v1_response_event_query_proto_msgTypes,
  314. }.Build()
  315. File_v1_response_event_query_proto = out.File
  316. file_v1_response_event_query_proto_rawDesc = nil
  317. file_v1_response_event_query_proto_goTypes = nil
  318. file_v1_response_event_query_proto_depIdxs = nil
  319. }