// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.19.4 // source: service_user_account_daily_stat.proto package pb import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 // 列出按天统计 type ListUserAccountDailyStatsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields DayFrom string `protobuf:"bytes,1,opt,name=dayFrom,proto3" json:"dayFrom,omitempty"` DayTo string `protobuf:"bytes,2,opt,name=dayTo,proto3" json:"dayTo,omitempty"` } func (x *ListUserAccountDailyStatsRequest) Reset() { *x = ListUserAccountDailyStatsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountDailyStatsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountDailyStatsRequest) ProtoMessage() {} func (x *ListUserAccountDailyStatsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_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 ListUserAccountDailyStatsRequest.ProtoReflect.Descriptor instead. func (*ListUserAccountDailyStatsRequest) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{0} } func (x *ListUserAccountDailyStatsRequest) GetDayFrom() string { if x != nil { return x.DayFrom } return "" } func (x *ListUserAccountDailyStatsRequest) GetDayTo() string { if x != nil { return x.DayTo } return "" } type ListUserAccountDailyStatsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Stats []*ListUserAccountDailyStatsResponse_Stat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } func (x *ListUserAccountDailyStatsResponse) Reset() { *x = ListUserAccountDailyStatsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountDailyStatsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountDailyStatsResponse) ProtoMessage() {} func (x *ListUserAccountDailyStatsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_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 ListUserAccountDailyStatsResponse.ProtoReflect.Descriptor instead. func (*ListUserAccountDailyStatsResponse) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{1} } func (x *ListUserAccountDailyStatsResponse) GetStats() []*ListUserAccountDailyStatsResponse_Stat { if x != nil { return x.Stats } return nil } // 列出按月统计 type ListUserAccountMonthlyStatsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields DayFrom string `protobuf:"bytes,1,opt,name=dayFrom,proto3" json:"dayFrom,omitempty"` DayTo string `protobuf:"bytes,2,opt,name=dayTo,proto3" json:"dayTo,omitempty"` } func (x *ListUserAccountMonthlyStatsRequest) Reset() { *x = ListUserAccountMonthlyStatsRequest{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountMonthlyStatsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountMonthlyStatsRequest) ProtoMessage() {} func (x *ListUserAccountMonthlyStatsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_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 ListUserAccountMonthlyStatsRequest.ProtoReflect.Descriptor instead. func (*ListUserAccountMonthlyStatsRequest) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{2} } func (x *ListUserAccountMonthlyStatsRequest) GetDayFrom() string { if x != nil { return x.DayFrom } return "" } func (x *ListUserAccountMonthlyStatsRequest) GetDayTo() string { if x != nil { return x.DayTo } return "" } type ListUserAccountMonthlyStatsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Stats []*ListUserAccountMonthlyStatsResponse_Stat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } func (x *ListUserAccountMonthlyStatsResponse) Reset() { *x = ListUserAccountMonthlyStatsResponse{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountMonthlyStatsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountMonthlyStatsResponse) ProtoMessage() {} func (x *ListUserAccountMonthlyStatsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_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 ListUserAccountMonthlyStatsResponse.ProtoReflect.Descriptor instead. func (*ListUserAccountMonthlyStatsResponse) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{3} } func (x *ListUserAccountMonthlyStatsResponse) GetStats() []*ListUserAccountMonthlyStatsResponse_Stat { if x != nil { return x.Stats } return nil } type ListUserAccountDailyStatsResponse_Stat struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"` // YYYYMMDD Income float32 `protobuf:"fixed32,2,opt,name=income,proto3" json:"income,omitempty"` Expense float32 `protobuf:"fixed32,3,opt,name=expense,proto3" json:"expense,omitempty"` } func (x *ListUserAccountDailyStatsResponse_Stat) Reset() { *x = ListUserAccountDailyStatsResponse_Stat{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountDailyStatsResponse_Stat) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountDailyStatsResponse_Stat) ProtoMessage() {} func (x *ListUserAccountDailyStatsResponse_Stat) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_proto_msgTypes[4] 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 ListUserAccountDailyStatsResponse_Stat.ProtoReflect.Descriptor instead. func (*ListUserAccountDailyStatsResponse_Stat) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{1, 0} } func (x *ListUserAccountDailyStatsResponse_Stat) GetDay() string { if x != nil { return x.Day } return "" } func (x *ListUserAccountDailyStatsResponse_Stat) GetIncome() float32 { if x != nil { return x.Income } return 0 } func (x *ListUserAccountDailyStatsResponse_Stat) GetExpense() float32 { if x != nil { return x.Expense } return 0 } type ListUserAccountMonthlyStatsResponse_Stat struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Month string `protobuf:"bytes,1,opt,name=month,proto3" json:"month,omitempty"` // YYYYMM Income float32 `protobuf:"fixed32,2,opt,name=income,proto3" json:"income,omitempty"` Expense float32 `protobuf:"fixed32,3,opt,name=expense,proto3" json:"expense,omitempty"` } func (x *ListUserAccountMonthlyStatsResponse_Stat) Reset() { *x = ListUserAccountMonthlyStatsResponse_Stat{} if protoimpl.UnsafeEnabled { mi := &file_service_user_account_daily_stat_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListUserAccountMonthlyStatsResponse_Stat) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListUserAccountMonthlyStatsResponse_Stat) ProtoMessage() {} func (x *ListUserAccountMonthlyStatsResponse_Stat) ProtoReflect() protoreflect.Message { mi := &file_service_user_account_daily_stat_proto_msgTypes[5] 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 ListUserAccountMonthlyStatsResponse_Stat.ProtoReflect.Descriptor instead. func (*ListUserAccountMonthlyStatsResponse_Stat) Descriptor() ([]byte, []int) { return file_service_user_account_daily_stat_proto_rawDescGZIP(), []int{3, 0} } func (x *ListUserAccountMonthlyStatsResponse_Stat) GetMonth() string { if x != nil { return x.Month } return "" } func (x *ListUserAccountMonthlyStatsResponse_Stat) GetIncome() float32 { if x != nil { return x.Income } return 0 } func (x *ListUserAccountMonthlyStatsResponse_Stat) GetExpense() float32 { if x != nil { return x.Expense } return 0 } var File_service_user_account_daily_stat_proto protoreflect.FileDescriptor var file_service_user_account_daily_stat_proto_rawDesc = []byte{ 0x0a, 0x25, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x52, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x4a, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x4e, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x73, 0x65, 0x32, 0xf7, 0x01, 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x6c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_service_user_account_daily_stat_proto_rawDescOnce sync.Once file_service_user_account_daily_stat_proto_rawDescData = file_service_user_account_daily_stat_proto_rawDesc ) func file_service_user_account_daily_stat_proto_rawDescGZIP() []byte { file_service_user_account_daily_stat_proto_rawDescOnce.Do(func() { file_service_user_account_daily_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_user_account_daily_stat_proto_rawDescData) }) return file_service_user_account_daily_stat_proto_rawDescData } var file_service_user_account_daily_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_service_user_account_daily_stat_proto_goTypes = []interface{}{ (*ListUserAccountDailyStatsRequest)(nil), // 0: pb.ListUserAccountDailyStatsRequest (*ListUserAccountDailyStatsResponse)(nil), // 1: pb.ListUserAccountDailyStatsResponse (*ListUserAccountMonthlyStatsRequest)(nil), // 2: pb.ListUserAccountMonthlyStatsRequest (*ListUserAccountMonthlyStatsResponse)(nil), // 3: pb.ListUserAccountMonthlyStatsResponse (*ListUserAccountDailyStatsResponse_Stat)(nil), // 4: pb.ListUserAccountDailyStatsResponse.Stat (*ListUserAccountMonthlyStatsResponse_Stat)(nil), // 5: pb.ListUserAccountMonthlyStatsResponse.Stat } var file_service_user_account_daily_stat_proto_depIdxs = []int32{ 4, // 0: pb.ListUserAccountDailyStatsResponse.stats:type_name -> pb.ListUserAccountDailyStatsResponse.Stat 5, // 1: pb.ListUserAccountMonthlyStatsResponse.stats:type_name -> pb.ListUserAccountMonthlyStatsResponse.Stat 0, // 2: pb.UserAccountDailyStatService.listUserAccountDailyStats:input_type -> pb.ListUserAccountDailyStatsRequest 2, // 3: pb.UserAccountDailyStatService.listUserAccountMonthlyStats:input_type -> pb.ListUserAccountMonthlyStatsRequest 1, // 4: pb.UserAccountDailyStatService.listUserAccountDailyStats:output_type -> pb.ListUserAccountDailyStatsResponse 3, // 5: pb.UserAccountDailyStatService.listUserAccountMonthlyStats:output_type -> pb.ListUserAccountMonthlyStatsResponse 4, // [4:6] is the sub-list for method output_type 2, // [2:4] 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_service_user_account_daily_stat_proto_init() } func file_service_user_account_daily_stat_proto_init() { if File_service_user_account_daily_stat_proto != nil { return } if !protoimpl.UnsafeEnabled { file_service_user_account_daily_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountDailyStatsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_user_account_daily_stat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountDailyStatsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_user_account_daily_stat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountMonthlyStatsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_user_account_daily_stat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountMonthlyStatsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_user_account_daily_stat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountDailyStatsResponse_Stat); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_service_user_account_daily_stat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUserAccountMonthlyStatsResponse_Stat); 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_service_user_account_daily_stat_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, GoTypes: file_service_user_account_daily_stat_proto_goTypes, DependencyIndexes: file_service_user_account_daily_stat_proto_depIdxs, MessageInfos: file_service_user_account_daily_stat_proto_msgTypes, }.Build() File_service_user_account_daily_stat_proto = out.File file_service_user_account_daily_stat_proto_rawDesc = nil file_service_user_account_daily_stat_proto_goTypes = nil file_service_user_account_daily_stat_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // UserAccountDailyStatServiceClient is the client API for UserAccountDailyStatService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type UserAccountDailyStatServiceClient interface { // 列出按天统计 ListUserAccountDailyStats(ctx context.Context, in *ListUserAccountDailyStatsRequest, opts ...grpc.CallOption) (*ListUserAccountDailyStatsResponse, error) // 列出按月统计 ListUserAccountMonthlyStats(ctx context.Context, in *ListUserAccountMonthlyStatsRequest, opts ...grpc.CallOption) (*ListUserAccountMonthlyStatsResponse, error) } type userAccountDailyStatServiceClient struct { cc grpc.ClientConnInterface } func NewUserAccountDailyStatServiceClient(cc grpc.ClientConnInterface) UserAccountDailyStatServiceClient { return &userAccountDailyStatServiceClient{cc} } func (c *userAccountDailyStatServiceClient) ListUserAccountDailyStats(ctx context.Context, in *ListUserAccountDailyStatsRequest, opts ...grpc.CallOption) (*ListUserAccountDailyStatsResponse, error) { out := new(ListUserAccountDailyStatsResponse) err := c.cc.Invoke(ctx, "/pb.UserAccountDailyStatService/listUserAccountDailyStats", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *userAccountDailyStatServiceClient) ListUserAccountMonthlyStats(ctx context.Context, in *ListUserAccountMonthlyStatsRequest, opts ...grpc.CallOption) (*ListUserAccountMonthlyStatsResponse, error) { out := new(ListUserAccountMonthlyStatsResponse) err := c.cc.Invoke(ctx, "/pb.UserAccountDailyStatService/listUserAccountMonthlyStats", in, out, opts...) if err != nil { return nil, err } return out, nil } // UserAccountDailyStatServiceServer is the server API for UserAccountDailyStatService service. type UserAccountDailyStatServiceServer interface { // 列出按天统计 ListUserAccountDailyStats(context.Context, *ListUserAccountDailyStatsRequest) (*ListUserAccountDailyStatsResponse, error) // 列出按月统计 ListUserAccountMonthlyStats(context.Context, *ListUserAccountMonthlyStatsRequest) (*ListUserAccountMonthlyStatsResponse, error) } // UnimplementedUserAccountDailyStatServiceServer can be embedded to have forward compatible implementations. type UnimplementedUserAccountDailyStatServiceServer struct { } func (*UnimplementedUserAccountDailyStatServiceServer) ListUserAccountDailyStats(context.Context, *ListUserAccountDailyStatsRequest) (*ListUserAccountDailyStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListUserAccountDailyStats not implemented") } func (*UnimplementedUserAccountDailyStatServiceServer) ListUserAccountMonthlyStats(context.Context, *ListUserAccountMonthlyStatsRequest) (*ListUserAccountMonthlyStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListUserAccountMonthlyStats not implemented") } func RegisterUserAccountDailyStatServiceServer(s *grpc.Server, srv UserAccountDailyStatServiceServer) { s.RegisterService(&_UserAccountDailyStatService_serviceDesc, srv) } func _UserAccountDailyStatService_ListUserAccountDailyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListUserAccountDailyStatsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserAccountDailyStatServiceServer).ListUserAccountDailyStats(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.UserAccountDailyStatService/ListUserAccountDailyStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserAccountDailyStatServiceServer).ListUserAccountDailyStats(ctx, req.(*ListUserAccountDailyStatsRequest)) } return interceptor(ctx, in, info, handler) } func _UserAccountDailyStatService_ListUserAccountMonthlyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListUserAccountMonthlyStatsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(UserAccountDailyStatServiceServer).ListUserAccountMonthlyStats(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.UserAccountDailyStatService/ListUserAccountMonthlyStats", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(UserAccountDailyStatServiceServer).ListUserAccountMonthlyStats(ctx, req.(*ListUserAccountMonthlyStatsRequest)) } return interceptor(ctx, in, info, handler) } var _UserAccountDailyStatService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.UserAccountDailyStatService", HandlerType: (*UserAccountDailyStatServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "listUserAccountDailyStats", Handler: _UserAccountDailyStatService_ListUserAccountDailyStats_Handler, }, { MethodName: "listUserAccountMonthlyStats", Handler: _UserAccountDailyStatService_ListUserAccountMonthlyStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_user_account_daily_stat.proto", }