mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			459 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			459 lines
		
	
	
		
			17 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
						|
// versions:
 | 
						|
// 	protoc-gen-go v1.31.0
 | 
						|
// 	protoc        v3.19.4
 | 
						|
// source: service_metric_stat.proto
 | 
						|
 | 
						|
package pb
 | 
						|
 | 
						|
import (
 | 
						|
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | 
						|
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | 
						|
	reflect "reflect"
 | 
						|
	sync "sync"
 | 
						|
)
 | 
						|
 | 
						|
const (
 | 
						|
	// Verify that this generated code is sufficiently up-to-date.
 | 
						|
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
 | 
						|
	// Verify that runtime/protoimpl is sufficiently up-to-date.
 | 
						|
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
 | 
						|
)
 | 
						|
 | 
						|
// 上传统计数据
 | 
						|
type UploadMetricStatsRequest struct {
 | 
						|
	state         protoimpl.MessageState
 | 
						|
	sizeCache     protoimpl.SizeCache
 | 
						|
	unknownFields protoimpl.UnknownFields
 | 
						|
 | 
						|
	ServerId    int64                  `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`      // 网站ID
 | 
						|
	Time        string                 `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`               // 时间
 | 
						|
	Count       int64                  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`            // 数量
 | 
						|
	Total       float32                `protobuf:"fixed32,4,opt,name=total,proto3" json:"total,omitempty"`           // 总数
 | 
						|
	Version     int32                  `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`        // 版本号
 | 
						|
	ItemId      int64                  `protobuf:"varint,6,opt,name=itemId,proto3" json:"itemId,omitempty"`          // 指标ID
 | 
						|
	MetricStats []*UploadingMetricStat `protobuf:"bytes,7,rep,name=metricStats,proto3" json:"metricStats,omitempty"` // 指标统计数据
 | 
						|
	KeepKeys    []string               `protobuf:"bytes,8,rep,name=keepKeys,proto3" json:"keepKeys,omitempty"`       // 需要保留的指标值
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) Reset() {
 | 
						|
	*x = UploadMetricStatsRequest{}
 | 
						|
	if protoimpl.UnsafeEnabled {
 | 
						|
		mi := &file_service_metric_stat_proto_msgTypes[0]
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		ms.StoreMessageInfo(mi)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) String() string {
 | 
						|
	return protoimpl.X.MessageStringOf(x)
 | 
						|
}
 | 
						|
 | 
						|
func (*UploadMetricStatsRequest) ProtoMessage() {}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) ProtoReflect() protoreflect.Message {
 | 
						|
	mi := &file_service_metric_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 UploadMetricStatsRequest.ProtoReflect.Descriptor instead.
 | 
						|
func (*UploadMetricStatsRequest) Descriptor() ([]byte, []int) {
 | 
						|
	return file_service_metric_stat_proto_rawDescGZIP(), []int{0}
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetServerId() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.ServerId
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetTime() string {
 | 
						|
	if x != nil {
 | 
						|
		return x.Time
 | 
						|
	}
 | 
						|
	return ""
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetCount() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.Count
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetTotal() float32 {
 | 
						|
	if x != nil {
 | 
						|
		return x.Total
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetVersion() int32 {
 | 
						|
	if x != nil {
 | 
						|
		return x.Version
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetItemId() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.ItemId
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetMetricStats() []*UploadingMetricStat {
 | 
						|
	if x != nil {
 | 
						|
		return x.MetricStats
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func (x *UploadMetricStatsRequest) GetKeepKeys() []string {
 | 
						|
	if x != nil {
 | 
						|
		return x.KeepKeys
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
// 计算指标数据数量
 | 
						|
type CountMetricStatsRequest struct {
 | 
						|
	state         protoimpl.MessageState
 | 
						|
	sizeCache     protoimpl.SizeCache
 | 
						|
	unknownFields protoimpl.UnknownFields
 | 
						|
 | 
						|
	MetricItemId int64 `protobuf:"varint,1,opt,name=metricItemId,proto3" json:"metricItemId,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (x *CountMetricStatsRequest) Reset() {
 | 
						|
	*x = CountMetricStatsRequest{}
 | 
						|
	if protoimpl.UnsafeEnabled {
 | 
						|
		mi := &file_service_metric_stat_proto_msgTypes[1]
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		ms.StoreMessageInfo(mi)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func (x *CountMetricStatsRequest) String() string {
 | 
						|
	return protoimpl.X.MessageStringOf(x)
 | 
						|
}
 | 
						|
 | 
						|
func (*CountMetricStatsRequest) ProtoMessage() {}
 | 
						|
 | 
						|
func (x *CountMetricStatsRequest) ProtoReflect() protoreflect.Message {
 | 
						|
	mi := &file_service_metric_stat_proto_msgTypes[1]
 | 
						|
	if protoimpl.UnsafeEnabled && x != nil {
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		if ms.LoadMessageInfo() == nil {
 | 
						|
			ms.StoreMessageInfo(mi)
 | 
						|
		}
 | 
						|
		return ms
 | 
						|
	}
 | 
						|
	return mi.MessageOf(x)
 | 
						|
}
 | 
						|
 | 
						|
// Deprecated: Use CountMetricStatsRequest.ProtoReflect.Descriptor instead.
 | 
						|
func (*CountMetricStatsRequest) Descriptor() ([]byte, []int) {
 | 
						|
	return file_service_metric_stat_proto_rawDescGZIP(), []int{1}
 | 
						|
}
 | 
						|
 | 
						|
func (x *CountMetricStatsRequest) GetMetricItemId() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.MetricItemId
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
// 读取单页指标数据
 | 
						|
type ListMetricStatsRequest struct {
 | 
						|
	state         protoimpl.MessageState
 | 
						|
	sizeCache     protoimpl.SizeCache
 | 
						|
	unknownFields protoimpl.UnknownFields
 | 
						|
 | 
						|
	MetricItemId int64 `protobuf:"varint,1,opt,name=metricItemId,proto3" json:"metricItemId,omitempty"`
 | 
						|
	Offset       int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
 | 
						|
	Size         int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) Reset() {
 | 
						|
	*x = ListMetricStatsRequest{}
 | 
						|
	if protoimpl.UnsafeEnabled {
 | 
						|
		mi := &file_service_metric_stat_proto_msgTypes[2]
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		ms.StoreMessageInfo(mi)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) String() string {
 | 
						|
	return protoimpl.X.MessageStringOf(x)
 | 
						|
}
 | 
						|
 | 
						|
func (*ListMetricStatsRequest) ProtoMessage() {}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) ProtoReflect() protoreflect.Message {
 | 
						|
	mi := &file_service_metric_stat_proto_msgTypes[2]
 | 
						|
	if protoimpl.UnsafeEnabled && x != nil {
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		if ms.LoadMessageInfo() == nil {
 | 
						|
			ms.StoreMessageInfo(mi)
 | 
						|
		}
 | 
						|
		return ms
 | 
						|
	}
 | 
						|
	return mi.MessageOf(x)
 | 
						|
}
 | 
						|
 | 
						|
// Deprecated: Use ListMetricStatsRequest.ProtoReflect.Descriptor instead.
 | 
						|
func (*ListMetricStatsRequest) Descriptor() ([]byte, []int) {
 | 
						|
	return file_service_metric_stat_proto_rawDescGZIP(), []int{2}
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) GetMetricItemId() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.MetricItemId
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) GetOffset() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.Offset
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsRequest) GetSize() int64 {
 | 
						|
	if x != nil {
 | 
						|
		return x.Size
 | 
						|
	}
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
type ListMetricStatsResponse struct {
 | 
						|
	state         protoimpl.MessageState
 | 
						|
	sizeCache     protoimpl.SizeCache
 | 
						|
	unknownFields protoimpl.UnknownFields
 | 
						|
 | 
						|
	MetricStats []*MetricStat `protobuf:"bytes,1,rep,name=metricStats,proto3" json:"metricStats,omitempty"`
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsResponse) Reset() {
 | 
						|
	*x = ListMetricStatsResponse{}
 | 
						|
	if protoimpl.UnsafeEnabled {
 | 
						|
		mi := &file_service_metric_stat_proto_msgTypes[3]
 | 
						|
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | 
						|
		ms.StoreMessageInfo(mi)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsResponse) String() string {
 | 
						|
	return protoimpl.X.MessageStringOf(x)
 | 
						|
}
 | 
						|
 | 
						|
func (*ListMetricStatsResponse) ProtoMessage() {}
 | 
						|
 | 
						|
func (x *ListMetricStatsResponse) ProtoReflect() protoreflect.Message {
 | 
						|
	mi := &file_service_metric_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 ListMetricStatsResponse.ProtoReflect.Descriptor instead.
 | 
						|
func (*ListMetricStatsResponse) Descriptor() ([]byte, []int) {
 | 
						|
	return file_service_metric_stat_proto_rawDescGZIP(), []int{3}
 | 
						|
}
 | 
						|
 | 
						|
func (x *ListMetricStatsResponse) GetMetricStats() []*MetricStat {
 | 
						|
	if x != nil {
 | 
						|
		return x.MetricStats
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
var File_service_metric_stat_proto protoreflect.FileDescriptor
 | 
						|
 | 
						|
var file_service_metric_stat_proto_rawDesc = []byte{
 | 
						|
	0x0a, 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
 | 
						|
	0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a,
 | 
						|
	0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65,
 | 
						|
	0x74, 0x72, 0x69, 0x63, 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, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x01, 0x0a, 0x18, 0x55,
 | 
						|
	0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
 | 
						|
	0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
 | 
						|
	0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
 | 
						|
	0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x74, 0x6f,
 | 
						|
	0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05,
 | 
						|
	0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a,
 | 
						|
	0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69,
 | 
						|
	0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53,
 | 
						|
	0x74, 0x61, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e,
 | 
						|
	0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53,
 | 
						|
	0x74, 0x61, 0x74, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73,
 | 
						|
	0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x03,
 | 
						|
	0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x65, 0x70, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x3d, 0x0a, 0x17,
 | 
						|
	0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73,
 | 
						|
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69,
 | 
						|
	0x63, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d,
 | 
						|
	0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x68, 0x0a, 0x16, 0x4c,
 | 
						|
	0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
 | 
						|
	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49,
 | 
						|
	0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x65, 0x74,
 | 
						|
	0x72, 0x69, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
 | 
						|
	0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
 | 
						|
	0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
 | 
						|
	0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x4b, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74,
 | 
						|
	0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
 | 
						|
	0x12, 0x30, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x18,
 | 
						|
	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
 | 
						|
	0x63, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61,
 | 
						|
	0x74, 0x73, 0x32, 0xe9, 0x01, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61,
 | 
						|
	0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x6c, 0x6f,
 | 
						|
	0x61, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1c, 0x2e,
 | 
						|
	0x70, 0x62, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 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, 0x45, 0x0a, 0x10, 0x63,
 | 
						|
	0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
 | 
						|
	0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
 | 
						|
	0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
 | 
						|
	0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
 | 
						|
	0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
 | 
						|
	0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d,
 | 
						|
	0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 | 
						|
	0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69,
 | 
						|
	0x63, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06,
 | 
						|
	0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | 
						|
}
 | 
						|
 | 
						|
var (
 | 
						|
	file_service_metric_stat_proto_rawDescOnce sync.Once
 | 
						|
	file_service_metric_stat_proto_rawDescData = file_service_metric_stat_proto_rawDesc
 | 
						|
)
 | 
						|
 | 
						|
func file_service_metric_stat_proto_rawDescGZIP() []byte {
 | 
						|
	file_service_metric_stat_proto_rawDescOnce.Do(func() {
 | 
						|
		file_service_metric_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_metric_stat_proto_rawDescData)
 | 
						|
	})
 | 
						|
	return file_service_metric_stat_proto_rawDescData
 | 
						|
}
 | 
						|
 | 
						|
var file_service_metric_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
 | 
						|
var file_service_metric_stat_proto_goTypes = []interface{}{
 | 
						|
	(*UploadMetricStatsRequest)(nil), // 0: pb.UploadMetricStatsRequest
 | 
						|
	(*CountMetricStatsRequest)(nil),  // 1: pb.CountMetricStatsRequest
 | 
						|
	(*ListMetricStatsRequest)(nil),   // 2: pb.ListMetricStatsRequest
 | 
						|
	(*ListMetricStatsResponse)(nil),  // 3: pb.ListMetricStatsResponse
 | 
						|
	(*UploadingMetricStat)(nil),      // 4: pb.UploadingMetricStat
 | 
						|
	(*MetricStat)(nil),               // 5: pb.MetricStat
 | 
						|
	(*RPCSuccess)(nil),               // 6: pb.RPCSuccess
 | 
						|
	(*RPCCountResponse)(nil),         // 7: pb.RPCCountResponse
 | 
						|
}
 | 
						|
var file_service_metric_stat_proto_depIdxs = []int32{
 | 
						|
	4, // 0: pb.UploadMetricStatsRequest.metricStats:type_name -> pb.UploadingMetricStat
 | 
						|
	5, // 1: pb.ListMetricStatsResponse.metricStats:type_name -> pb.MetricStat
 | 
						|
	0, // 2: pb.MetricStatService.uploadMetricStats:input_type -> pb.UploadMetricStatsRequest
 | 
						|
	1, // 3: pb.MetricStatService.countMetricStats:input_type -> pb.CountMetricStatsRequest
 | 
						|
	2, // 4: pb.MetricStatService.listMetricStats:input_type -> pb.ListMetricStatsRequest
 | 
						|
	6, // 5: pb.MetricStatService.uploadMetricStats:output_type -> pb.RPCSuccess
 | 
						|
	7, // 6: pb.MetricStatService.countMetricStats:output_type -> pb.RPCCountResponse
 | 
						|
	3, // 7: pb.MetricStatService.listMetricStats:output_type -> pb.ListMetricStatsResponse
 | 
						|
	5, // [5:8] is the sub-list for method output_type
 | 
						|
	2, // [2:5] is the sub-list for method input_type
 | 
						|
	2, // [2:2] is the sub-list for extension type_name
 | 
						|
	2, // [2:2] is the sub-list for extension extendee
 | 
						|
	0, // [0:2] is the sub-list for field type_name
 | 
						|
}
 | 
						|
 | 
						|
func init() { file_service_metric_stat_proto_init() }
 | 
						|
func file_service_metric_stat_proto_init() {
 | 
						|
	if File_service_metric_stat_proto != nil {
 | 
						|
		return
 | 
						|
	}
 | 
						|
	file_models_model_metric_stat_proto_init()
 | 
						|
	file_models_rpc_messages_proto_init()
 | 
						|
	if !protoimpl.UnsafeEnabled {
 | 
						|
		file_service_metric_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
 | 
						|
			switch v := v.(*UploadMetricStatsRequest); i {
 | 
						|
			case 0:
 | 
						|
				return &v.state
 | 
						|
			case 1:
 | 
						|
				return &v.sizeCache
 | 
						|
			case 2:
 | 
						|
				return &v.unknownFields
 | 
						|
			default:
 | 
						|
				return nil
 | 
						|
			}
 | 
						|
		}
 | 
						|
		file_service_metric_stat_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
 | 
						|
			switch v := v.(*CountMetricStatsRequest); i {
 | 
						|
			case 0:
 | 
						|
				return &v.state
 | 
						|
			case 1:
 | 
						|
				return &v.sizeCache
 | 
						|
			case 2:
 | 
						|
				return &v.unknownFields
 | 
						|
			default:
 | 
						|
				return nil
 | 
						|
			}
 | 
						|
		}
 | 
						|
		file_service_metric_stat_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
 | 
						|
			switch v := v.(*ListMetricStatsRequest); i {
 | 
						|
			case 0:
 | 
						|
				return &v.state
 | 
						|
			case 1:
 | 
						|
				return &v.sizeCache
 | 
						|
			case 2:
 | 
						|
				return &v.unknownFields
 | 
						|
			default:
 | 
						|
				return nil
 | 
						|
			}
 | 
						|
		}
 | 
						|
		file_service_metric_stat_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
 | 
						|
			switch v := v.(*ListMetricStatsResponse); i {
 | 
						|
			case 0:
 | 
						|
				return &v.state
 | 
						|
			case 1:
 | 
						|
				return &v.sizeCache
 | 
						|
			case 2:
 | 
						|
				return &v.unknownFields
 | 
						|
			default:
 | 
						|
				return nil
 | 
						|
			}
 | 
						|
		}
 | 
						|
	}
 | 
						|
	type x struct{}
 | 
						|
	out := protoimpl.TypeBuilder{
 | 
						|
		File: protoimpl.DescBuilder{
 | 
						|
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | 
						|
			RawDescriptor: file_service_metric_stat_proto_rawDesc,
 | 
						|
			NumEnums:      0,
 | 
						|
			NumMessages:   4,
 | 
						|
			NumExtensions: 0,
 | 
						|
			NumServices:   1,
 | 
						|
		},
 | 
						|
		GoTypes:           file_service_metric_stat_proto_goTypes,
 | 
						|
		DependencyIndexes: file_service_metric_stat_proto_depIdxs,
 | 
						|
		MessageInfos:      file_service_metric_stat_proto_msgTypes,
 | 
						|
	}.Build()
 | 
						|
	File_service_metric_stat_proto = out.File
 | 
						|
	file_service_metric_stat_proto_rawDesc = nil
 | 
						|
	file_service_metric_stat_proto_goTypes = nil
 | 
						|
	file_service_metric_stat_proto_depIdxs = nil
 | 
						|
}
 |