2020-12-11 21:39:17 +08:00
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
|
// versions:
|
|
|
|
|
|
// protoc-gen-go v1.25.0
|
2022-03-04 15:44:39 +08:00
|
|
|
|
// protoc v3.19.4
|
2020-12-11 21:39:17 +08:00
|
|
|
|
// source: service_server_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 UploadServerDailyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2021-07-05 11:37:10 +08:00
|
|
|
|
Stats []*ServerDailyStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
|
|
|
|
|
|
DomainStats []*UploadServerDailyStatsRequest_DomainStat `protobuf:"bytes,2,rep,name=domainStats,proto3" json:"domainStats,omitempty"`
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest) Reset() {
|
|
|
|
|
|
*x = UploadServerDailyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[0]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UploadServerDailyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_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 UploadServerDailyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*UploadServerDailyStatsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest) GetStats() []*ServerDailyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Stats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-07-05 11:37:10 +08:00
|
|
|
|
func (x *UploadServerDailyStatsRequest) GetDomainStats() []*UploadServerDailyStatsRequest_DomainStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.DomainStats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 11:18:39 +08:00
|
|
|
|
// 按小时读取统计数据
|
2021-06-08 15:09:58 +08:00
|
|
|
|
type FindLatestServerHourlyStatsRequest struct {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
2022-09-24 18:55:25 +08:00
|
|
|
|
Hours int32 `protobuf:"varint,2,opt,name=hours,proto3" json:"hours,omitempty"` // 小时数
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsRequest) Reset() {
|
|
|
|
|
|
*x = FindLatestServerHourlyStatsRequest{}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[1]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsRequest) String() string {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (*FindLatestServerHourlyStatsRequest) ProtoMessage() {}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsRequest) ProtoReflect() protoreflect.Message {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
mi := &file_service_server_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)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// Deprecated: Use FindLatestServerHourlyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerHourlyStatsRequest) Descriptor() ([]byte, []int) {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsRequest) GetServerId() int64 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsRequest) GetHours() int32 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Hours
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
type FindLatestServerHourlyStatsResponse struct {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
Stats []*FindLatestServerHourlyStatsResponse_HourlyStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse) Reset() {
|
|
|
|
|
|
*x = FindLatestServerHourlyStatsResponse{}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[2]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse) String() string {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (*FindLatestServerHourlyStatsResponse) ProtoMessage() {}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse) ProtoReflect() protoreflect.Message {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
mi := &file_service_server_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)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// Deprecated: Use FindLatestServerHourlyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerHourlyStatsResponse) Descriptor() ([]byte, []int) {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse) GetStats() []*FindLatestServerHourlyStatsResponse_HourlyStat {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Stats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// 按分钟读取统计数据
|
|
|
|
|
|
type FindLatestServerMinutelyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
2022-09-24 18:55:25 +08:00
|
|
|
|
Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` // 分钟数
|
2021-06-08 15:09:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsRequest) Reset() {
|
|
|
|
|
|
*x = FindLatestServerMinutelyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[3]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_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 FindLatestServerMinutelyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsRequest) GetMinutes() int32 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Minutes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type FindLatestServerMinutelyStatsResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Stats []*FindLatestServerMinutelyStatsResponse_MinutelyStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse) Reset() {
|
|
|
|
|
|
*x = FindLatestServerMinutelyStatsResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[4]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_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 FindLatestServerMinutelyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse) GetStats() []*FindLatestServerMinutelyStatsResponse_MinutelyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Stats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
// 读取某天的5分钟间隔流量
|
|
|
|
|
|
type FindServer5MinutelyStatsWithDayRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
2022-09-24 18:55:25 +08:00
|
|
|
|
Day string `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"` // 必需,格式:YYYYMMDD
|
|
|
|
|
|
TimeFrom string `protobuf:"bytes,3,opt,name=timeFrom,proto3" json:"timeFrom,omitempty"` // 可选,开始时间,格式:HHIISS,比如 130000
|
2022-09-28 17:39:28 +08:00
|
|
|
|
TimeTo string `protobuf:"bytes,4,opt,name=timeTo,proto3" json:"timeTo,omitempty"` // 可选,结束时间,格式:HHIISS,比如 130459
|
2022-09-24 18:36:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) Reset() {
|
|
|
|
|
|
*x = FindServer5MinutelyStatsWithDayRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[5]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_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 FindServer5MinutelyStatsWithDayRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) GetDay() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Day
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:55:25 +08:00
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) GetTimeFrom() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.TimeFrom
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayRequest) GetTimeTo() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.TimeTo
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
type FindServer5MinutelyStatsWithDayResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Stats []*FindServer5MinutelyStatsWithDayResponse_Stat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse) Reset() {
|
|
|
|
|
|
*x = FindServer5MinutelyStatsWithDayResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[6]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[6]
|
|
|
|
|
|
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 FindServer5MinutelyStatsWithDayResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse) GetStats() []*FindServer5MinutelyStatsWithDayResponse_Stat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Stats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// 按日读取统计数据
|
|
|
|
|
|
type FindLatestServerDailyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
2022-09-24 18:55:25 +08:00
|
|
|
|
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"` // 天数
|
2021-06-08 15:09:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsRequest) Reset() {
|
|
|
|
|
|
*x = FindLatestServerDailyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[7]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerDailyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsRequest) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[7]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
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 FindLatestServerDailyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerDailyStatsRequest) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{7}
|
2021-06-08 15:09:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsRequest) GetDays() int32 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Days
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type FindLatestServerDailyStatsResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Stats []*FindLatestServerDailyStatsResponse_DailyStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse) Reset() {
|
|
|
|
|
|
*x = FindLatestServerDailyStatsResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[8]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerDailyStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[8]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
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 FindLatestServerDailyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerDailyStatsResponse) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{8}
|
2021-06-08 15:09:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse) GetStats() []*FindLatestServerDailyStatsResponse_DailyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Stats
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 查找单个服务当前时刻(N分钟内)统计数据
|
2022-04-15 12:14:42 +08:00
|
|
|
|
type SumCurrentServerDailyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsRequest) Reset() {
|
|
|
|
|
|
*x = SumCurrentServerDailyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[9]
|
2022-04-15 12:14:42 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumCurrentServerDailyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsRequest) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[9]
|
2022-04-15 12:14:42 +08:00
|
|
|
|
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 SumCurrentServerDailyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumCurrentServerDailyStatsRequest) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{9}
|
2022-04-15 12:14:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SumCurrentServerDailyStatsResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerDailyStat *ServerDailyStat `protobuf:"bytes,1,opt,name=serverDailyStat,proto3" json:"serverDailyStat,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsResponse) Reset() {
|
|
|
|
|
|
*x = SumCurrentServerDailyStatsResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[10]
|
2022-04-15 12:14:42 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumCurrentServerDailyStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsResponse) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[10]
|
2022-04-15 12:14:42 +08:00
|
|
|
|
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 SumCurrentServerDailyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumCurrentServerDailyStatsResponse) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{10}
|
2022-04-15 12:14:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumCurrentServerDailyStatsResponse) GetServerDailyStat() *ServerDailyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerDailyStat
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 计算单个服务的日统计
|
|
|
|
|
|
type SumServerDailyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
|
|
|
|
Day string `protobuf:"bytes,2,opt,name=day,proto3" json:"day,omitempty"` // YYYYMMDD
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsRequest) Reset() {
|
|
|
|
|
|
*x = SumServerDailyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[11]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumServerDailyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsRequest) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[11]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
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 SumServerDailyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumServerDailyStatsRequest) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{11}
|
2022-06-18 14:25:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsRequest) GetDay() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Day
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SumServerDailyStatsResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerDailyStat *ServerDailyStat `protobuf:"bytes,1,opt,name=serverDailyStat,proto3" json:"serverDailyStat,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsResponse) Reset() {
|
|
|
|
|
|
*x = SumServerDailyStatsResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[12]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumServerDailyStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsResponse) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[12]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
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 SumServerDailyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumServerDailyStatsResponse) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{12}
|
2022-06-18 14:25:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerDailyStatsResponse) GetServerDailyStat() *ServerDailyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerDailyStat
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 计算单个服务的月统计
|
|
|
|
|
|
type SumServerMonthlyStatsRequest struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
|
|
|
|
Month string `protobuf:"bytes,2,opt,name=month,proto3" json:"month,omitempty"` // YYYYMM
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsRequest) Reset() {
|
|
|
|
|
|
*x = SumServerMonthlyStatsRequest{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[13]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsRequest) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumServerMonthlyStatsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsRequest) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[13]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
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 SumServerMonthlyStatsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumServerMonthlyStatsRequest) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{13}
|
2022-06-18 14:25:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsRequest) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsRequest) GetMonth() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Month
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SumServerMonthlyStatsResponse struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerMonthlyStat *ServerDailyStat `protobuf:"bytes,1,opt,name=serverMonthlyStat,proto3" json:"serverMonthlyStat,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsResponse) Reset() {
|
|
|
|
|
|
*x = SumServerMonthlyStatsResponse{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[14]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsResponse) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*SumServerMonthlyStatsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsResponse) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[14]
|
2022-06-18 14:25:33 +08:00
|
|
|
|
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 SumServerMonthlyStatsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*SumServerMonthlyStatsResponse) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{14}
|
2022-06-18 14:25:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *SumServerMonthlyStatsResponse) GetServerMonthlyStat() *ServerDailyStat {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerMonthlyStat
|
|
|
|
|
|
}
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-07-05 11:37:10 +08:00
|
|
|
|
type UploadServerDailyStatsRequest_DomainStat struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
|
|
|
|
|
|
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
|
|
|
|
Bytes int64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
|
|
|
|
CachedBytes int64 `protobuf:"varint,4,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
|
|
|
|
|
CountRequests int64 `protobuf:"varint,5,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
|
|
|
|
CountCachedRequests int64 `protobuf:"varint,6,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
2021-07-13 15:49:34 +08:00
|
|
|
|
CountAttackRequests int64 `protobuf:"varint,8,opt,name=countAttackRequests,proto3" json:"countAttackRequests,omitempty"`
|
|
|
|
|
|
AttackBytes int64 `protobuf:"varint,9,opt,name=attackBytes,proto3" json:"attackBytes,omitempty"`
|
2021-07-05 11:37:10 +08:00
|
|
|
|
CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) Reset() {
|
|
|
|
|
|
*x = UploadServerDailyStatsRequest_DomainStat{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[15]
|
2021-07-05 11:37:10 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UploadServerDailyStatsRequest_DomainStat) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[15]
|
2021-07-05 11:37:10 +08:00
|
|
|
|
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 UploadServerDailyStatsRequest_DomainStat.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*UploadServerDailyStatsRequest_DomainStat) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{0, 0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetServerId() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.ServerId
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetDomain() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Domain
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Bytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetCachedBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CachedBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetCountRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetCountCachedRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountCachedRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-07-13 15:49:34 +08:00
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetCountAttackRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountAttackRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetAttackBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.AttackBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-07-05 11:37:10 +08:00
|
|
|
|
func (x *UploadServerDailyStatsRequest_DomainStat) GetCreatedAt() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CreatedAt
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
type FindLatestServerHourlyStatsResponse_HourlyStat struct {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Hour string `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
|
|
|
|
|
|
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
|
|
|
|
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
|
|
|
|
|
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
|
|
|
|
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) Reset() {
|
|
|
|
|
|
*x = FindLatestServerHourlyStatsResponse_HourlyStat{}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[16]
|
2021-06-08 11:18:39 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) String() string {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (*FindLatestServerHourlyStatsResponse_HourlyStat) ProtoMessage() {}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[16]
|
2021-06-08 11:18:39 +08:00
|
|
|
|
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)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// Deprecated: Use FindLatestServerHourlyStatsResponse_HourlyStat.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerHourlyStatsResponse_HourlyStat) Descriptor() ([]byte, []int) {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{2, 0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) GetHour() string {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Hour
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) GetBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Bytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) GetCachedBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CachedBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) GetCountRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerHourlyStatsResponse_HourlyStat) GetCountCachedRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountCachedRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type FindLatestServerMinutelyStatsResponse_MinutelyStat struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Minute string `protobuf:"bytes,1,opt,name=minute,proto3" json:"minute,omitempty"`
|
|
|
|
|
|
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
|
|
|
|
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
|
|
|
|
|
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
|
|
|
|
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) Reset() {
|
|
|
|
|
|
*x = FindLatestServerMinutelyStatsResponse_MinutelyStat{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[17]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsResponse_MinutelyStat) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[17]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
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 FindLatestServerMinutelyStatsResponse_MinutelyStat.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerMinutelyStatsResponse_MinutelyStat) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{4, 0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) GetMinute() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Minute
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) GetBytes() int64 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Bytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) GetCachedBytes() int64 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CachedBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) GetCountRequests() int64 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (x *FindLatestServerMinutelyStatsResponse_MinutelyStat) GetCountCachedRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountCachedRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
type FindServer5MinutelyStatsWithDayResponse_Stat struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
|
|
|
|
|
TimeFrom string `protobuf:"bytes,2,opt,name=timeFrom,proto3" json:"timeFrom,omitempty"`
|
|
|
|
|
|
TimeTo string `protobuf:"bytes,3,opt,name=timeTo,proto3" json:"timeTo,omitempty"`
|
|
|
|
|
|
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
|
|
|
|
CachedBytes int64 `protobuf:"varint,5,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
|
|
|
|
|
CountRequests int64 `protobuf:"varint,6,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
|
|
|
|
CountCachedRequests int64 `protobuf:"varint,7,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) Reset() {
|
|
|
|
|
|
*x = FindServer5MinutelyStatsWithDayResponse_Stat{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[18]
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayResponse_Stat) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[18]
|
|
|
|
|
|
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 FindServer5MinutelyStatsWithDayResponse_Stat.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindServer5MinutelyStatsWithDayResponse_Stat) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{6, 0}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetDay() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Day
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetTimeFrom() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.TimeFrom
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetTimeTo() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.TimeTo
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Bytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetCachedBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CachedBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetCountRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindServer5MinutelyStatsWithDayResponse_Stat) GetCountCachedRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountCachedRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
type FindLatestServerDailyStatsResponse_DailyStat struct {
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
|
|
|
|
|
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
|
|
|
|
CachedBytes int64 `protobuf:"varint,3,opt,name=cachedBytes,proto3" json:"cachedBytes,omitempty"`
|
|
|
|
|
|
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
|
|
|
|
CountCachedRequests int64 `protobuf:"varint,5,opt,name=countCachedRequests,proto3" json:"countCachedRequests,omitempty"`
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) Reset() {
|
|
|
|
|
|
*x = FindLatestServerDailyStatsResponse_DailyStat{}
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[19]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) String() string {
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*FindLatestServerDailyStatsResponse_DailyStat) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) ProtoReflect() protoreflect.Message {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
mi := &file_service_server_daily_stat_proto_msgTypes[19]
|
2021-06-08 15:09:58 +08:00
|
|
|
|
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 FindLatestServerDailyStatsResponse_DailyStat.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
func (*FindLatestServerDailyStatsResponse_DailyStat) Descriptor() ([]byte, []int) {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
return file_service_server_daily_stat_proto_rawDescGZIP(), []int{8, 0}
|
2021-06-08 15:09:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) GetDay() string {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Day
|
|
|
|
|
|
}
|
|
|
|
|
|
return ""
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) GetBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.Bytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) GetCachedBytes() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CachedBytes
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) GetCountRequests() int64 {
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *FindLatestServerDailyStatsResponse_DailyStat) GetCountCachedRequests() int64 {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
|
return x.CountCachedRequests
|
|
|
|
|
|
}
|
|
|
|
|
|
return 0
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-12-11 21:39:17 +08:00
|
|
|
|
var File_service_server_daily_stat_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
var file_service_server_daily_stat_proto_rawDesc = []byte{
|
|
|
|
|
|
0x0a, 0x1f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
|
|
0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
2021-01-25 16:41:30 +08:00
|
|
|
|
0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
|
|
|
|
|
0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79,
|
|
|
|
|
|
0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64,
|
|
|
|
|
|
0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
2021-07-13 15:49:34 +08:00
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x03, 0x0a, 0x1d, 0x55, 0x70, 0x6c, 0x6f, 0x61,
|
2021-07-05 11:37:10 +08:00
|
|
|
|
0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
|
|
|
|
|
0x6c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53,
|
|
|
|
|
|
0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x6f, 0x6d, 0x61,
|
|
|
|
|
|
0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74,
|
2021-07-13 15:49:34 +08:00
|
|
|
|
0x61, 0x74, 0x73, 0x1a, 0xc2, 0x02, 0x0a, 0x0a, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74,
|
2021-07-05 11:37:10 +08:00
|
|
|
|
0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
|
|
|
|
|
|
0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
|
|
|
0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
|
|
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
|
0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
|
0x03, 0x52, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24,
|
|
|
|
|
|
0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18,
|
|
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
|
0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63,
|
|
|
|
|
|
0x68, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
|
|
|
0x03, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65,
|
2021-07-13 15:49:34 +08:00
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
|
|
|
|
|
0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x08, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b,
|
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61,
|
|
|
|
|
|
0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61,
|
|
|
|
|
|
0x74, 0x74, 0x61, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72,
|
|
|
|
|
|
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
|
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x56, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
|
0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72,
|
|
|
|
|
|
0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
|
|
|
|
|
0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f,
|
|
|
|
|
|
0x75, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x68, 0x6f, 0x75, 0x72, 0x73,
|
|
|
|
|
|
0x22, 0xa2, 0x02, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73,
|
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
|
|
|
|
|
0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x75,
|
|
|
|
|
|
0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
|
0x2e, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x73, 0x1a, 0xb0, 0x01, 0x0a, 0x0a, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x75, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
|
0x04, 0x68, 0x6f, 0x75, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02,
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63,
|
|
|
|
|
|
0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a,
|
|
|
|
|
|
0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x04,
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
|
0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68,
|
|
|
|
|
|
0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
|
0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x71,
|
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x5c, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74,
|
|
|
|
|
|
0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c,
|
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
|
|
|
|
|
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
|
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x6e,
|
|
|
|
|
|
0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x75,
|
|
|
|
|
|
0x74, 0x65, 0x73, 0x22, 0xae, 0x02, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65,
|
|
|
|
|
|
0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79,
|
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a,
|
|
|
|
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x70,
|
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
|
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79,
|
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xb6, 0x01, 0x0a, 0x0c,
|
|
|
|
|
|
0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
|
0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x69,
|
|
|
|
|
|
0x6e, 0x75, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20,
|
2021-07-05 11:37:10 +08:00
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x61,
|
|
|
|
|
|
0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
|
0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65,
|
|
|
|
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
|
0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75,
|
2022-09-24 18:55:25 +08:00
|
|
|
|
0x65, 0x73, 0x74, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x35, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
|
0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
|
0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64,
|
|
|
|
|
|
0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x1a, 0x0a,
|
|
|
|
|
|
0x08, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
|
0x08, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6d,
|
|
|
|
|
|
0x65, 0x54, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 0x54,
|
|
|
|
|
|
0x6f, 0x22, 0xd0, 0x02, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
|
|
0x35, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69,
|
|
|
|
|
|
0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a,
|
|
|
|
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70,
|
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x35, 0x4d, 0x69, 0x6e,
|
|
|
|
|
|
0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61,
|
|
|
|
|
|
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05,
|
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xdc, 0x01, 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, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
|
0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
|
0x74, 0x69, 0x6d, 0x65, 0x54, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69,
|
|
|
|
|
|
0x6d, 0x65, 0x54, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x61,
|
|
|
|
|
|
0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
|
0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x06, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65,
|
|
|
|
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
2022-09-24 18:36:34 +08:00
|
|
|
|
0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75,
|
2022-09-24 18:55:25 +08:00
|
|
|
|
0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65,
|
|
|
|
|
|
0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x22, 0x9c, 0x02, 0x0a, 0x22, 0x46, 0x69,
|
2022-09-24 18:36:34 +08:00
|
|
|
|
0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61,
|
|
|
|
|
|
0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
2022-09-24 18:55:25 +08:00
|
|
|
|
0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
|
0x30, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
|
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xad, 0x01, 0x0a, 0x09, 0x44, 0x61, 0x69,
|
|
|
|
|
|
0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65,
|
|
|
|
|
|
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20,
|
|
|
|
|
|
0x0a, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73,
|
|
|
|
|
|
0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
|
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43,
|
|
|
|
|
|
0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64,
|
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x3f, 0x0a, 0x21, 0x53, 0x75, 0x6d, 0x43,
|
|
|
|
|
|
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c,
|
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
|
|
|
|
|
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
|
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x22, 0x53, 0x75, 0x6d,
|
|
|
|
|
|
0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69,
|
|
|
|
|
|
0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
|
0x3d, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
|
|
|
|
|
|
0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0f, 0x73,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x22, 0x4a,
|
|
|
|
|
|
0x0a, 0x1a, 0x53, 0x75, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
|
|
|
|
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
|
|
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18,
|
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, 0x5c, 0x0a, 0x1b, 0x53, 0x75,
|
|
|
|
|
|
0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
|
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61,
|
|
|
|
|
|
0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44,
|
|
|
|
|
|
0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x1c, 0x53, 0x75, 0x6d, 0x53,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20,
|
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x22, 0x62, 0x0a, 0x1d, 0x53, 0x75,
|
|
|
|
|
|
0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x73,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x52, 0x11, 0x73, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x32, 0xd7,
|
|
|
|
|
|
0x06, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x16, 0x75, 0x70, 0x6c,
|
|
|
|
|
|
0x6f, 0x61, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53,
|
|
|
|
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
|
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
|
|
|
|
|
|
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x4c, 0x61,
|
|
|
|
|
|
0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79,
|
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c,
|
|
|
|
|
|
0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x6c,
|
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
|
|
|
|
|
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72,
|
|
|
|
|
|
0x76, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
|
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x66, 0x69, 0x6e, 0x64, 0x4c, 0x61,
|
|
|
|
|
|
0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65,
|
|
|
|
|
|
0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e,
|
|
|
|
|
|
0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x69, 0x6e,
|
|
|
|
|
|
0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73,
|
|
|
|
|
|
0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53,
|
|
|
|
|
|
0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1f,
|
|
|
|
|
|
0x66, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x35, 0x4d, 0x69, 0x6e, 0x75, 0x74,
|
|
|
|
|
|
0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x12,
|
|
|
|
|
|
0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x35,
|
|
|
|
|
|
0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74,
|
|
|
|
|
|
0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62,
|
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x35, 0x4d, 0x69, 0x6e, 0x75,
|
|
|
|
|
|
0x74, 0x65, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79,
|
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64,
|
|
|
|
|
|
0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c,
|
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
|
0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c,
|
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e,
|
|
|
|
|
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72,
|
2022-09-24 18:36:34 +08:00
|
|
|
|
0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73,
|
2022-09-24 18:55:25 +08:00
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x73, 0x75, 0x6d, 0x43, 0x75, 0x72, 0x72,
|
|
|
|
|
|
0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x6d, 0x43, 0x75, 0x72, 0x72,
|
|
|
|
|
|
0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
|
0x53, 0x75, 0x6d, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
|
|
0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
|
0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x73, 0x75, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44,
|
|
|
|
|
|
0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x53,
|
|
|
|
|
|
0x75, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x53,
|
|
|
|
|
|
0x75, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
|
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x73, 0x75,
|
|
|
|
|
|
0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
|
0x61, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x6d, 0x53, 0x65, 0x72, 0x76,
|
|
|
|
|
|
0x65, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
|
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x6d, 0x53, 0x65,
|
|
|
|
|
|
0x72, 0x76, 0x65, 0x72, 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,
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
|
file_service_server_daily_stat_proto_rawDescOnce sync.Once
|
|
|
|
|
|
file_service_server_daily_stat_proto_rawDescData = file_service_server_daily_stat_proto_rawDesc
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_service_server_daily_stat_proto_rawDescGZIP() []byte {
|
|
|
|
|
|
file_service_server_daily_stat_proto_rawDescOnce.Do(func() {
|
|
|
|
|
|
file_service_server_daily_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_server_daily_stat_proto_rawDescData)
|
|
|
|
|
|
})
|
|
|
|
|
|
return file_service_server_daily_stat_proto_rawDescData
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
var file_service_server_daily_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
2020-12-11 21:39:17 +08:00
|
|
|
|
var file_service_server_daily_stat_proto_goTypes = []interface{}{
|
2021-06-08 15:09:58 +08:00
|
|
|
|
(*UploadServerDailyStatsRequest)(nil), // 0: pb.UploadServerDailyStatsRequest
|
|
|
|
|
|
(*FindLatestServerHourlyStatsRequest)(nil), // 1: pb.FindLatestServerHourlyStatsRequest
|
|
|
|
|
|
(*FindLatestServerHourlyStatsResponse)(nil), // 2: pb.FindLatestServerHourlyStatsResponse
|
|
|
|
|
|
(*FindLatestServerMinutelyStatsRequest)(nil), // 3: pb.FindLatestServerMinutelyStatsRequest
|
|
|
|
|
|
(*FindLatestServerMinutelyStatsResponse)(nil), // 4: pb.FindLatestServerMinutelyStatsResponse
|
2022-09-24 18:36:34 +08:00
|
|
|
|
(*FindServer5MinutelyStatsWithDayRequest)(nil), // 5: pb.FindServer5MinutelyStatsWithDayRequest
|
|
|
|
|
|
(*FindServer5MinutelyStatsWithDayResponse)(nil), // 6: pb.FindServer5MinutelyStatsWithDayResponse
|
|
|
|
|
|
(*FindLatestServerDailyStatsRequest)(nil), // 7: pb.FindLatestServerDailyStatsRequest
|
|
|
|
|
|
(*FindLatestServerDailyStatsResponse)(nil), // 8: pb.FindLatestServerDailyStatsResponse
|
|
|
|
|
|
(*SumCurrentServerDailyStatsRequest)(nil), // 9: pb.SumCurrentServerDailyStatsRequest
|
|
|
|
|
|
(*SumCurrentServerDailyStatsResponse)(nil), // 10: pb.SumCurrentServerDailyStatsResponse
|
|
|
|
|
|
(*SumServerDailyStatsRequest)(nil), // 11: pb.SumServerDailyStatsRequest
|
|
|
|
|
|
(*SumServerDailyStatsResponse)(nil), // 12: pb.SumServerDailyStatsResponse
|
|
|
|
|
|
(*SumServerMonthlyStatsRequest)(nil), // 13: pb.SumServerMonthlyStatsRequest
|
|
|
|
|
|
(*SumServerMonthlyStatsResponse)(nil), // 14: pb.SumServerMonthlyStatsResponse
|
|
|
|
|
|
(*UploadServerDailyStatsRequest_DomainStat)(nil), // 15: pb.UploadServerDailyStatsRequest.DomainStat
|
|
|
|
|
|
(*FindLatestServerHourlyStatsResponse_HourlyStat)(nil), // 16: pb.FindLatestServerHourlyStatsResponse.HourlyStat
|
|
|
|
|
|
(*FindLatestServerMinutelyStatsResponse_MinutelyStat)(nil), // 17: pb.FindLatestServerMinutelyStatsResponse.MinutelyStat
|
|
|
|
|
|
(*FindServer5MinutelyStatsWithDayResponse_Stat)(nil), // 18: pb.FindServer5MinutelyStatsWithDayResponse.Stat
|
|
|
|
|
|
(*FindLatestServerDailyStatsResponse_DailyStat)(nil), // 19: pb.FindLatestServerDailyStatsResponse.DailyStat
|
|
|
|
|
|
(*ServerDailyStat)(nil), // 20: pb.ServerDailyStat
|
|
|
|
|
|
(*RPCSuccess)(nil), // 21: pb.RPCSuccess
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
var file_service_server_daily_stat_proto_depIdxs = []int32{
|
2022-09-24 18:36:34 +08:00
|
|
|
|
20, // 0: pb.UploadServerDailyStatsRequest.stats:type_name -> pb.ServerDailyStat
|
|
|
|
|
|
15, // 1: pb.UploadServerDailyStatsRequest.domainStats:type_name -> pb.UploadServerDailyStatsRequest.DomainStat
|
|
|
|
|
|
16, // 2: pb.FindLatestServerHourlyStatsResponse.stats:type_name -> pb.FindLatestServerHourlyStatsResponse.HourlyStat
|
|
|
|
|
|
17, // 3: pb.FindLatestServerMinutelyStatsResponse.stats:type_name -> pb.FindLatestServerMinutelyStatsResponse.MinutelyStat
|
|
|
|
|
|
18, // 4: pb.FindServer5MinutelyStatsWithDayResponse.stats:type_name -> pb.FindServer5MinutelyStatsWithDayResponse.Stat
|
|
|
|
|
|
19, // 5: pb.FindLatestServerDailyStatsResponse.stats:type_name -> pb.FindLatestServerDailyStatsResponse.DailyStat
|
|
|
|
|
|
20, // 6: pb.SumCurrentServerDailyStatsResponse.serverDailyStat:type_name -> pb.ServerDailyStat
|
|
|
|
|
|
20, // 7: pb.SumServerDailyStatsResponse.serverDailyStat:type_name -> pb.ServerDailyStat
|
|
|
|
|
|
20, // 8: pb.SumServerMonthlyStatsResponse.serverMonthlyStat:type_name -> pb.ServerDailyStat
|
|
|
|
|
|
0, // 9: pb.ServerDailyStatService.uploadServerDailyStats:input_type -> pb.UploadServerDailyStatsRequest
|
|
|
|
|
|
1, // 10: pb.ServerDailyStatService.findLatestServerHourlyStats:input_type -> pb.FindLatestServerHourlyStatsRequest
|
|
|
|
|
|
3, // 11: pb.ServerDailyStatService.findLatestServerMinutelyStats:input_type -> pb.FindLatestServerMinutelyStatsRequest
|
|
|
|
|
|
5, // 12: pb.ServerDailyStatService.findServer5MinutelyStatsWithDay:input_type -> pb.FindServer5MinutelyStatsWithDayRequest
|
|
|
|
|
|
7, // 13: pb.ServerDailyStatService.findLatestServerDailyStats:input_type -> pb.FindLatestServerDailyStatsRequest
|
|
|
|
|
|
9, // 14: pb.ServerDailyStatService.sumCurrentServerDailyStats:input_type -> pb.SumCurrentServerDailyStatsRequest
|
|
|
|
|
|
11, // 15: pb.ServerDailyStatService.sumServerDailyStats:input_type -> pb.SumServerDailyStatsRequest
|
|
|
|
|
|
13, // 16: pb.ServerDailyStatService.sumServerMonthlyStats:input_type -> pb.SumServerMonthlyStatsRequest
|
|
|
|
|
|
21, // 17: pb.ServerDailyStatService.uploadServerDailyStats:output_type -> pb.RPCSuccess
|
|
|
|
|
|
2, // 18: pb.ServerDailyStatService.findLatestServerHourlyStats:output_type -> pb.FindLatestServerHourlyStatsResponse
|
|
|
|
|
|
4, // 19: pb.ServerDailyStatService.findLatestServerMinutelyStats:output_type -> pb.FindLatestServerMinutelyStatsResponse
|
|
|
|
|
|
6, // 20: pb.ServerDailyStatService.findServer5MinutelyStatsWithDay:output_type -> pb.FindServer5MinutelyStatsWithDayResponse
|
|
|
|
|
|
8, // 21: pb.ServerDailyStatService.findLatestServerDailyStats:output_type -> pb.FindLatestServerDailyStatsResponse
|
|
|
|
|
|
10, // 22: pb.ServerDailyStatService.sumCurrentServerDailyStats:output_type -> pb.SumCurrentServerDailyStatsResponse
|
|
|
|
|
|
12, // 23: pb.ServerDailyStatService.sumServerDailyStats:output_type -> pb.SumServerDailyStatsResponse
|
|
|
|
|
|
14, // 24: pb.ServerDailyStatService.sumServerMonthlyStats:output_type -> pb.SumServerMonthlyStatsResponse
|
|
|
|
|
|
17, // [17:25] is the sub-list for method output_type
|
|
|
|
|
|
9, // [9:17] is the sub-list for method input_type
|
|
|
|
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
|
|
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
|
|
|
|
0, // [0:9] is the sub-list for field type_name
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() { file_service_server_daily_stat_proto_init() }
|
|
|
|
|
|
func file_service_server_daily_stat_proto_init() {
|
|
|
|
|
|
if File_service_server_daily_stat_proto != nil {
|
|
|
|
|
|
return
|
|
|
|
|
|
}
|
2021-01-25 16:41:30 +08:00
|
|
|
|
file_models_model_server_daily_stat_proto_init()
|
|
|
|
|
|
file_models_rpc_messages_proto_init()
|
2020-12-11 21:39:17 +08:00
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*UploadServerDailyStatsRequest); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2021-06-08 11:18:39 +08:00
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
switch v := v.(*FindLatestServerHourlyStatsRequest); i {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
switch v := v.(*FindLatestServerHourlyStatsResponse); i {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
switch v := v.(*FindLatestServerMinutelyStatsRequest); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*FindLatestServerMinutelyStatsResponse); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*FindServer5MinutelyStatsWithDayRequest); i {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*FindServer5MinutelyStatsWithDayResponse); i {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*FindLatestServerDailyStatsRequest); i {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*FindLatestServerDailyStatsResponse); i {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumCurrentServerDailyStatsRequest); i {
|
2021-07-05 11:37:10 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumCurrentServerDailyStatsResponse); i {
|
2022-04-15 12:14:42 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumServerDailyStatsRequest); i {
|
2022-04-15 12:14:42 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumServerDailyStatsResponse); i {
|
2022-06-18 14:25:33 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumServerMonthlyStatsRequest); i {
|
2022-06-18 14:25:33 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*SumServerMonthlyStatsResponse); i {
|
2022-06-18 14:25:33 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*UploadServerDailyStatsRequest_DomainStat); i {
|
2022-06-18 14:25:33 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-24 18:36:34 +08:00
|
|
|
|
switch v := v.(*FindLatestServerHourlyStatsResponse_HourlyStat); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*FindLatestServerMinutelyStatsResponse_MinutelyStat); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
switch v := v.(*FindServer5MinutelyStatsWithDayResponse_Stat); i {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
file_service_server_daily_stat_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
switch v := v.(*FindLatestServerDailyStatsResponse_DailyStat); i {
|
2021-06-08 11:18:39 +08:00
|
|
|
|
case 0:
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
default:
|
|
|
|
|
|
return nil
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
type x struct{}
|
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
|
RawDescriptor: file_service_server_daily_stat_proto_rawDesc,
|
|
|
|
|
|
NumEnums: 0,
|
2022-09-24 18:36:34 +08:00
|
|
|
|
NumMessages: 20,
|
2020-12-11 21:39:17 +08:00
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
|
},
|
|
|
|
|
|
GoTypes: file_service_server_daily_stat_proto_goTypes,
|
|
|
|
|
|
DependencyIndexes: file_service_server_daily_stat_proto_depIdxs,
|
|
|
|
|
|
MessageInfos: file_service_server_daily_stat_proto_msgTypes,
|
|
|
|
|
|
}.Build()
|
|
|
|
|
|
File_service_server_daily_stat_proto = out.File
|
|
|
|
|
|
file_service_server_daily_stat_proto_rawDesc = nil
|
|
|
|
|
|
file_service_server_daily_stat_proto_goTypes = nil
|
|
|
|
|
|
file_service_server_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
|
|
|
|
|
|
|
|
|
|
|
|
// ServerDailyStatServiceClient is the client API for ServerDailyStatService service.
|
|
|
|
|
|
//
|
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
|
type ServerDailyStatServiceClient interface {
|
|
|
|
|
|
// 上传统计
|
|
|
|
|
|
UploadServerDailyStats(ctx context.Context, in *UploadServerDailyStatsRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2021-06-08 11:18:39 +08:00
|
|
|
|
// 按小时读取统计数据
|
2021-06-08 15:09:58 +08:00
|
|
|
|
FindLatestServerHourlyStats(ctx context.Context, in *FindLatestServerHourlyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerHourlyStatsResponse, error)
|
2022-09-24 18:36:34 +08:00
|
|
|
|
// 按分钟读取统计数据,并返回秒级平均流量
|
2021-06-08 15:09:58 +08:00
|
|
|
|
FindLatestServerMinutelyStats(ctx context.Context, in *FindLatestServerMinutelyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerMinutelyStatsResponse, error)
|
2022-09-24 18:36:34 +08:00
|
|
|
|
// 读取某天的5分钟间隔流量
|
|
|
|
|
|
FindServer5MinutelyStatsWithDay(ctx context.Context, in *FindServer5MinutelyStatsWithDayRequest, opts ...grpc.CallOption) (*FindServer5MinutelyStatsWithDayResponse, error)
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// 按日读取统计数据
|
|
|
|
|
|
FindLatestServerDailyStats(ctx context.Context, in *FindLatestServerDailyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerDailyStatsResponse, error)
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 查找单个服务当前时刻(N分钟内)统计数据
|
2022-04-15 12:14:42 +08:00
|
|
|
|
SumCurrentServerDailyStats(ctx context.Context, in *SumCurrentServerDailyStatsRequest, opts ...grpc.CallOption) (*SumCurrentServerDailyStatsResponse, error)
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 计算单个服务的日统计
|
|
|
|
|
|
SumServerDailyStats(ctx context.Context, in *SumServerDailyStatsRequest, opts ...grpc.CallOption) (*SumServerDailyStatsResponse, error)
|
|
|
|
|
|
// 计算单个服务的月统计
|
|
|
|
|
|
SumServerMonthlyStats(ctx context.Context, in *SumServerMonthlyStatsRequest, opts ...grpc.CallOption) (*SumServerMonthlyStatsResponse, error)
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type serverDailyStatServiceClient struct {
|
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func NewServerDailyStatServiceClient(cc grpc.ClientConnInterface) ServerDailyStatServiceClient {
|
|
|
|
|
|
return &serverDailyStatServiceClient{cc}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (c *serverDailyStatServiceClient) UploadServerDailyStats(ctx context.Context, in *UploadServerDailyStatsRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/uploadServerDailyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (c *serverDailyStatServiceClient) FindLatestServerHourlyStats(ctx context.Context, in *FindLatestServerHourlyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerHourlyStatsResponse, error) {
|
|
|
|
|
|
out := new(FindLatestServerHourlyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/findLatestServerHourlyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (c *serverDailyStatServiceClient) FindLatestServerMinutelyStats(ctx context.Context, in *FindLatestServerMinutelyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerMinutelyStatsResponse, error) {
|
|
|
|
|
|
out := new(FindLatestServerMinutelyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/findLatestServerMinutelyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
func (c *serverDailyStatServiceClient) FindServer5MinutelyStatsWithDay(ctx context.Context, in *FindServer5MinutelyStatsWithDayRequest, opts ...grpc.CallOption) (*FindServer5MinutelyStatsWithDayResponse, error) {
|
|
|
|
|
|
out := new(FindServer5MinutelyStatsWithDayResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/findServer5MinutelyStatsWithDay", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (c *serverDailyStatServiceClient) FindLatestServerDailyStats(ctx context.Context, in *FindLatestServerDailyStatsRequest, opts ...grpc.CallOption) (*FindLatestServerDailyStatsResponse, error) {
|
|
|
|
|
|
out := new(FindLatestServerDailyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/findLatestServerDailyStats", in, out, opts...)
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-04-15 12:14:42 +08:00
|
|
|
|
func (c *serverDailyStatServiceClient) SumCurrentServerDailyStats(ctx context.Context, in *SumCurrentServerDailyStatsRequest, opts ...grpc.CallOption) (*SumCurrentServerDailyStatsResponse, error) {
|
|
|
|
|
|
out := new(SumCurrentServerDailyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/sumCurrentServerDailyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-06-18 14:25:33 +08:00
|
|
|
|
func (c *serverDailyStatServiceClient) SumServerDailyStats(ctx context.Context, in *SumServerDailyStatsRequest, opts ...grpc.CallOption) (*SumServerDailyStatsResponse, error) {
|
|
|
|
|
|
out := new(SumServerDailyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/sumServerDailyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (c *serverDailyStatServiceClient) SumServerMonthlyStats(ctx context.Context, in *SumServerMonthlyStatsRequest, opts ...grpc.CallOption) (*SumServerMonthlyStatsResponse, error) {
|
|
|
|
|
|
out := new(SumServerMonthlyStatsResponse)
|
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.ServerDailyStatService/sumServerMonthlyStats", in, out, opts...)
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
return out, nil
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-12-11 21:39:17 +08:00
|
|
|
|
// ServerDailyStatServiceServer is the server API for ServerDailyStatService service.
|
|
|
|
|
|
type ServerDailyStatServiceServer interface {
|
|
|
|
|
|
// 上传统计
|
|
|
|
|
|
UploadServerDailyStats(context.Context, *UploadServerDailyStatsRequest) (*RPCSuccess, error)
|
2021-06-08 11:18:39 +08:00
|
|
|
|
// 按小时读取统计数据
|
2021-06-08 15:09:58 +08:00
|
|
|
|
FindLatestServerHourlyStats(context.Context, *FindLatestServerHourlyStatsRequest) (*FindLatestServerHourlyStatsResponse, error)
|
2022-09-24 18:36:34 +08:00
|
|
|
|
// 按分钟读取统计数据,并返回秒级平均流量
|
2021-06-08 15:09:58 +08:00
|
|
|
|
FindLatestServerMinutelyStats(context.Context, *FindLatestServerMinutelyStatsRequest) (*FindLatestServerMinutelyStatsResponse, error)
|
2022-09-24 18:36:34 +08:00
|
|
|
|
// 读取某天的5分钟间隔流量
|
|
|
|
|
|
FindServer5MinutelyStatsWithDay(context.Context, *FindServer5MinutelyStatsWithDayRequest) (*FindServer5MinutelyStatsWithDayResponse, error)
|
2021-06-08 15:09:58 +08:00
|
|
|
|
// 按日读取统计数据
|
|
|
|
|
|
FindLatestServerDailyStats(context.Context, *FindLatestServerDailyStatsRequest) (*FindLatestServerDailyStatsResponse, error)
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 查找单个服务当前时刻(N分钟内)统计数据
|
2022-04-15 12:14:42 +08:00
|
|
|
|
SumCurrentServerDailyStats(context.Context, *SumCurrentServerDailyStatsRequest) (*SumCurrentServerDailyStatsResponse, error)
|
2022-06-18 14:25:33 +08:00
|
|
|
|
// 计算单个服务的日统计
|
|
|
|
|
|
SumServerDailyStats(context.Context, *SumServerDailyStatsRequest) (*SumServerDailyStatsResponse, error)
|
|
|
|
|
|
// 计算单个服务的月统计
|
|
|
|
|
|
SumServerMonthlyStats(context.Context, *SumServerMonthlyStatsRequest) (*SumServerMonthlyStatsResponse, error)
|
2020-12-11 21:39:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// UnimplementedServerDailyStatServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
|
type UnimplementedServerDailyStatServiceServer struct {
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) UploadServerDailyStats(context.Context, *UploadServerDailyStatsRequest) (*RPCSuccess, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadServerDailyStats not implemented")
|
|
|
|
|
|
}
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) FindLatestServerHourlyStats(context.Context, *FindLatestServerHourlyStatsRequest) (*FindLatestServerHourlyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindLatestServerHourlyStats not implemented")
|
|
|
|
|
|
}
|
|
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) FindLatestServerMinutelyStats(context.Context, *FindLatestServerMinutelyStatsRequest) (*FindLatestServerMinutelyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindLatestServerMinutelyStats not implemented")
|
|
|
|
|
|
}
|
2022-09-24 18:36:34 +08:00
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) FindServer5MinutelyStatsWithDay(context.Context, *FindServer5MinutelyStatsWithDayRequest) (*FindServer5MinutelyStatsWithDayResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindServer5MinutelyStatsWithDay not implemented")
|
|
|
|
|
|
}
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) FindLatestServerDailyStats(context.Context, *FindLatestServerDailyStatsRequest) (*FindLatestServerDailyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindLatestServerDailyStats not implemented")
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
2022-04-15 12:14:42 +08:00
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) SumCurrentServerDailyStats(context.Context, *SumCurrentServerDailyStatsRequest) (*SumCurrentServerDailyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SumCurrentServerDailyStats not implemented")
|
|
|
|
|
|
}
|
2022-06-18 14:25:33 +08:00
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) SumServerDailyStats(context.Context, *SumServerDailyStatsRequest) (*SumServerDailyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SumServerDailyStats not implemented")
|
|
|
|
|
|
}
|
|
|
|
|
|
func (*UnimplementedServerDailyStatServiceServer) SumServerMonthlyStats(context.Context, *SumServerMonthlyStatsRequest) (*SumServerMonthlyStatsResponse, error) {
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SumServerMonthlyStats not implemented")
|
|
|
|
|
|
}
|
2020-12-11 21:39:17 +08:00
|
|
|
|
|
|
|
|
|
|
func RegisterServerDailyStatServiceServer(s *grpc.Server, srv ServerDailyStatServiceServer) {
|
|
|
|
|
|
s.RegisterService(&_ServerDailyStatService_serviceDesc, srv)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func _ServerDailyStatService_UploadServerDailyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(UploadServerDailyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).UploadServerDailyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/UploadServerDailyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).UploadServerDailyStats(ctx, req.(*UploadServerDailyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func _ServerDailyStatService_FindLatestServerHourlyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(FindLatestServerHourlyStatsRequest)
|
2021-06-08 11:18:39 +08:00
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerHourlyStats(ctx, in)
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
2021-06-08 15:09:58 +08:00
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/FindLatestServerHourlyStats",
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-06-08 15:09:58 +08:00
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerHourlyStats(ctx, req.(*FindLatestServerHourlyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func _ServerDailyStatService_FindLatestServerMinutelyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(FindLatestServerMinutelyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerMinutelyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/FindLatestServerMinutelyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerMinutelyStats(ctx, req.(*FindLatestServerMinutelyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-09-24 18:36:34 +08:00
|
|
|
|
func _ServerDailyStatService_FindServer5MinutelyStatsWithDay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(FindServer5MinutelyStatsWithDayRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindServer5MinutelyStatsWithDay(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/FindServer5MinutelyStatsWithDay",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindServer5MinutelyStatsWithDay(ctx, req.(*FindServer5MinutelyStatsWithDayRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-06-08 15:09:58 +08:00
|
|
|
|
func _ServerDailyStatService_FindLatestServerDailyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(FindLatestServerDailyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerDailyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/FindLatestServerDailyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).FindLatestServerDailyStats(ctx, req.(*FindLatestServerDailyStatsRequest))
|
2021-06-08 11:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-04-15 12:14:42 +08:00
|
|
|
|
func _ServerDailyStatService_SumCurrentServerDailyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(SumCurrentServerDailyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumCurrentServerDailyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/SumCurrentServerDailyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumCurrentServerDailyStats(ctx, req.(*SumCurrentServerDailyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-06-18 14:25:33 +08:00
|
|
|
|
func _ServerDailyStatService_SumServerDailyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(SumServerDailyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumServerDailyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/SumServerDailyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumServerDailyStats(ctx, req.(*SumServerDailyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func _ServerDailyStatService_SumServerMonthlyStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
|
in := new(SumServerMonthlyStatsRequest)
|
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
}
|
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumServerMonthlyStats(ctx, in)
|
|
|
|
|
|
}
|
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
|
Server: srv,
|
|
|
|
|
|
FullMethod: "/pb.ServerDailyStatService/SumServerMonthlyStats",
|
|
|
|
|
|
}
|
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
|
return srv.(ServerDailyStatServiceServer).SumServerMonthlyStats(ctx, req.(*SumServerMonthlyStatsRequest))
|
|
|
|
|
|
}
|
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-12-11 21:39:17 +08:00
|
|
|
|
var _ServerDailyStatService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
|
ServiceName: "pb.ServerDailyStatService",
|
|
|
|
|
|
HandlerType: (*ServerDailyStatServiceServer)(nil),
|
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
|
{
|
|
|
|
|
|
MethodName: "uploadServerDailyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_UploadServerDailyStats_Handler,
|
|
|
|
|
|
},
|
2021-06-08 11:18:39 +08:00
|
|
|
|
{
|
2021-06-08 15:09:58 +08:00
|
|
|
|
MethodName: "findLatestServerHourlyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_FindLatestServerHourlyStats_Handler,
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
MethodName: "findLatestServerMinutelyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_FindLatestServerMinutelyStats_Handler,
|
|
|
|
|
|
},
|
2022-09-24 18:36:34 +08:00
|
|
|
|
{
|
|
|
|
|
|
MethodName: "findServer5MinutelyStatsWithDay",
|
|
|
|
|
|
Handler: _ServerDailyStatService_FindServer5MinutelyStatsWithDay_Handler,
|
|
|
|
|
|
},
|
2021-06-08 15:09:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
MethodName: "findLatestServerDailyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_FindLatestServerDailyStats_Handler,
|
2021-06-08 11:18:39 +08:00
|
|
|
|
},
|
2022-04-15 12:14:42 +08:00
|
|
|
|
{
|
|
|
|
|
|
MethodName: "sumCurrentServerDailyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_SumCurrentServerDailyStats_Handler,
|
|
|
|
|
|
},
|
2022-06-18 14:25:33 +08:00
|
|
|
|
{
|
|
|
|
|
|
MethodName: "sumServerDailyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_SumServerDailyStats_Handler,
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
MethodName: "sumServerMonthlyStats",
|
|
|
|
|
|
Handler: _ServerDailyStatService_SumServerMonthlyStats_Handler,
|
|
|
|
|
|
},
|
2020-12-11 21:39:17 +08:00
|
|
|
|
},
|
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
|
Metadata: "service_server_daily_stat.proto",
|
|
|
|
|
|
}
|