783 lines
26 KiB
Go
783 lines
26 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_ns.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 ComposeNSBoardRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeNSBoardRequest) Reset() {
|
|
*x = ComposeNSBoardRequest{}
|
|
mi := &file_service_ns_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardRequest) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSBoardRequest.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ComposeNSBoardResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CountNSDomains int64 `protobuf:"varint,1,opt,name=countNSDomains,proto3" json:"countNSDomains,omitempty"`
|
|
CountNSRecords int64 `protobuf:"varint,2,opt,name=countNSRecords,proto3" json:"countNSRecords,omitempty"`
|
|
CountNSClusters int64 `protobuf:"varint,3,opt,name=countNSClusters,proto3" json:"countNSClusters,omitempty"`
|
|
CountNSNodes int64 `protobuf:"varint,4,opt,name=countNSNodes,proto3" json:"countNSNodes,omitempty"`
|
|
CountOfflineNSNodes int64 `protobuf:"varint,5,opt,name=countOfflineNSNodes,proto3" json:"countOfflineNSNodes,omitempty"`
|
|
DailyTrafficStats []*ComposeNSBoardResponse_DailyTrafficStat `protobuf:"bytes,30,rep,name=dailyTrafficStats,proto3" json:"dailyTrafficStats,omitempty"`
|
|
HourlyTrafficStats []*ComposeNSBoardResponse_HourlyTrafficStat `protobuf:"bytes,31,rep,name=hourlyTrafficStats,proto3" json:"hourlyTrafficStats,omitempty"`
|
|
TopNSNodeStats []*ComposeNSBoardResponse_NodeStat `protobuf:"bytes,32,rep,name=topNSNodeStats,proto3" json:"topNSNodeStats,omitempty"`
|
|
TopNSDomainStats []*ComposeNSBoardResponse_DomainStat `protobuf:"bytes,33,rep,name=topNSDomainStats,proto3" json:"topNSDomainStats,omitempty"`
|
|
CpuNodeValues []*NodeValue `protobuf:"bytes,34,rep,name=cpuNodeValues,proto3" json:"cpuNodeValues,omitempty"`
|
|
MemoryNodeValues []*NodeValue `protobuf:"bytes,35,rep,name=memoryNodeValues,proto3" json:"memoryNodeValues,omitempty"`
|
|
LoadNodeValues []*NodeValue `protobuf:"bytes,36,rep,name=loadNodeValues,proto3" json:"loadNodeValues,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) Reset() {
|
|
*x = ComposeNSBoardResponse{}
|
|
mi := &file_service_ns_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardResponse) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSBoardResponse.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCountNSDomains() int64 {
|
|
if x != nil {
|
|
return x.CountNSDomains
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCountNSRecords() int64 {
|
|
if x != nil {
|
|
return x.CountNSRecords
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCountNSClusters() int64 {
|
|
if x != nil {
|
|
return x.CountNSClusters
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCountNSNodes() int64 {
|
|
if x != nil {
|
|
return x.CountNSNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCountOfflineNSNodes() int64 {
|
|
if x != nil {
|
|
return x.CountOfflineNSNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetDailyTrafficStats() []*ComposeNSBoardResponse_DailyTrafficStat {
|
|
if x != nil {
|
|
return x.DailyTrafficStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetHourlyTrafficStats() []*ComposeNSBoardResponse_HourlyTrafficStat {
|
|
if x != nil {
|
|
return x.HourlyTrafficStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetTopNSNodeStats() []*ComposeNSBoardResponse_NodeStat {
|
|
if x != nil {
|
|
return x.TopNSNodeStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetTopNSDomainStats() []*ComposeNSBoardResponse_DomainStat {
|
|
if x != nil {
|
|
return x.TopNSDomainStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetCpuNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.CpuNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetMemoryNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.MemoryNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse) GetLoadNodeValues() []*NodeValue {
|
|
if x != nil {
|
|
return x.LoadNodeValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 组合用户看板数据
|
|
type ComposeNSUserBoardRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardRequest) Reset() {
|
|
*x = ComposeNSUserBoardRequest{}
|
|
mi := &file_service_ns_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSUserBoardRequest) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSUserBoardRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSUserBoardRequest.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSUserBoardRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeNSUserBoardResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CountNSDomains int64 `protobuf:"varint,1,opt,name=countNSDomains,proto3" json:"countNSDomains,omitempty"`
|
|
CountNSRecords int64 `protobuf:"varint,2,opt,name=countNSRecords,proto3" json:"countNSRecords,omitempty"`
|
|
CountNSRoutes int64 `protobuf:"varint,3,opt,name=countNSRoutes,proto3" json:"countNSRoutes,omitempty"`
|
|
NsUserPlan *NSUserPlan `protobuf:"bytes,30,opt,name=nsUserPlan,proto3" json:"nsUserPlan,omitempty"`
|
|
TopNSDomainStats []*ComposeNSUserBoardResponse_DomainStat `protobuf:"bytes,31,rep,name=topNSDomainStats,proto3" json:"topNSDomainStats,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) Reset() {
|
|
*x = ComposeNSUserBoardResponse{}
|
|
mi := &file_service_ns_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSUserBoardResponse) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSUserBoardResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSUserBoardResponse.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSUserBoardResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) GetCountNSDomains() int64 {
|
|
if x != nil {
|
|
return x.CountNSDomains
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) GetCountNSRecords() int64 {
|
|
if x != nil {
|
|
return x.CountNSRecords
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) GetCountNSRoutes() int64 {
|
|
if x != nil {
|
|
return x.CountNSRoutes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) GetNsUserPlan() *NSUserPlan {
|
|
if x != nil {
|
|
return x.NsUserPlan
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse) GetTopNSDomainStats() []*ComposeNSUserBoardResponse_DomainStat {
|
|
if x != nil {
|
|
return x.TopNSDomainStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ComposeNSBoardResponse_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 *ComposeNSBoardResponse_DailyTrafficStat) Reset() {
|
|
*x = ComposeNSBoardResponse_DailyTrafficStat{}
|
|
mi := &file_service_ns_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DailyTrafficStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardResponse_DailyTrafficStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardResponse_DailyTrafficStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSBoardResponse_DailyTrafficStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardResponse_DailyTrafficStat) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DailyTrafficStat) GetDay() string {
|
|
if x != nil {
|
|
return x.Day
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DailyTrafficStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DailyTrafficStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeNSBoardResponse_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 *ComposeNSBoardResponse_HourlyTrafficStat) Reset() {
|
|
*x = ComposeNSBoardResponse_HourlyTrafficStat{}
|
|
mi := &file_service_ns_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_HourlyTrafficStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardResponse_HourlyTrafficStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardResponse_HourlyTrafficStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSBoardResponse_HourlyTrafficStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardResponse_HourlyTrafficStat) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{1, 1}
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_HourlyTrafficStat) GetHour() string {
|
|
if x != nil {
|
|
return x.Hour
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_HourlyTrafficStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_HourlyTrafficStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeNSBoardResponse_NodeStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
NsNodeId int64 `protobuf:"varint,2,opt,name=nsNodeId,proto3" json:"nsNodeId,omitempty"`
|
|
NsNodeName string `protobuf:"bytes,3,opt,name=nsNodeName,proto3" json:"nsNodeName,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 *ComposeNSBoardResponse_NodeStat) Reset() {
|
|
*x = ComposeNSBoardResponse_NodeStat{}
|
|
mi := &file_service_ns_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardResponse_NodeStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_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 ComposeNSBoardResponse_NodeStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardResponse_NodeStat) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{1, 2}
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) GetNsNodeId() int64 {
|
|
if x != nil {
|
|
return x.NsNodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) GetNsNodeName() string {
|
|
if x != nil {
|
|
return x.NsNodeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_NodeStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeNSBoardResponse_DomainStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
NsDomainName string `protobuf:"bytes,2,opt,name=nsDomainName,proto3" json:"nsDomainName,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 *ComposeNSBoardResponse_DomainStat) Reset() {
|
|
*x = ComposeNSBoardResponse_DomainStat{}
|
|
mi := &file_service_ns_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSBoardResponse_DomainStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeNSBoardResponse_DomainStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSBoardResponse_DomainStat) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{1, 3}
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) GetNsDomainId() int64 {
|
|
if x != nil {
|
|
return x.NsDomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) GetNsDomainName() string {
|
|
if x != nil {
|
|
return x.NsDomainName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSBoardResponse_DomainStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ComposeNSUserBoardResponse_DomainStat struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsDomainId int64 `protobuf:"varint,1,opt,name=nsDomainId,proto3" json:"nsDomainId,omitempty"`
|
|
NsDomainName string `protobuf:"bytes,2,opt,name=nsDomainName,proto3" json:"nsDomainName,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 *ComposeNSUserBoardResponse_DomainStat) Reset() {
|
|
*x = ComposeNSUserBoardResponse_DomainStat{}
|
|
mi := &file_service_ns_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ComposeNSUserBoardResponse_DomainStat) ProtoMessage() {}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ComposeNSUserBoardResponse_DomainStat.ProtoReflect.Descriptor instead.
|
|
func (*ComposeNSUserBoardResponse_DomainStat) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) GetNsDomainId() int64 {
|
|
if x != nil {
|
|
return x.NsDomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) GetNsDomainName() string {
|
|
if x != nil {
|
|
return x.NsDomainName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) GetCountRequests() int64 {
|
|
if x != nil {
|
|
return x.CountRequests
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ComposeNSUserBoardResponse_DomainStat) GetBytes() int64 {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_service_ns_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_ns_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x10service_ns.proto\x12\x02pb\x1a\x1dmodels/model_node_value.proto\x1a\x1fmodels/model_ns_user_plan.proto\"\x17\n" +
|
|
"\x15ComposeNSBoardRequest\"\xe5\t\n" +
|
|
"\x16ComposeNSBoardResponse\x12&\n" +
|
|
"\x0ecountNSDomains\x18\x01 \x01(\x03R\x0ecountNSDomains\x12&\n" +
|
|
"\x0ecountNSRecords\x18\x02 \x01(\x03R\x0ecountNSRecords\x12(\n" +
|
|
"\x0fcountNSClusters\x18\x03 \x01(\x03R\x0fcountNSClusters\x12\"\n" +
|
|
"\fcountNSNodes\x18\x04 \x01(\x03R\fcountNSNodes\x120\n" +
|
|
"\x13countOfflineNSNodes\x18\x05 \x01(\x03R\x13countOfflineNSNodes\x12Y\n" +
|
|
"\x11dailyTrafficStats\x18\x1e \x03(\v2+.pb.ComposeNSBoardResponse.DailyTrafficStatR\x11dailyTrafficStats\x12\\\n" +
|
|
"\x12hourlyTrafficStats\x18\x1f \x03(\v2,.pb.ComposeNSBoardResponse.HourlyTrafficStatR\x12hourlyTrafficStats\x12K\n" +
|
|
"\x0etopNSNodeStats\x18 \x03(\v2#.pb.ComposeNSBoardResponse.NodeStatR\x0etopNSNodeStats\x12Q\n" +
|
|
"\x10topNSDomainStats\x18! \x03(\v2%.pb.ComposeNSBoardResponse.DomainStatR\x10topNSDomainStats\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\x1a\xa4\x01\n" +
|
|
"\bNodeStat\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x1a\n" +
|
|
"\bnsNodeId\x18\x02 \x01(\x03R\bnsNodeId\x12\x1e\n" +
|
|
"\n" +
|
|
"nsNodeName\x18\x03 \x01(\tR\n" +
|
|
"nsNodeName\x12$\n" +
|
|
"\rcountRequests\x18\x04 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x05 \x01(\x03R\x05bytes\x1a\x8c\x01\n" +
|
|
"\n" +
|
|
"DomainStat\x12\x1e\n" +
|
|
"\n" +
|
|
"nsDomainId\x18\x01 \x01(\x03R\n" +
|
|
"nsDomainId\x12\"\n" +
|
|
"\fnsDomainName\x18\x02 \x01(\tR\fnsDomainName\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\x03R\x05bytes\"3\n" +
|
|
"\x19ComposeNSUserBoardRequest\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\"\xa8\x03\n" +
|
|
"\x1aComposeNSUserBoardResponse\x12&\n" +
|
|
"\x0ecountNSDomains\x18\x01 \x01(\x03R\x0ecountNSDomains\x12&\n" +
|
|
"\x0ecountNSRecords\x18\x02 \x01(\x03R\x0ecountNSRecords\x12$\n" +
|
|
"\rcountNSRoutes\x18\x03 \x01(\x03R\rcountNSRoutes\x12.\n" +
|
|
"\n" +
|
|
"nsUserPlan\x18\x1e \x01(\v2\x0e.pb.NSUserPlanR\n" +
|
|
"nsUserPlan\x12U\n" +
|
|
"\x10topNSDomainStats\x18\x1f \x03(\v2).pb.ComposeNSUserBoardResponse.DomainStatR\x10topNSDomainStats\x1a\x8c\x01\n" +
|
|
"\n" +
|
|
"DomainStat\x12\x1e\n" +
|
|
"\n" +
|
|
"nsDomainId\x18\x01 \x01(\x03R\n" +
|
|
"nsDomainId\x12\"\n" +
|
|
"\fnsDomainName\x18\x02 \x01(\tR\fnsDomainName\x12$\n" +
|
|
"\rcountRequests\x18\x03 \x01(\x03R\rcountRequests\x12\x14\n" +
|
|
"\x05bytes\x18\x04 \x01(\x03R\x05bytes2\xa9\x01\n" +
|
|
"\tNSService\x12G\n" +
|
|
"\x0ecomposeNSBoard\x12\x19.pb.ComposeNSBoardRequest\x1a\x1a.pb.ComposeNSBoardResponse\x12S\n" +
|
|
"\x12composeNSUserBoard\x12\x1d.pb.ComposeNSUserBoardRequest\x1a\x1e.pb.ComposeNSUserBoardResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_ns_proto_rawDescOnce sync.Once
|
|
file_service_ns_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_ns_proto_rawDescGZIP() []byte {
|
|
file_service_ns_proto_rawDescOnce.Do(func() {
|
|
file_service_ns_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ns_proto_rawDesc), len(file_service_ns_proto_rawDesc)))
|
|
})
|
|
return file_service_ns_proto_rawDescData
|
|
}
|
|
|
|
var file_service_ns_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_service_ns_proto_goTypes = []any{
|
|
(*ComposeNSBoardRequest)(nil), // 0: pb.ComposeNSBoardRequest
|
|
(*ComposeNSBoardResponse)(nil), // 1: pb.ComposeNSBoardResponse
|
|
(*ComposeNSUserBoardRequest)(nil), // 2: pb.ComposeNSUserBoardRequest
|
|
(*ComposeNSUserBoardResponse)(nil), // 3: pb.ComposeNSUserBoardResponse
|
|
(*ComposeNSBoardResponse_DailyTrafficStat)(nil), // 4: pb.ComposeNSBoardResponse.DailyTrafficStat
|
|
(*ComposeNSBoardResponse_HourlyTrafficStat)(nil), // 5: pb.ComposeNSBoardResponse.HourlyTrafficStat
|
|
(*ComposeNSBoardResponse_NodeStat)(nil), // 6: pb.ComposeNSBoardResponse.NodeStat
|
|
(*ComposeNSBoardResponse_DomainStat)(nil), // 7: pb.ComposeNSBoardResponse.DomainStat
|
|
(*ComposeNSUserBoardResponse_DomainStat)(nil), // 8: pb.ComposeNSUserBoardResponse.DomainStat
|
|
(*NodeValue)(nil), // 9: pb.NodeValue
|
|
(*NSUserPlan)(nil), // 10: pb.NSUserPlan
|
|
}
|
|
var file_service_ns_proto_depIdxs = []int32{
|
|
4, // 0: pb.ComposeNSBoardResponse.dailyTrafficStats:type_name -> pb.ComposeNSBoardResponse.DailyTrafficStat
|
|
5, // 1: pb.ComposeNSBoardResponse.hourlyTrafficStats:type_name -> pb.ComposeNSBoardResponse.HourlyTrafficStat
|
|
6, // 2: pb.ComposeNSBoardResponse.topNSNodeStats:type_name -> pb.ComposeNSBoardResponse.NodeStat
|
|
7, // 3: pb.ComposeNSBoardResponse.topNSDomainStats:type_name -> pb.ComposeNSBoardResponse.DomainStat
|
|
9, // 4: pb.ComposeNSBoardResponse.cpuNodeValues:type_name -> pb.NodeValue
|
|
9, // 5: pb.ComposeNSBoardResponse.memoryNodeValues:type_name -> pb.NodeValue
|
|
9, // 6: pb.ComposeNSBoardResponse.loadNodeValues:type_name -> pb.NodeValue
|
|
10, // 7: pb.ComposeNSUserBoardResponse.nsUserPlan:type_name -> pb.NSUserPlan
|
|
8, // 8: pb.ComposeNSUserBoardResponse.topNSDomainStats:type_name -> pb.ComposeNSUserBoardResponse.DomainStat
|
|
0, // 9: pb.NSService.composeNSBoard:input_type -> pb.ComposeNSBoardRequest
|
|
2, // 10: pb.NSService.composeNSUserBoard:input_type -> pb.ComposeNSUserBoardRequest
|
|
1, // 11: pb.NSService.composeNSBoard:output_type -> pb.ComposeNSBoardResponse
|
|
3, // 12: pb.NSService.composeNSUserBoard:output_type -> pb.ComposeNSUserBoardResponse
|
|
11, // [11:13] is the sub-list for method output_type
|
|
9, // [9:11] 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
|
|
}
|
|
|
|
func init() { file_service_ns_proto_init() }
|
|
func file_service_ns_proto_init() {
|
|
if File_service_ns_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_node_value_proto_init()
|
|
file_models_model_ns_user_plan_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ns_proto_rawDesc), len(file_service_ns_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_ns_proto_goTypes,
|
|
DependencyIndexes: file_service_ns_proto_depIdxs,
|
|
MessageInfos: file_service_ns_proto_msgTypes,
|
|
}.Build()
|
|
File_service_ns_proto = out.File
|
|
file_service_ns_proto_goTypes = nil
|
|
file_service_ns_proto_depIdxs = nil
|
|
}
|