// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.12.4 // source: v1/response/event_query.proto package response import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type EventQueryResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"` Infos []*EventInfo `protobuf:"bytes,2,rep,name=Infos,proto3" json:"Infos,omitempty"` TotalCount int64 `protobuf:"varint,3,opt,name=TotalCount,proto3" json:"TotalCount,omitempty"` PageNo int32 `protobuf:"varint,4,opt,name=PageNo,proto3" json:"PageNo,omitempty"` } func (x *EventQueryResponse) Reset() { *x = EventQueryResponse{} if protoimpl.UnsafeEnabled { mi := &file_v1_response_event_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EventQueryResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*EventQueryResponse) ProtoMessage() {} func (x *EventQueryResponse) ProtoReflect() protoreflect.Message { mi := &file_v1_response_event_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EventQueryResponse.ProtoReflect.Descriptor instead. func (*EventQueryResponse) Descriptor() ([]byte, []int) { return file_v1_response_event_query_proto_rawDescGZIP(), []int{0} } func (x *EventQueryResponse) GetStatement() string { if x != nil { return x.Statement } return "" } func (x *EventQueryResponse) GetInfos() []*EventInfo { if x != nil { return x.Infos } return nil } func (x *EventQueryResponse) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } func (x *EventQueryResponse) GetPageNo() int32 { if x != nil { return x.PageNo } return 0 } type EventQueryOnlyResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"` Infos []*EventInfo `protobuf:"bytes,2,rep,name=Infos,proto3" json:"Infos,omitempty"` PageNo int32 `protobuf:"varint,3,opt,name=PageNo,proto3" json:"PageNo,omitempty"` } func (x *EventQueryOnlyResponse) Reset() { *x = EventQueryOnlyResponse{} if protoimpl.UnsafeEnabled { mi := &file_v1_response_event_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EventQueryOnlyResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*EventQueryOnlyResponse) ProtoMessage() {} func (x *EventQueryOnlyResponse) ProtoReflect() protoreflect.Message { mi := &file_v1_response_event_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EventQueryOnlyResponse.ProtoReflect.Descriptor instead. func (*EventQueryOnlyResponse) Descriptor() ([]byte, []int) { return file_v1_response_event_query_proto_rawDescGZIP(), []int{1} } func (x *EventQueryOnlyResponse) GetStatement() string { if x != nil { return x.Statement } return "" } func (x *EventQueryOnlyResponse) GetInfos() []*EventInfo { if x != nil { return x.Infos } return nil } func (x *EventQueryOnlyResponse) GetPageNo() int32 { if x != nil { return x.PageNo } return 0 } type CountEventResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Statement string `protobuf:"bytes,1,opt,name=Statement,proto3" json:"Statement,omitempty"` Count int64 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"` } func (x *CountEventResponse) Reset() { *x = CountEventResponse{} if protoimpl.UnsafeEnabled { mi := &file_v1_response_event_query_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CountEventResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountEventResponse) ProtoMessage() {} func (x *CountEventResponse) ProtoReflect() protoreflect.Message { mi := &file_v1_response_event_query_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CountEventResponse.ProtoReflect.Descriptor instead. func (*CountEventResponse) Descriptor() ([]byte, []int) { return file_v1_response_event_query_proto_rawDescGZIP(), []int{2} } func (x *CountEventResponse) GetStatement() string { if x != nil { return x.Statement } return "" } func (x *CountEventResponse) GetCount() int64 { if x != nil { return x.Count } return 0 } type EventInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` Operation string `protobuf:"bytes,3,opt,name=Operation,proto3" json:"Operation,omitempty"` Value string `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` CreatorID string `protobuf:"bytes,5,opt,name=CreatorID,proto3" json:"CreatorID,omitempty"` CreateTimeUnix int64 `protobuf:"varint,6,opt,name=CreateTimeUnix,proto3" json:"CreateTimeUnix,omitempty"` } func (x *EventInfo) Reset() { *x = EventInfo{} if protoimpl.UnsafeEnabled { mi := &file_v1_response_event_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EventInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*EventInfo) ProtoMessage() {} func (x *EventInfo) ProtoReflect() protoreflect.Message { mi := &file_v1_response_event_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EventInfo.ProtoReflect.Descriptor instead. func (*EventInfo) Descriptor() ([]byte, []int) { return file_v1_response_event_query_proto_rawDescGZIP(), []int{3} } func (x *EventInfo) GetKey() string { if x != nil { return x.Key } return "" } func (x *EventInfo) GetVersion() string { if x != nil { return x.Version } return "" } func (x *EventInfo) GetOperation() string { if x != nil { return x.Operation } return "" } func (x *EventInfo) GetValue() string { if x != nil { return x.Value } return "" } func (x *EventInfo) GetCreatorID() string { if x != nil { return x.CreatorID } return "" } func (x *EventInfo) GetCreateTimeUnix() int64 { if x != nil { return x.CreateTimeUnix } return 0 } var File_v1_response_event_query_proto protoreflect.FileDescriptor var file_v1_response_event_query_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x79, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x50, 0x61, 0x67, 0x65, 0x4e, 0x6f, 0x22, 0x48, 0x0a, 0x12, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x42, 0x21, 0x5a, 0x1f, 0x64, 0x70, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x62, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_v1_response_event_query_proto_rawDescOnce sync.Once file_v1_response_event_query_proto_rawDescData = file_v1_response_event_query_proto_rawDesc ) func file_v1_response_event_query_proto_rawDescGZIP() []byte { file_v1_response_event_query_proto_rawDescOnce.Do(func() { file_v1_response_event_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_response_event_query_proto_rawDescData) }) return file_v1_response_event_query_proto_rawDescData } var file_v1_response_event_query_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_v1_response_event_query_proto_goTypes = []interface{}{ (*EventQueryResponse)(nil), // 0: response.EventQueryResponse (*EventQueryOnlyResponse)(nil), // 1: response.EventQueryOnlyResponse (*CountEventResponse)(nil), // 2: response.CountEventResponse (*EventInfo)(nil), // 3: response.EventInfo } var file_v1_response_event_query_proto_depIdxs = []int32{ 3, // 0: response.EventQueryResponse.Infos:type_name -> response.EventInfo 3, // 1: response.EventQueryOnlyResponse.Infos:type_name -> response.EventInfo 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_v1_response_event_query_proto_init() } func file_v1_response_event_query_proto_init() { if File_v1_response_event_query_proto != nil { return } if !protoimpl.UnsafeEnabled { file_v1_response_event_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventQueryResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_v1_response_event_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventQueryOnlyResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_v1_response_event_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountEventResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_v1_response_event_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_v1_response_event_query_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_v1_response_event_query_proto_goTypes, DependencyIndexes: file_v1_response_event_query_proto_depIdxs, MessageInfos: file_v1_response_event_query_proto_msgTypes, }.Build() File_v1_response_event_query_proto = out.File file_v1_response_event_query_proto_rawDesc = nil file_v1_response_event_query_proto_goTypes = nil file_v1_response_event_query_proto_depIdxs = nil }