651 lines
23 KiB
Go
651 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.12.4
|
|
// source: service_httpdns_board.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// 组合看板数据请求
|
|
type ComposeHTTPDNSBoardRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardRequest) Reset() {
|
|
*x = ComposeHTTPDNSBoardRequest{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardRequest) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardRequest.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// 组合看板数据响应
|
|
type ComposeHTTPDNSBoardResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CountApps int64 `protobuf:"varint,1,opt,name=countApps,proto3" json:"countApps,omitempty"`
|
|
CountDomains int64 `protobuf:"varint,2,opt,name=countDomains,proto3" json:"countDomains,omitempty"`
|
|
CountClusters int64 `protobuf:"varint,3,opt,name=countClusters,proto3" json:"countClusters,omitempty"`
|
|
CountNodes int64 `protobuf:"varint,4,opt,name=countNodes,proto3" json:"countNodes,omitempty"`
|
|
CountOfflineNodes int64 `protobuf:"varint,5,opt,name=countOfflineNodes,proto3" json:"countOfflineNodes,omitempty"`
|
|
DailyTrafficStats []*ComposeHTTPDNSBoardResponse_DailyTrafficStat `protobuf:"bytes,30,rep,name=dailyTrafficStats,proto3" json:"dailyTrafficStats,omitempty"`
|
|
HourlyTrafficStats []*ComposeHTTPDNSBoardResponse_HourlyTrafficStat `protobuf:"bytes,31,rep,name=hourlyTrafficStats,proto3" json:"hourlyTrafficStats,omitempty"`
|
|
TopAppStats []*ComposeHTTPDNSBoardResponse_TopAppStat `protobuf:"bytes,32,rep,name=topAppStats,proto3" json:"topAppStats,omitempty"`
|
|
TopDomainStats []*ComposeHTTPDNSBoardResponse_TopDomainStat `protobuf:"bytes,33,rep,name=topDomainStats,proto3" json:"topDomainStats,omitempty"`
|
|
TopNodeStats []*ComposeHTTPDNSBoardResponse_TopNodeStat `protobuf:"bytes,34,rep,name=topNodeStats,proto3" json:"topNodeStats,omitempty"`
|
|
CpuNodeValues []*NodeValue `protobuf:"bytes,35,rep,name=cpuNodeValues,proto3" json:"cpuNodeValues,omitempty"`
|
|
MemoryNodeValues []*NodeValue `protobuf:"bytes,36,rep,name=memoryNodeValues,proto3" json:"memoryNodeValues,omitempty"`
|
|
LoadNodeValues []*NodeValue `protobuf:"bytes,37,rep,name=loadNodeValues,proto3" json:"loadNodeValues,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCountApps() int64 {
|
|
if x != nil {
|
|
return x.CountApps
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCountDomains() int64 {
|
|
if x != nil {
|
|
return x.CountDomains
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCountClusters() int64 {
|
|
if x != nil {
|
|
return x.CountClusters
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCountNodes() int64 {
|
|
if x != nil {
|
|
return x.CountNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCountOfflineNodes() int64 {
|
|
if x != nil {
|
|
return x.CountOfflineNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetDailyTrafficStats() []*ComposeHTTPDNSBoardResponse_DailyTrafficStat {
|
|
if x != nil {
|
|
return x.DailyTrafficStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetHourlyTrafficStats() []*ComposeHTTPDNSBoardResponse_HourlyTrafficStat {
|
|
if x != nil {
|
|
return x.HourlyTrafficStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetTopAppStats() []*ComposeHTTPDNSBoardResponse_TopAppStat {
|
|
if x != nil {
|
|
return x.TopAppStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetTopDomainStats() []*ComposeHTTPDNSBoardResponse_TopDomainStat {
|
|
if x != nil {
|
|
return x.TopDomainStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetTopNodeStats() []*ComposeHTTPDNSBoardResponse_TopNodeStat {
|
|
if x != nil {
|
|
return x.TopNodeStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetCpuNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.CpuNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetMemoryNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.MemoryNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse) GetLoadNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.LoadNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ComposeHTTPDNSBoardResponse_DailyTrafficStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
|
|
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse_DailyTrafficStat{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse_DailyTrafficStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse_DailyTrafficStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse_DailyTrafficStat) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) GetDay() string {
|
|
if x != nil {
|
|
return x.Day
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_DailyTrafficStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeHTTPDNSBoardResponse_HourlyTrafficStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Hour string `protobuf:"bytes,1,opt,name=hour,proto3" json:"hour,omitempty"`
|
|
Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse_HourlyTrafficStat{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse_HourlyTrafficStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse_HourlyTrafficStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse_HourlyTrafficStat) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1, 1}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) GetHour() string {
|
|
if x != nil {
|
|
return x.Hour
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_HourlyTrafficStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeHTTPDNSBoardResponse_TopAppStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppId int64 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
|
|
AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"`
|
|
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse_TopAppStat{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse_TopAppStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse_TopAppStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse_TopAppStat) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1, 2}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) GetAppId() int64 {
|
|
if x != nil {
|
|
return x.AppId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) GetAppName() string {
|
|
if x != nil {
|
|
return x.AppName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopAppStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeHTTPDNSBoardResponse_TopDomainStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DomainId int64 `protobuf:"varint,1,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
|
DomainName string `protobuf:"bytes,2,opt,name=domainName,proto3" json:"domainName,omitempty"`
|
|
CountRequests int64 `protobuf:"varint,3,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
Bytes int64 `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse_TopDomainStat{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse_TopDomainStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse_TopDomainStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse_TopDomainStat) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1, 3}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) GetDomainId() int64 {
|
|
if x != nil {
|
|
return x.DomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) GetDomainName() string {
|
|
if x != nil {
|
|
return x.DomainName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopDomainStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeHTTPDNSBoardResponse_TopNodeStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
|
NodeId int64 `protobuf:"varint,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
|
NodeName string `protobuf:"bytes,3,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
|
CountRequests int64 `protobuf:"varint,4,opt,name=countRequests,proto3" json:"countRequests,omitempty"`
|
|
Bytes int64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) Reset() {
|
|
*x = ComposeHTTPDNSBoardResponse_TopNodeStat{}
|
|
mi := &file_service_httpdns_board_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeHTTPDNSBoardResponse_TopNodeStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_board_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeHTTPDNSBoardResponse_TopNodeStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeHTTPDNSBoardResponse_TopNodeStat) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_board_proto_rawDescGZIP(), []int{1, 4}
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) GetClusterId() int64 {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) GetNodeId() int64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) GetNodeName() string {
|
|
if x != nil {
|
|
return x.NodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeHTTPDNSBoardResponse_TopNodeStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_service_httpdns_board_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_httpdns_board_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1bservice_httpdns_board.proto\x12\x02pb\x1a\x1dmodels/model_node_value.proto\"\x1c\n" +
|
|
"\x1aComposeHTTPDNSBoardRequest\"\x9c\v\n" +
|
|
"\x1bComposeHTTPDNSBoardResponse\x12\x1c\n" +
|
|
"\tcountApps\x18\x01 \x01(\x03R\tcountApps\x12\"\n" +
|
|
"\fcountDomains\x18\x02 \x01(\x03R\fcountDomains\x12$\n" +
|
|
"\rcountClusters\x18\x03 \x01(\x03R\rcountClusters\x12\x1e\n" +
|
|
"\n" +
|
|
"countNodes\x18\x04 \x01(\x03R\n" +
|
|
"countNodes\x12,\n" +
|
|
"\x11countOfflineNodes\x18\x05 \x01(\x03R\x11countOfflineNodes\x12^\n" +
|
|
"\x11dailyTrafficStats\x18\x1e \x03(\v20.pb.ComposeHTTPDNSBoardResponse.DailyTrafficStatR\x11dailyTrafficStats\x12a\n" +
|
|
"\x12hourlyTrafficStats\x18\x1f \x03(\v21.pb.ComposeHTTPDNSBoardResponse.HourlyTrafficStatR\x12hourlyTrafficStats\x12L\n" +
|
|
"\vtopAppStats\x18 \x03(\v2*.pb.ComposeHTTPDNSBoardResponse.TopAppStatR\vtopAppStats\x12U\n" +
|
|
"\x0etopDomainStats\x18! \x03(\v2-.pb.ComposeHTTPDNSBoardResponse.TopDomainStatR\x0etopDomainStats\x12O\n" +
|
|
"\ftopNodeStats\x18\" \x03(\v2+.pb.ComposeHTTPDNSBoardResponse.TopNodeStatR\ftopNodeStats\x123\n" +
|
|
"\rcpuNodeValues\x18# \x03(\v2\r.pb.NodeValueR\rcpuNodeValues\x129\n" +
|
|
"\x10memoryNodeValues\x18$ \x03(\v2\r.pb.NodeValueR\x10memoryNodeValues\x125\n" +
|
|
"\x0eloadNodeValues\x18% \x03(\v2\r.pb.NodeValueR\x0eloadNodeValues\x1a`\n" +
|
|
"\x10DailyTrafficStat\x12\x10\n" +
|
|
"\x03day\x18\x01 \x01(\tR\x03day\x12\x14\n" +
|
|
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x1ac\n" +
|
|
"\x11HourlyTrafficStat\x12\x12\n" +
|
|
"\x04hour\x18\x01 \x01(\tR\x04hour\x12\x14\n" +
|
|
"\x05bytes\x18\x02 \x01(\x03R\x05bytes\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x1ax\n" +
|
|
"\n" +
|
|
"TopAppStat\x12\x14\n" +
|
|
"\x05appId\x18\x01 \x01(\x03R\x05appId\x12\x18\n" +
|
|
"\aappName\x18\x02 \x01(\tR\aappName\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\x03R\x05bytes\x1a\x87\x01\n" +
|
|
"\rTopDomainStat\x12\x1a\n" +
|
|
"\bdomainId\x18\x01 \x01(\x03R\bdomainId\x12\x1e\n" +
|
|
"\n" +
|
|
"domainName\x18\x02 \x01(\tR\n" +
|
|
"domainName\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\x03R\x05bytes\x1a\x9b\x01\n" +
|
|
"\vTopNodeStat\x12\x1c\n" +
|
|
"\tclusterId\x18\x01 \x01(\x03R\tclusterId\x12\x16\n" +
|
|
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
|
"\bnodeName\x18\x03 \x01(\tR\bnodeName\x12$\n" +
|
|
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x05 \x01(\x03R\x05bytes2m\n" +
|
|
"\x13HTTPDNSBoardService\x12V\n" +
|
|
"\x13composeHTTPDNSBoard\x12\x1e.pb.ComposeHTTPDNSBoardRequest\x1a\x1f.pb.ComposeHTTPDNSBoardResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_httpdns_board_proto_rawDescOnce sync.Once
|
|
file_service_httpdns_board_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_httpdns_board_proto_rawDescGZIP() []byte {
|
|
file_service_httpdns_board_proto_rawDescOnce.Do(func() {
|
|
file_service_httpdns_board_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_board_proto_rawDesc), len(file_service_httpdns_board_proto_rawDesc)))
|
|
})
|
|
return file_service_httpdns_board_proto_rawDescData
|
|
}
|
|
|
|
var file_service_httpdns_board_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_service_httpdns_board_proto_goTypes = []any{
|
|
(*ComposeHTTPDNSBoardRequest)(nil), // 0: pb.ComposeHTTPDNSBoardRequest
|
|
(*ComposeHTTPDNSBoardResponse)(nil), // 1: pb.ComposeHTTPDNSBoardResponse
|
|
(*ComposeHTTPDNSBoardResponse_DailyTrafficStat)(nil), // 2: pb.ComposeHTTPDNSBoardResponse.DailyTrafficStat
|
|
(*ComposeHTTPDNSBoardResponse_HourlyTrafficStat)(nil), // 3: pb.ComposeHTTPDNSBoardResponse.HourlyTrafficStat
|
|
(*ComposeHTTPDNSBoardResponse_TopAppStat)(nil), // 4: pb.ComposeHTTPDNSBoardResponse.TopAppStat
|
|
(*ComposeHTTPDNSBoardResponse_TopDomainStat)(nil), // 5: pb.ComposeHTTPDNSBoardResponse.TopDomainStat
|
|
(*ComposeHTTPDNSBoardResponse_TopNodeStat)(nil), // 6: pb.ComposeHTTPDNSBoardResponse.TopNodeStat
|
|
(*NodeValue)(nil), // 7: pb.NodeValue
|
|
}
|
|
var file_service_httpdns_board_proto_depIdxs = []int32{
|
|
2, // 0: pb.ComposeHTTPDNSBoardResponse.dailyTrafficStats:type_name -> pb.ComposeHTTPDNSBoardResponse.DailyTrafficStat
|
|
3, // 1: pb.ComposeHTTPDNSBoardResponse.hourlyTrafficStats:type_name -> pb.ComposeHTTPDNSBoardResponse.HourlyTrafficStat
|
|
4, // 2: pb.ComposeHTTPDNSBoardResponse.topAppStats:type_name -> pb.ComposeHTTPDNSBoardResponse.TopAppStat
|
|
5, // 3: pb.ComposeHTTPDNSBoardResponse.topDomainStats:type_name -> pb.ComposeHTTPDNSBoardResponse.TopDomainStat
|
|
6, // 4: pb.ComposeHTTPDNSBoardResponse.topNodeStats:type_name -> pb.ComposeHTTPDNSBoardResponse.TopNodeStat
|
|
7, // 5: pb.ComposeHTTPDNSBoardResponse.cpuNodeValues:type_name -> pb.NodeValue
|
|
7, // 6: pb.ComposeHTTPDNSBoardResponse.memoryNodeValues:type_name -> pb.NodeValue
|
|
7, // 7: pb.ComposeHTTPDNSBoardResponse.loadNodeValues:type_name -> pb.NodeValue
|
|
0, // 8: pb.HTTPDNSBoardService.composeHTTPDNSBoard:input_type -> pb.ComposeHTTPDNSBoardRequest
|
|
1, // 9: pb.HTTPDNSBoardService.composeHTTPDNSBoard:output_type -> pb.ComposeHTTPDNSBoardResponse
|
|
9, // [9:10] is the sub-list for method output_type
|
|
8, // [8:9] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_httpdns_board_proto_init() }
|
|
func file_service_httpdns_board_proto_init() {
|
|
if File_service_httpdns_board_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_node_value_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_httpdns_board_proto_rawDesc), len(file_service_httpdns_board_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_httpdns_board_proto_goTypes,
|
|
DependencyIndexes: file_service_httpdns_board_proto_depIdxs,
|
|
MessageInfos: file_service_httpdns_board_proto_msgTypes,
|
|
}.Build()
|
|
File_service_httpdns_board_proto = out.File
|
|
file_service_httpdns_board_proto_goTypes = nil
|
|
file_service_httpdns_board_proto_depIdxs = nil
|
|
}
|