1511 lines
50 KiB
Go
1511 lines
50 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.34.0
|
||
// source: statistic.proto
|
||
|
||
package statistic
|
||
|
||
import (
|
||
event "github.com/topfans/backend/pkg/proto/event"
|
||
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)
|
||
)
|
||
|
||
// ====== 1. 今日概览 ======
|
||
type GetTodayOverviewRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetTodayOverviewRequest) Reset() {
|
||
*x = GetTodayOverviewRequest{}
|
||
mi := &file_statistic_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetTodayOverviewRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetTodayOverviewRequest) ProtoMessage() {}
|
||
|
||
func (x *GetTodayOverviewRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_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 GetTodayOverviewRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetTodayOverviewRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *GetTodayOverviewRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetTodayOverviewResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CrystalBalance int64 `protobuf:"varint,1,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"`
|
||
TodayIncome int64 `protobuf:"varint,2,opt,name=today_income,json=todayIncome,proto3" json:"today_income,omitempty"`
|
||
WeekRank int32 `protobuf:"varint,3,opt,name=week_rank,json=weekRank,proto3" json:"week_rank,omitempty"` // 本期完整实现
|
||
WeekTotalUsers int32 `protobuf:"varint,4,opt,name=week_total_users,json=weekTotalUsers,proto3" json:"week_total_users,omitempty"` // 用于"击败 X%"展示
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) Reset() {
|
||
*x = GetTodayOverviewResponse{}
|
||
mi := &file_statistic_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetTodayOverviewResponse) ProtoMessage() {}
|
||
|
||
func (x *GetTodayOverviewResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_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 GetTodayOverviewResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetTodayOverviewResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) GetCrystalBalance() int64 {
|
||
if x != nil {
|
||
return x.CrystalBalance
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) GetTodayIncome() int64 {
|
||
if x != nil {
|
||
return x.TodayIncome
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) GetWeekRank() int32 {
|
||
if x != nil {
|
||
return x.WeekRank
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetTodayOverviewResponse) GetWeekTotalUsers() int32 {
|
||
if x != nil {
|
||
return x.WeekTotalUsers
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// ====== 2. 七日收益曲线 ======
|
||
type Get7DayIncomeCurveRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveRequest) Reset() {
|
||
*x = Get7DayIncomeCurveRequest{}
|
||
mi := &file_statistic_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Get7DayIncomeCurveRequest) ProtoMessage() {}
|
||
|
||
func (x *Get7DayIncomeCurveRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_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 Get7DayIncomeCurveRequest.ProtoReflect.Descriptor instead.
|
||
func (*Get7DayIncomeCurveRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type DailyIncomePoint struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // "YYYY-MM-DD"
|
||
Income int64 `protobuf:"varint,2,opt,name=income,proto3" json:"income,omitempty"`
|
||
IsToday bool `protobuf:"varint,3,opt,name=is_today,json=isToday,proto3" json:"is_today,omitempty"`
|
||
IsPeak bool `protobuf:"varint,4,opt,name=is_peak,json=isPeak,proto3" json:"is_peak,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DailyIncomePoint) Reset() {
|
||
*x = DailyIncomePoint{}
|
||
mi := &file_statistic_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DailyIncomePoint) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DailyIncomePoint) ProtoMessage() {}
|
||
|
||
func (x *DailyIncomePoint) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[3]
|
||
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 DailyIncomePoint.ProtoReflect.Descriptor instead.
|
||
func (*DailyIncomePoint) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *DailyIncomePoint) GetDate() string {
|
||
if x != nil {
|
||
return x.Date
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DailyIncomePoint) GetIncome() int64 {
|
||
if x != nil {
|
||
return x.Income
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DailyIncomePoint) GetIsToday() bool {
|
||
if x != nil {
|
||
return x.IsToday
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *DailyIncomePoint) GetIsPeak() bool {
|
||
if x != nil {
|
||
return x.IsPeak
|
||
}
|
||
return false
|
||
}
|
||
|
||
type Get7DayIncomeCurveResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Points []*DailyIncomePoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
|
||
TotalIncome int64 `protobuf:"varint,2,opt,name=total_income,json=totalIncome,proto3" json:"total_income,omitempty"`
|
||
AvgIncome int64 `protobuf:"varint,3,opt,name=avg_income,json=avgIncome,proto3" json:"avg_income,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) Reset() {
|
||
*x = Get7DayIncomeCurveResponse{}
|
||
mi := &file_statistic_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Get7DayIncomeCurveResponse) ProtoMessage() {}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[4]
|
||
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 Get7DayIncomeCurveResponse.ProtoReflect.Descriptor instead.
|
||
func (*Get7DayIncomeCurveResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) GetPoints() []*DailyIncomePoint {
|
||
if x != nil {
|
||
return x.Points
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) GetTotalIncome() int64 {
|
||
if x != nil {
|
||
return x.TotalIncome
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Get7DayIncomeCurveResponse) GetAvgIncome() int64 {
|
||
if x != nil {
|
||
return x.AvgIncome
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// ====== 3. 展出收益中心 ======
|
||
type GetExhibitionIncomeSummaryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryRequest) Reset() {
|
||
*x = GetExhibitionIncomeSummaryRequest{}
|
||
mi := &file_statistic_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetExhibitionIncomeSummaryRequest) ProtoMessage() {}
|
||
|
||
func (x *GetExhibitionIncomeSummaryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[5]
|
||
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 GetExhibitionIncomeSummaryRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetExhibitionIncomeSummaryRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type TopExhibitionItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
|
||
AssetThumb string `protobuf:"bytes,3,opt,name=asset_thumb,json=assetThumb,proto3" json:"asset_thumb,omitempty"`
|
||
Duration_7D string `protobuf:"bytes,4,opt,name=duration_7d,json=duration7d,proto3" json:"duration_7d,omitempty"` // 7 天累计展示时长("D:HH:MM:SS")
|
||
Earnings_7D int64 `protobuf:"varint,5,opt,name=earnings_7d,json=earnings7d,proto3" json:"earnings_7d,omitempty"`
|
||
AvgEarnings int32 `protobuf:"varint,6,opt,name=avg_earnings,json=avgEarnings,proto3" json:"avg_earnings,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *TopExhibitionItem) Reset() {
|
||
*x = TopExhibitionItem{}
|
||
mi := &file_statistic_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *TopExhibitionItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TopExhibitionItem) ProtoMessage() {}
|
||
|
||
func (x *TopExhibitionItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[6]
|
||
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 TopExhibitionItem.ProtoReflect.Descriptor instead.
|
||
func (*TopExhibitionItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetAssetName() string {
|
||
if x != nil {
|
||
return x.AssetName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetAssetThumb() string {
|
||
if x != nil {
|
||
return x.AssetThumb
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetDuration_7D() string {
|
||
if x != nil {
|
||
return x.Duration_7D
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetEarnings_7D() int64 {
|
||
if x != nil {
|
||
return x.Earnings_7D
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TopExhibitionItem) GetAvgEarnings() int32 {
|
||
if x != nil {
|
||
return x.AvgEarnings
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetExhibitionIncomeSummaryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ExhibitingCount int32 `protobuf:"varint,1,opt,name=exhibiting_count,json=exhibitingCount,proto3" json:"exhibiting_count,omitempty"` // 当前在展藏品数
|
||
StarbookCount int32 `protobuf:"varint,2,opt,name=starbook_count,json=starbookCount,proto3" json:"starbook_count,omitempty"` // 星图册数
|
||
TotalDuration string `protobuf:"bytes,3,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"` // 累计展示时长
|
||
TotalEarnings int64 `protobuf:"varint,4,opt,name=total_earnings,json=totalEarnings,proto3" json:"total_earnings,omitempty"` // 累计收益
|
||
Top5 []*TopExhibitionItem `protobuf:"bytes,5,rep,name=top5,proto3" json:"top5,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) Reset() {
|
||
*x = GetExhibitionIncomeSummaryResponse{}
|
||
mi := &file_statistic_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetExhibitionIncomeSummaryResponse) ProtoMessage() {}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[7]
|
||
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 GetExhibitionIncomeSummaryResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetExhibitionIncomeSummaryResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) GetExhibitingCount() int32 {
|
||
if x != nil {
|
||
return x.ExhibitingCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) GetStarbookCount() int32 {
|
||
if x != nil {
|
||
return x.StarbookCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) GetTotalDuration() string {
|
||
if x != nil {
|
||
return x.TotalDuration
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) GetTotalEarnings() int64 {
|
||
if x != nil {
|
||
return x.TotalEarnings
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetExhibitionIncomeSummaryResponse) GetTop5() []*TopExhibitionItem {
|
||
if x != nil {
|
||
return x.Top5
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ====== 4. 点赞收益按等级 ======
|
||
type GetLikeIncomeByLevelRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelRequest) Reset() {
|
||
*x = GetLikeIncomeByLevelRequest{}
|
||
mi := &file_statistic_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetLikeIncomeByLevelRequest) ProtoMessage() {}
|
||
|
||
func (x *GetLikeIncomeByLevelRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[8]
|
||
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 GetLikeIncomeByLevelRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetLikeIncomeByLevelRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type LikeIncomeLevelItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` // 藏品等级(N/R/SR/SSR/UR)
|
||
AssetCount int32 `protobuf:"varint,2,opt,name=asset_count,json=assetCount,proto3" json:"asset_count,omitempty"`
|
||
TotalIncome int64 `protobuf:"varint,3,opt,name=total_income,json=totalIncome,proto3" json:"total_income,omitempty"`
|
||
Thumb string `protobuf:"bytes,4,opt,name=thumb,proto3" json:"thumb,omitempty"` // 等级代表缩略图
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) Reset() {
|
||
*x = LikeIncomeLevelItem{}
|
||
mi := &file_statistic_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*LikeIncomeLevelItem) ProtoMessage() {}
|
||
|
||
func (x *LikeIncomeLevelItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[9]
|
||
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 LikeIncomeLevelItem.ProtoReflect.Descriptor instead.
|
||
func (*LikeIncomeLevelItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) GetLevel() string {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) GetAssetCount() int32 {
|
||
if x != nil {
|
||
return x.AssetCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) GetTotalIncome() int64 {
|
||
if x != nil {
|
||
return x.TotalIncome
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *LikeIncomeLevelItem) GetThumb() string {
|
||
if x != nil {
|
||
return x.Thumb
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GetLikeIncomeByLevelResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TotalLikeCount int64 `protobuf:"varint,1,opt,name=total_like_count,json=totalLikeCount,proto3" json:"total_like_count,omitempty"`
|
||
TotalIncome int64 `protobuf:"varint,2,opt,name=total_income,json=totalIncome,proto3" json:"total_income,omitempty"`
|
||
Levels []*LikeIncomeLevelItem `protobuf:"bytes,3,rep,name=levels,proto3" json:"levels,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) Reset() {
|
||
*x = GetLikeIncomeByLevelResponse{}
|
||
mi := &file_statistic_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetLikeIncomeByLevelResponse) ProtoMessage() {}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[10]
|
||
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 GetLikeIncomeByLevelResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetLikeIncomeByLevelResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) GetTotalLikeCount() int64 {
|
||
if x != nil {
|
||
return x.TotalLikeCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) GetTotalIncome() int64 {
|
||
if x != nil {
|
||
return x.TotalIncome
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetLikeIncomeByLevelResponse) GetLevels() []*LikeIncomeLevelItem {
|
||
if x != nil {
|
||
return x.Levels
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ====== 5. 藏品 TOP5(按收益) ======
|
||
type GetTopAssetsByEarningRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningRequest) Reset() {
|
||
*x = GetTopAssetsByEarningRequest{}
|
||
mi := &file_statistic_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetTopAssetsByEarningRequest) ProtoMessage() {}
|
||
|
||
func (x *GetTopAssetsByEarningRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[11]
|
||
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 GetTopAssetsByEarningRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetTopAssetsByEarningRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type TopAssetItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
|
||
AssetThumb string `protobuf:"bytes,3,opt,name=asset_thumb,json=assetThumb,proto3" json:"asset_thumb,omitempty"`
|
||
TotalEarnings int64 `protobuf:"varint,4,opt,name=total_earnings,json=totalEarnings,proto3" json:"total_earnings,omitempty"`
|
||
Rank int32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *TopAssetItem) Reset() {
|
||
*x = TopAssetItem{}
|
||
mi := &file_statistic_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *TopAssetItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TopAssetItem) ProtoMessage() {}
|
||
|
||
func (x *TopAssetItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[12]
|
||
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 TopAssetItem.ProtoReflect.Descriptor instead.
|
||
func (*TopAssetItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *TopAssetItem) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TopAssetItem) GetAssetName() string {
|
||
if x != nil {
|
||
return x.AssetName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TopAssetItem) GetAssetThumb() string {
|
||
if x != nil {
|
||
return x.AssetThumb
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TopAssetItem) GetTotalEarnings() int64 {
|
||
if x != nil {
|
||
return x.TotalEarnings
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TopAssetItem) GetRank() int32 {
|
||
if x != nil {
|
||
return x.Rank
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetTopAssetsByEarningResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Items []*TopAssetItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningResponse) Reset() {
|
||
*x = GetTopAssetsByEarningResponse{}
|
||
mi := &file_statistic_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetTopAssetsByEarningResponse) ProtoMessage() {}
|
||
|
||
func (x *GetTopAssetsByEarningResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[13]
|
||
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 GetTopAssetsByEarningResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetTopAssetsByEarningResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *GetTopAssetsByEarningResponse) GetItems() []*TopAssetItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ====== 6. 藏品等级分布 ======
|
||
type GetAssetLevelDistributionRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionRequest) Reset() {
|
||
*x = GetAssetLevelDistributionRequest{}
|
||
mi := &file_statistic_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetAssetLevelDistributionRequest) ProtoMessage() {}
|
||
|
||
func (x *GetAssetLevelDistributionRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[14]
|
||
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 GetAssetLevelDistributionRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetAssetLevelDistributionRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type AssetLevelItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` // 藏品等级
|
||
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // 当前持有该等级的藏品数
|
||
Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // 累计(历史)该等级藏品数
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AssetLevelItem) Reset() {
|
||
*x = AssetLevelItem{}
|
||
mi := &file_statistic_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AssetLevelItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AssetLevelItem) ProtoMessage() {}
|
||
|
||
func (x *AssetLevelItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[15]
|
||
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 AssetLevelItem.ProtoReflect.Descriptor instead.
|
||
func (*AssetLevelItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *AssetLevelItem) GetLevel() string {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AssetLevelItem) GetCount() int32 {
|
||
if x != nil {
|
||
return x.Count
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetLevelItem) GetTotal() int32 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetAssetLevelDistributionResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Items []*AssetLevelItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionResponse) Reset() {
|
||
*x = GetAssetLevelDistributionResponse{}
|
||
mi := &file_statistic_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetAssetLevelDistributionResponse) ProtoMessage() {}
|
||
|
||
func (x *GetAssetLevelDistributionResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[16]
|
||
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 GetAssetLevelDistributionResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetAssetLevelDistributionResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *GetAssetLevelDistributionResponse) GetItems() []*AssetLevelItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ====== 7. 升级进度 ======
|
||
type GetAssetUpgradeProgressRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressRequest) Reset() {
|
||
*x = GetAssetUpgradeProgressRequest{}
|
||
mi := &file_statistic_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetAssetUpgradeProgressRequest) ProtoMessage() {}
|
||
|
||
func (x *GetAssetUpgradeProgressRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[17]
|
||
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 GetAssetUpgradeProgressRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetAssetUpgradeProgressRequest) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressRequest) GetStarId() int64 {
|
||
if x != nil {
|
||
return x.StarId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UpcomingLevelUpItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
|
||
AssetThumb string `protobuf:"bytes,3,opt,name=asset_thumb,json=assetThumb,proto3" json:"asset_thumb,omitempty"`
|
||
LikeProgress int32 `protobuf:"varint,4,opt,name=like_progress,json=likeProgress,proto3" json:"like_progress,omitempty"` // 0-100 进度
|
||
DurationProgress int32 `protobuf:"varint,5,opt,name=duration_progress,json=durationProgress,proto3" json:"duration_progress,omitempty"` // 0-100 进度
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) Reset() {
|
||
*x = UpcomingLevelUpItem{}
|
||
mi := &file_statistic_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpcomingLevelUpItem) ProtoMessage() {}
|
||
|
||
func (x *UpcomingLevelUpItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[18]
|
||
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 UpcomingLevelUpItem.ProtoReflect.Descriptor instead.
|
||
func (*UpcomingLevelUpItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) GetAssetName() string {
|
||
if x != nil {
|
||
return x.AssetName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) GetAssetThumb() string {
|
||
if x != nil {
|
||
return x.AssetThumb
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) GetLikeProgress() int32 {
|
||
if x != nil {
|
||
return x.LikeProgress
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpcomingLevelUpItem) GetDurationProgress() int32 {
|
||
if x != nil {
|
||
return x.DurationProgress
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RecentLevelUpItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
|
||
AssetName string `protobuf:"bytes,2,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"`
|
||
AssetThumb string `protobuf:"bytes,3,opt,name=asset_thumb,json=assetThumb,proto3" json:"asset_thumb,omitempty"`
|
||
NewLevel string `protobuf:"bytes,4,opt,name=new_level,json=newLevel,proto3" json:"new_level,omitempty"`
|
||
UpgradeTime int64 `protobuf:"varint,5,opt,name=upgrade_time,json=upgradeTime,proto3" json:"upgrade_time,omitempty"` // ms timestamp
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) Reset() {
|
||
*x = RecentLevelUpItem{}
|
||
mi := &file_statistic_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RecentLevelUpItem) ProtoMessage() {}
|
||
|
||
func (x *RecentLevelUpItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[19]
|
||
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 RecentLevelUpItem.ProtoReflect.Descriptor instead.
|
||
func (*RecentLevelUpItem) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) GetAssetId() int64 {
|
||
if x != nil {
|
||
return x.AssetId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) GetAssetName() string {
|
||
if x != nil {
|
||
return x.AssetName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) GetAssetThumb() string {
|
||
if x != nil {
|
||
return x.AssetThumb
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) GetNewLevel() string {
|
||
if x != nil {
|
||
return x.NewLevel
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RecentLevelUpItem) GetUpgradeTime() int64 {
|
||
if x != nil {
|
||
return x.UpgradeTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetAssetUpgradeProgressResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Upcoming []*UpcomingLevelUpItem `protobuf:"bytes,1,rep,name=upcoming,proto3" json:"upcoming,omitempty"`
|
||
Recent []*RecentLevelUpItem `protobuf:"bytes,2,rep,name=recent,proto3" json:"recent,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressResponse) Reset() {
|
||
*x = GetAssetUpgradeProgressResponse{}
|
||
mi := &file_statistic_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetAssetUpgradeProgressResponse) ProtoMessage() {}
|
||
|
||
func (x *GetAssetUpgradeProgressResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[20]
|
||
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 GetAssetUpgradeProgressResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetAssetUpgradeProgressResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressResponse) GetUpcoming() []*UpcomingLevelUpItem {
|
||
if x != nil {
|
||
return x.Upcoming
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetAssetUpgradeProgressResponse) GetRecent() []*RecentLevelUpItem {
|
||
if x != nil {
|
||
return x.Recent
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ====== 事件采集响应 ======
|
||
type TrackEventResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Accepted int32 `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` // 成功接收并进入 channel 的事件数
|
||
Rejected int32 `protobuf:"varint,2,opt,name=rejected,proto3" json:"rejected,omitempty"` // 被拒收的事件数(格式错误、限流等)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *TrackEventResponse) Reset() {
|
||
*x = TrackEventResponse{}
|
||
mi := &file_statistic_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *TrackEventResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TrackEventResponse) ProtoMessage() {}
|
||
|
||
func (x *TrackEventResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_statistic_proto_msgTypes[21]
|
||
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 TrackEventResponse.ProtoReflect.Descriptor instead.
|
||
func (*TrackEventResponse) Descriptor() ([]byte, []int) {
|
||
return file_statistic_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *TrackEventResponse) GetAccepted() int32 {
|
||
if x != nil {
|
||
return x.Accepted
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrackEventResponse) GetRejected() int32 {
|
||
if x != nil {
|
||
return x.Rejected
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_statistic_proto protoreflect.FileDescriptor
|
||
|
||
const file_statistic_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x0fstatistic.proto\x12\x11topfans.statistic\x1a\x11proto/event.proto\"2\n" +
|
||
"\x17GetTodayOverviewRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\xad\x01\n" +
|
||
"\x18GetTodayOverviewResponse\x12'\n" +
|
||
"\x0fcrystal_balance\x18\x01 \x01(\x03R\x0ecrystalBalance\x12!\n" +
|
||
"\ftoday_income\x18\x02 \x01(\x03R\vtodayIncome\x12\x1b\n" +
|
||
"\tweek_rank\x18\x03 \x01(\x05R\bweekRank\x12(\n" +
|
||
"\x10week_total_users\x18\x04 \x01(\x05R\x0eweekTotalUsers\"4\n" +
|
||
"\x19Get7DayIncomeCurveRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"r\n" +
|
||
"\x10DailyIncomePoint\x12\x12\n" +
|
||
"\x04date\x18\x01 \x01(\tR\x04date\x12\x16\n" +
|
||
"\x06income\x18\x02 \x01(\x03R\x06income\x12\x19\n" +
|
||
"\bis_today\x18\x03 \x01(\bR\aisToday\x12\x17\n" +
|
||
"\ais_peak\x18\x04 \x01(\bR\x06isPeak\"\x9b\x01\n" +
|
||
"\x1aGet7DayIncomeCurveResponse\x12;\n" +
|
||
"\x06points\x18\x01 \x03(\v2#.topfans.statistic.DailyIncomePointR\x06points\x12!\n" +
|
||
"\ftotal_income\x18\x02 \x01(\x03R\vtotalIncome\x12\x1d\n" +
|
||
"\n" +
|
||
"avg_income\x18\x03 \x01(\x03R\tavgIncome\"<\n" +
|
||
"!GetExhibitionIncomeSummaryRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\xd3\x01\n" +
|
||
"\x11TopExhibitionItem\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_name\x18\x02 \x01(\tR\tassetName\x12\x1f\n" +
|
||
"\vasset_thumb\x18\x03 \x01(\tR\n" +
|
||
"assetThumb\x12\x1f\n" +
|
||
"\vduration_7d\x18\x04 \x01(\tR\n" +
|
||
"duration7d\x12\x1f\n" +
|
||
"\vearnings_7d\x18\x05 \x01(\x03R\n" +
|
||
"earnings7d\x12!\n" +
|
||
"\favg_earnings\x18\x06 \x01(\x05R\vavgEarnings\"\xfe\x01\n" +
|
||
"\"GetExhibitionIncomeSummaryResponse\x12)\n" +
|
||
"\x10exhibiting_count\x18\x01 \x01(\x05R\x0fexhibitingCount\x12%\n" +
|
||
"\x0estarbook_count\x18\x02 \x01(\x05R\rstarbookCount\x12%\n" +
|
||
"\x0etotal_duration\x18\x03 \x01(\tR\rtotalDuration\x12%\n" +
|
||
"\x0etotal_earnings\x18\x04 \x01(\x03R\rtotalEarnings\x128\n" +
|
||
"\x04top5\x18\x05 \x03(\v2$.topfans.statistic.TopExhibitionItemR\x04top5\"6\n" +
|
||
"\x1bGetLikeIncomeByLevelRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\x85\x01\n" +
|
||
"\x13LikeIncomeLevelItem\x12\x14\n" +
|
||
"\x05level\x18\x01 \x01(\tR\x05level\x12\x1f\n" +
|
||
"\vasset_count\x18\x02 \x01(\x05R\n" +
|
||
"assetCount\x12!\n" +
|
||
"\ftotal_income\x18\x03 \x01(\x03R\vtotalIncome\x12\x14\n" +
|
||
"\x05thumb\x18\x04 \x01(\tR\x05thumb\"\xab\x01\n" +
|
||
"\x1cGetLikeIncomeByLevelResponse\x12(\n" +
|
||
"\x10total_like_count\x18\x01 \x01(\x03R\x0etotalLikeCount\x12!\n" +
|
||
"\ftotal_income\x18\x02 \x01(\x03R\vtotalIncome\x12>\n" +
|
||
"\x06levels\x18\x03 \x03(\v2&.topfans.statistic.LikeIncomeLevelItemR\x06levels\"7\n" +
|
||
"\x1cGetTopAssetsByEarningRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\xa4\x01\n" +
|
||
"\fTopAssetItem\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_name\x18\x02 \x01(\tR\tassetName\x12\x1f\n" +
|
||
"\vasset_thumb\x18\x03 \x01(\tR\n" +
|
||
"assetThumb\x12%\n" +
|
||
"\x0etotal_earnings\x18\x04 \x01(\x03R\rtotalEarnings\x12\x12\n" +
|
||
"\x04rank\x18\x05 \x01(\x05R\x04rank\"V\n" +
|
||
"\x1dGetTopAssetsByEarningResponse\x125\n" +
|
||
"\x05items\x18\x01 \x03(\v2\x1f.topfans.statistic.TopAssetItemR\x05items\";\n" +
|
||
" GetAssetLevelDistributionRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"R\n" +
|
||
"\x0eAssetLevelItem\x12\x14\n" +
|
||
"\x05level\x18\x01 \x01(\tR\x05level\x12\x14\n" +
|
||
"\x05count\x18\x02 \x01(\x05R\x05count\x12\x14\n" +
|
||
"\x05total\x18\x03 \x01(\x05R\x05total\"\\\n" +
|
||
"!GetAssetLevelDistributionResponse\x127\n" +
|
||
"\x05items\x18\x01 \x03(\v2!.topfans.statistic.AssetLevelItemR\x05items\"9\n" +
|
||
"\x1eGetAssetUpgradeProgressRequest\x12\x17\n" +
|
||
"\astar_id\x18\x01 \x01(\x03R\x06starId\"\xc2\x01\n" +
|
||
"\x13UpcomingLevelUpItem\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_name\x18\x02 \x01(\tR\tassetName\x12\x1f\n" +
|
||
"\vasset_thumb\x18\x03 \x01(\tR\n" +
|
||
"assetThumb\x12#\n" +
|
||
"\rlike_progress\x18\x04 \x01(\x05R\flikeProgress\x12+\n" +
|
||
"\x11duration_progress\x18\x05 \x01(\x05R\x10durationProgress\"\xae\x01\n" +
|
||
"\x11RecentLevelUpItem\x12\x19\n" +
|
||
"\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_name\x18\x02 \x01(\tR\tassetName\x12\x1f\n" +
|
||
"\vasset_thumb\x18\x03 \x01(\tR\n" +
|
||
"assetThumb\x12\x1b\n" +
|
||
"\tnew_level\x18\x04 \x01(\tR\bnewLevel\x12!\n" +
|
||
"\fupgrade_time\x18\x05 \x01(\x03R\vupgradeTime\"\xa3\x01\n" +
|
||
"\x1fGetAssetUpgradeProgressResponse\x12B\n" +
|
||
"\bupcoming\x18\x01 \x03(\v2&.topfans.statistic.UpcomingLevelUpItemR\bupcoming\x12<\n" +
|
||
"\x06recent\x18\x02 \x03(\v2$.topfans.statistic.RecentLevelUpItemR\x06recent\"L\n" +
|
||
"\x12TrackEventResponse\x12\x1a\n" +
|
||
"\baccepted\x18\x01 \x01(\x05R\baccepted\x12\x1a\n" +
|
||
"\brejected\x18\x02 \x01(\x05R\brejected2\xa6\b\n" +
|
||
"\x10StatisticService\x12k\n" +
|
||
"\x10GetTodayOverview\x12*.topfans.statistic.GetTodayOverviewRequest\x1a+.topfans.statistic.GetTodayOverviewResponse\x12q\n" +
|
||
"\x12Get7DayIncomeCurve\x12,.topfans.statistic.Get7DayIncomeCurveRequest\x1a-.topfans.statistic.Get7DayIncomeCurveResponse\x12\x89\x01\n" +
|
||
"\x1aGetExhibitionIncomeSummary\x124.topfans.statistic.GetExhibitionIncomeSummaryRequest\x1a5.topfans.statistic.GetExhibitionIncomeSummaryResponse\x12w\n" +
|
||
"\x14GetLikeIncomeByLevel\x12..topfans.statistic.GetLikeIncomeByLevelRequest\x1a/.topfans.statistic.GetLikeIncomeByLevelResponse\x12z\n" +
|
||
"\x15GetTopAssetsByEarning\x12/.topfans.statistic.GetTopAssetsByEarningRequest\x1a0.topfans.statistic.GetTopAssetsByEarningResponse\x12\x86\x01\n" +
|
||
"\x19GetAssetLevelDistribution\x123.topfans.statistic.GetAssetLevelDistributionRequest\x1a4.topfans.statistic.GetAssetLevelDistributionResponse\x12\x80\x01\n" +
|
||
"\x17GetAssetUpgradeProgress\x121.topfans.statistic.GetAssetUpgradeProgressRequest\x1a2.topfans.statistic.GetAssetUpgradeProgressResponse\x12I\n" +
|
||
"\n" +
|
||
"TrackEvent\x12\x14.topfans.event.Event\x1a%.topfans.statistic.TrackEventResponse\x12Z\n" +
|
||
"\x0fBatchTrackEvent\x12 .topfans.event.BatchEventRequest\x1a%.topfans.statistic.TrackEventResponseB:Z8github.com/topfans/backend/pkg/proto/statistic;statisticb\x06proto3"
|
||
|
||
var (
|
||
file_statistic_proto_rawDescOnce sync.Once
|
||
file_statistic_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_statistic_proto_rawDescGZIP() []byte {
|
||
file_statistic_proto_rawDescOnce.Do(func() {
|
||
file_statistic_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_statistic_proto_rawDesc), len(file_statistic_proto_rawDesc)))
|
||
})
|
||
return file_statistic_proto_rawDescData
|
||
}
|
||
|
||
var file_statistic_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||
var file_statistic_proto_goTypes = []any{
|
||
(*GetTodayOverviewRequest)(nil), // 0: topfans.statistic.GetTodayOverviewRequest
|
||
(*GetTodayOverviewResponse)(nil), // 1: topfans.statistic.GetTodayOverviewResponse
|
||
(*Get7DayIncomeCurveRequest)(nil), // 2: topfans.statistic.Get7DayIncomeCurveRequest
|
||
(*DailyIncomePoint)(nil), // 3: topfans.statistic.DailyIncomePoint
|
||
(*Get7DayIncomeCurveResponse)(nil), // 4: topfans.statistic.Get7DayIncomeCurveResponse
|
||
(*GetExhibitionIncomeSummaryRequest)(nil), // 5: topfans.statistic.GetExhibitionIncomeSummaryRequest
|
||
(*TopExhibitionItem)(nil), // 6: topfans.statistic.TopExhibitionItem
|
||
(*GetExhibitionIncomeSummaryResponse)(nil), // 7: topfans.statistic.GetExhibitionIncomeSummaryResponse
|
||
(*GetLikeIncomeByLevelRequest)(nil), // 8: topfans.statistic.GetLikeIncomeByLevelRequest
|
||
(*LikeIncomeLevelItem)(nil), // 9: topfans.statistic.LikeIncomeLevelItem
|
||
(*GetLikeIncomeByLevelResponse)(nil), // 10: topfans.statistic.GetLikeIncomeByLevelResponse
|
||
(*GetTopAssetsByEarningRequest)(nil), // 11: topfans.statistic.GetTopAssetsByEarningRequest
|
||
(*TopAssetItem)(nil), // 12: topfans.statistic.TopAssetItem
|
||
(*GetTopAssetsByEarningResponse)(nil), // 13: topfans.statistic.GetTopAssetsByEarningResponse
|
||
(*GetAssetLevelDistributionRequest)(nil), // 14: topfans.statistic.GetAssetLevelDistributionRequest
|
||
(*AssetLevelItem)(nil), // 15: topfans.statistic.AssetLevelItem
|
||
(*GetAssetLevelDistributionResponse)(nil), // 16: topfans.statistic.GetAssetLevelDistributionResponse
|
||
(*GetAssetUpgradeProgressRequest)(nil), // 17: topfans.statistic.GetAssetUpgradeProgressRequest
|
||
(*UpcomingLevelUpItem)(nil), // 18: topfans.statistic.UpcomingLevelUpItem
|
||
(*RecentLevelUpItem)(nil), // 19: topfans.statistic.RecentLevelUpItem
|
||
(*GetAssetUpgradeProgressResponse)(nil), // 20: topfans.statistic.GetAssetUpgradeProgressResponse
|
||
(*TrackEventResponse)(nil), // 21: topfans.statistic.TrackEventResponse
|
||
(*event.Event)(nil), // 22: topfans.event.Event
|
||
(*event.BatchEventRequest)(nil), // 23: topfans.event.BatchEventRequest
|
||
}
|
||
var file_statistic_proto_depIdxs = []int32{
|
||
3, // 0: topfans.statistic.Get7DayIncomeCurveResponse.points:type_name -> topfans.statistic.DailyIncomePoint
|
||
6, // 1: topfans.statistic.GetExhibitionIncomeSummaryResponse.top5:type_name -> topfans.statistic.TopExhibitionItem
|
||
9, // 2: topfans.statistic.GetLikeIncomeByLevelResponse.levels:type_name -> topfans.statistic.LikeIncomeLevelItem
|
||
12, // 3: topfans.statistic.GetTopAssetsByEarningResponse.items:type_name -> topfans.statistic.TopAssetItem
|
||
15, // 4: topfans.statistic.GetAssetLevelDistributionResponse.items:type_name -> topfans.statistic.AssetLevelItem
|
||
18, // 5: topfans.statistic.GetAssetUpgradeProgressResponse.upcoming:type_name -> topfans.statistic.UpcomingLevelUpItem
|
||
19, // 6: topfans.statistic.GetAssetUpgradeProgressResponse.recent:type_name -> topfans.statistic.RecentLevelUpItem
|
||
0, // 7: topfans.statistic.StatisticService.GetTodayOverview:input_type -> topfans.statistic.GetTodayOverviewRequest
|
||
2, // 8: topfans.statistic.StatisticService.Get7DayIncomeCurve:input_type -> topfans.statistic.Get7DayIncomeCurveRequest
|
||
5, // 9: topfans.statistic.StatisticService.GetExhibitionIncomeSummary:input_type -> topfans.statistic.GetExhibitionIncomeSummaryRequest
|
||
8, // 10: topfans.statistic.StatisticService.GetLikeIncomeByLevel:input_type -> topfans.statistic.GetLikeIncomeByLevelRequest
|
||
11, // 11: topfans.statistic.StatisticService.GetTopAssetsByEarning:input_type -> topfans.statistic.GetTopAssetsByEarningRequest
|
||
14, // 12: topfans.statistic.StatisticService.GetAssetLevelDistribution:input_type -> topfans.statistic.GetAssetLevelDistributionRequest
|
||
17, // 13: topfans.statistic.StatisticService.GetAssetUpgradeProgress:input_type -> topfans.statistic.GetAssetUpgradeProgressRequest
|
||
22, // 14: topfans.statistic.StatisticService.TrackEvent:input_type -> topfans.event.Event
|
||
23, // 15: topfans.statistic.StatisticService.BatchTrackEvent:input_type -> topfans.event.BatchEventRequest
|
||
1, // 16: topfans.statistic.StatisticService.GetTodayOverview:output_type -> topfans.statistic.GetTodayOverviewResponse
|
||
4, // 17: topfans.statistic.StatisticService.Get7DayIncomeCurve:output_type -> topfans.statistic.Get7DayIncomeCurveResponse
|
||
7, // 18: topfans.statistic.StatisticService.GetExhibitionIncomeSummary:output_type -> topfans.statistic.GetExhibitionIncomeSummaryResponse
|
||
10, // 19: topfans.statistic.StatisticService.GetLikeIncomeByLevel:output_type -> topfans.statistic.GetLikeIncomeByLevelResponse
|
||
13, // 20: topfans.statistic.StatisticService.GetTopAssetsByEarning:output_type -> topfans.statistic.GetTopAssetsByEarningResponse
|
||
16, // 21: topfans.statistic.StatisticService.GetAssetLevelDistribution:output_type -> topfans.statistic.GetAssetLevelDistributionResponse
|
||
20, // 22: topfans.statistic.StatisticService.GetAssetUpgradeProgress:output_type -> topfans.statistic.GetAssetUpgradeProgressResponse
|
||
21, // 23: topfans.statistic.StatisticService.TrackEvent:output_type -> topfans.statistic.TrackEventResponse
|
||
21, // 24: topfans.statistic.StatisticService.BatchTrackEvent:output_type -> topfans.statistic.TrackEventResponse
|
||
16, // [16:25] is the sub-list for method output_type
|
||
7, // [7:16] is the sub-list for method input_type
|
||
7, // [7:7] is the sub-list for extension type_name
|
||
7, // [7:7] is the sub-list for extension extendee
|
||
0, // [0:7] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_statistic_proto_init() }
|
||
func file_statistic_proto_init() {
|
||
if File_statistic_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_statistic_proto_rawDesc), len(file_statistic_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 22,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_statistic_proto_goTypes,
|
||
DependencyIndexes: file_statistic_proto_depIdxs,
|
||
MessageInfos: file_statistic_proto_msgTypes,
|
||
}.Build()
|
||
File_statistic_proto = out.File
|
||
file_statistic_proto_goTypes = nil
|
||
file_statistic_proto_depIdxs = nil
|
||
}
|