// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.19.6 // source: service_user_account_log.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 CountUserAccountLogsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserAccountId int64 `protobuf:"varint,1,opt,name=userAccountId,proto3" json:"userAccountId,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` EventType string `protobuf:"bytes,3,opt,name=eventType,proto3" json:"eventType,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CountUserAccountLogsRequest) Reset() { *x = CountUserAccountLogsRequest{} mi := &file_service_user_account_log_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CountUserAccountLogsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CountUserAccountLogsRequest) ProtoMessage() {} func (x *CountUserAccountLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_log_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CountUserAccountLogsRequest.ProtoReflect.Descriptor instead. func (*CountUserAccountLogsRequest) Descriptor() ([]byte, []int) { return file_service_user_account_log_proto_rawDescGZIP(), []int{0} } func (x *CountUserAccountLogsRequest) GetUserAccountId() int64 { if x != nil { return x.UserAccountId } return 0 } func (x *CountUserAccountLogsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *CountUserAccountLogsRequest) GetEventType() string { if x != nil { return x.EventType } return "" } // 列出单页日志 type ListUserAccountLogsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserAccountId int64 `protobuf:"varint,1,opt,name=userAccountId,proto3" json:"userAccountId,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` EventType string `protobuf:"bytes,3,opt,name=eventType,proto3" json:"eventType,omitempty"` Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListUserAccountLogsRequest) Reset() { *x = ListUserAccountLogsRequest{} mi := &file_service_user_account_log_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListUserAccountLogsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountLogsRequest) ProtoMessage() {} func (x *ListUserAccountLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_log_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserAccountLogsRequest.ProtoReflect.Descriptor instead. func (*ListUserAccountLogsRequest) Descriptor() ([]byte, []int) { return file_service_user_account_log_proto_rawDescGZIP(), []int{1} } func (x *ListUserAccountLogsRequest) GetUserAccountId() int64 { if x != nil { return x.UserAccountId } return 0 } func (x *ListUserAccountLogsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *ListUserAccountLogsRequest) GetEventType() string { if x != nil { return x.EventType } return "" } func (x *ListUserAccountLogsRequest) GetOffset() int64 { if x != nil { return x.Offset } return 0 } func (x *ListUserAccountLogsRequest) GetSize() int64 { if x != nil { return x.Size } return 0 } type ListUserAccountLogsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` UserAccountLogs []*UserAccountLog `protobuf:"bytes,1,rep,name=userAccountLogs,proto3" json:"userAccountLogs,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListUserAccountLogsResponse) Reset() { *x = ListUserAccountLogsResponse{} mi := &file_service_user_account_log_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListUserAccountLogsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountLogsResponse) ProtoMessage() {} func (x *ListUserAccountLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_log_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListUserAccountLogsResponse.ProtoReflect.Descriptor instead. func (*ListUserAccountLogsResponse) Descriptor() ([]byte, []int) { return file_service_user_account_log_proto_rawDescGZIP(), []int{2} } func (x *ListUserAccountLogsResponse) GetUserAccountLogs() []*UserAccountLog { if x != nil { return x.UserAccountLogs } return nil } var File_service_user_account_log_proto protoreflect.FileDescriptor const file_service_user_account_log_proto_rawDesc = "" + "\n" + "\x1eservice_user_account_log.proto\x12\x02pb\x1a#models/model_user_account_log.proto\x1a\x19models/rpc_messages.proto\"{\n" + "\x1bCountUserAccountLogsRequest\x12$\n" + "\ruserAccountId\x18\x01 \x01(\x03R\ruserAccountId\x12\x18\n" + "\akeyword\x18\x02 \x01(\tR\akeyword\x12\x1c\n" + "\teventType\x18\x03 \x01(\tR\teventType\"\xa6\x01\n" + "\x1aListUserAccountLogsRequest\x12$\n" + "\ruserAccountId\x18\x01 \x01(\x03R\ruserAccountId\x12\x18\n" + "\akeyword\x18\x02 \x01(\tR\akeyword\x12\x1c\n" + "\teventType\x18\x03 \x01(\tR\teventType\x12\x16\n" + "\x06offset\x18\x04 \x01(\x03R\x06offset\x12\x12\n" + "\x04size\x18\x05 \x01(\x03R\x04size\"[\n" + "\x1bListUserAccountLogsResponse\x12<\n" + "\x0fuserAccountLogs\x18\x01 \x03(\v2\x12.pb.UserAccountLogR\x0fuserAccountLogs2\xbe\x01\n" + "\x15UserAccountLogService\x12M\n" + "\x14countUserAccountLogs\x12\x1f.pb.CountUserAccountLogsRequest\x1a\x14.pb.RPCCountResponse\x12V\n" + "\x13listUserAccountLogs\x12\x1e.pb.ListUserAccountLogsRequest\x1a\x1f.pb.ListUserAccountLogsResponseB\x06Z\x04./pbb\x06proto3" var ( file_service_user_account_log_proto_rawDescOnce sync.Once file_service_user_account_log_proto_rawDescData []byte ) func file_service_user_account_log_proto_rawDescGZIP() []byte { file_service_user_account_log_proto_rawDescOnce.Do(func() { file_service_user_account_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_user_account_log_proto_rawDesc), len(file_service_user_account_log_proto_rawDesc))) }) return file_service_user_account_log_proto_rawDescData } var file_service_user_account_log_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_service_user_account_log_proto_goTypes = []any{ (*CountUserAccountLogsRequest)(nil), // 0: pb.CountUserAccountLogsRequest (*ListUserAccountLogsRequest)(nil), // 1: pb.ListUserAccountLogsRequest (*ListUserAccountLogsResponse)(nil), // 2: pb.ListUserAccountLogsResponse (*UserAccountLog)(nil), // 3: pb.UserAccountLog (*RPCCountResponse)(nil), // 4: pb.RPCCountResponse } var file_service_user_account_log_proto_depIdxs = []int32{ 3, // 0: pb.ListUserAccountLogsResponse.userAccountLogs:type_name -> pb.UserAccountLog 0, // 1: pb.UserAccountLogService.countUserAccountLogs:input_type -> pb.CountUserAccountLogsRequest 1, // 2: pb.UserAccountLogService.listUserAccountLogs:input_type -> pb.ListUserAccountLogsRequest 4, // 3: pb.UserAccountLogService.countUserAccountLogs:output_type -> pb.RPCCountResponse 2, // 4: pb.UserAccountLogService.listUserAccountLogs:output_type -> pb.ListUserAccountLogsResponse 3, // [3:5] is the sub-list for method output_type 1, // [1:3] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_service_user_account_log_proto_init() } func file_service_user_account_log_proto_init() { if File_service_user_account_log_proto != nil { return } file_models_model_user_account_log_proto_init() file_models_rpc_messages_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_user_account_log_proto_rawDesc), len(file_service_user_account_log_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_user_account_log_proto_goTypes, DependencyIndexes: file_service_user_account_log_proto_depIdxs, MessageInfos: file_service_user_account_log_proto_msgTypes, }.Build() File_service_user_account_log_proto = out.File file_service_user_account_log_proto_goTypes = nil file_service_user_account_log_proto_depIdxs = nil }