Files
waf-platform/EdgeCommon/pkg/rpc/pb/service_node_threshold.pb.go
2026-03-22 17:37:40 +08:00

758 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_node_threshold.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 CreateNodeThresholdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
NodeClusterId int64 `protobuf:"varint,2,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
Item string `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
Param string `protobuf:"bytes,5,opt,name=param,proto3" json:"param,omitempty"`
Operator string `protobuf:"bytes,6,opt,name=operator,proto3" json:"operator,omitempty"`
ValueJSON []byte `protobuf:"bytes,7,opt,name=valueJSON,proto3" json:"valueJSON,omitempty"`
Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
Duration int32 `protobuf:"varint,9,opt,name=duration,proto3" json:"duration,omitempty"`
DurationUnit string `protobuf:"bytes,10,opt,name=durationUnit,proto3" json:"durationUnit,omitempty"`
SumMethod string `protobuf:"bytes,11,opt,name=sumMethod,proto3" json:"sumMethod,omitempty"`
NotifyDuration int32 `protobuf:"varint,12,opt,name=notifyDuration,proto3" json:"notifyDuration,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateNodeThresholdRequest) Reset() {
*x = CreateNodeThresholdRequest{}
mi := &file_service_node_threshold_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateNodeThresholdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateNodeThresholdRequest) ProtoMessage() {}
func (x *CreateNodeThresholdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 CreateNodeThresholdRequest.ProtoReflect.Descriptor instead.
func (*CreateNodeThresholdRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{0}
}
func (x *CreateNodeThresholdRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *CreateNodeThresholdRequest) GetNodeClusterId() int64 {
if x != nil {
return x.NodeClusterId
}
return 0
}
func (x *CreateNodeThresholdRequest) GetNodeId() int64 {
if x != nil {
return x.NodeId
}
return 0
}
func (x *CreateNodeThresholdRequest) GetItem() string {
if x != nil {
return x.Item
}
return ""
}
func (x *CreateNodeThresholdRequest) GetParam() string {
if x != nil {
return x.Param
}
return ""
}
func (x *CreateNodeThresholdRequest) GetOperator() string {
if x != nil {
return x.Operator
}
return ""
}
func (x *CreateNodeThresholdRequest) GetValueJSON() []byte {
if x != nil {
return x.ValueJSON
}
return nil
}
func (x *CreateNodeThresholdRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *CreateNodeThresholdRequest) GetDuration() int32 {
if x != nil {
return x.Duration
}
return 0
}
func (x *CreateNodeThresholdRequest) GetDurationUnit() string {
if x != nil {
return x.DurationUnit
}
return ""
}
func (x *CreateNodeThresholdRequest) GetSumMethod() string {
if x != nil {
return x.SumMethod
}
return ""
}
func (x *CreateNodeThresholdRequest) GetNotifyDuration() int32 {
if x != nil {
return x.NotifyDuration
}
return 0
}
type CreateNodeThresholdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThresholdId int64 `protobuf:"varint,1,opt,name=nodeThresholdId,proto3" json:"nodeThresholdId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateNodeThresholdResponse) Reset() {
*x = CreateNodeThresholdResponse{}
mi := &file_service_node_threshold_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateNodeThresholdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateNodeThresholdResponse) ProtoMessage() {}
func (x *CreateNodeThresholdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 CreateNodeThresholdResponse.ProtoReflect.Descriptor instead.
func (*CreateNodeThresholdResponse) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{1}
}
func (x *CreateNodeThresholdResponse) GetNodeThresholdId() int64 {
if x != nil {
return x.NodeThresholdId
}
return 0
}
// 修改阈值
type UpdateNodeThresholdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThresholdId int64 `protobuf:"varint,1,opt,name=nodeThresholdId,proto3" json:"nodeThresholdId,omitempty"`
Item string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
Param string `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"`
Operator string `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
ValueJSON []byte `protobuf:"bytes,5,opt,name=valueJSON,proto3" json:"valueJSON,omitempty"`
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
Duration int32 `protobuf:"varint,7,opt,name=duration,proto3" json:"duration,omitempty"`
DurationUnit string `protobuf:"bytes,8,opt,name=durationUnit,proto3" json:"durationUnit,omitempty"`
SumMethod string `protobuf:"bytes,9,opt,name=sumMethod,proto3" json:"sumMethod,omitempty"`
IsOn bool `protobuf:"varint,10,opt,name=isOn,proto3" json:"isOn,omitempty"`
NotifyDuration int32 `protobuf:"varint,11,opt,name=notifyDuration,proto3" json:"notifyDuration,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateNodeThresholdRequest) Reset() {
*x = UpdateNodeThresholdRequest{}
mi := &file_service_node_threshold_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateNodeThresholdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateNodeThresholdRequest) ProtoMessage() {}
func (x *UpdateNodeThresholdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 UpdateNodeThresholdRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeThresholdRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{2}
}
func (x *UpdateNodeThresholdRequest) GetNodeThresholdId() int64 {
if x != nil {
return x.NodeThresholdId
}
return 0
}
func (x *UpdateNodeThresholdRequest) GetItem() string {
if x != nil {
return x.Item
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetParam() string {
if x != nil {
return x.Param
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetOperator() string {
if x != nil {
return x.Operator
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetValueJSON() []byte {
if x != nil {
return x.ValueJSON
}
return nil
}
func (x *UpdateNodeThresholdRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetDuration() int32 {
if x != nil {
return x.Duration
}
return 0
}
func (x *UpdateNodeThresholdRequest) GetDurationUnit() string {
if x != nil {
return x.DurationUnit
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetSumMethod() string {
if x != nil {
return x.SumMethod
}
return ""
}
func (x *UpdateNodeThresholdRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
func (x *UpdateNodeThresholdRequest) GetNotifyDuration() int32 {
if x != nil {
return x.NotifyDuration
}
return 0
}
// 删除阈值
type DeleteNodeThresholdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThresholdId int64 `protobuf:"varint,1,opt,name=nodeThresholdId,proto3" json:"nodeThresholdId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteNodeThresholdRequest) Reset() {
*x = DeleteNodeThresholdRequest{}
mi := &file_service_node_threshold_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteNodeThresholdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteNodeThresholdRequest) ProtoMessage() {}
func (x *DeleteNodeThresholdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 DeleteNodeThresholdRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeThresholdRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{3}
}
func (x *DeleteNodeThresholdRequest) GetNodeThresholdId() int64 {
if x != nil {
return x.NodeThresholdId
}
return 0
}
// 查询阈值
type FindAllEnabledNodeThresholdsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
NodeClusterId int64 `protobuf:"varint,2,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllEnabledNodeThresholdsRequest) Reset() {
*x = FindAllEnabledNodeThresholdsRequest{}
mi := &file_service_node_threshold_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllEnabledNodeThresholdsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledNodeThresholdsRequest) ProtoMessage() {}
func (x *FindAllEnabledNodeThresholdsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 FindAllEnabledNodeThresholdsRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNodeThresholdsRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{4}
}
func (x *FindAllEnabledNodeThresholdsRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *FindAllEnabledNodeThresholdsRequest) GetNodeClusterId() int64 {
if x != nil {
return x.NodeClusterId
}
return 0
}
func (x *FindAllEnabledNodeThresholdsRequest) GetNodeId() int64 {
if x != nil {
return x.NodeId
}
return 0
}
type FindAllEnabledNodeThresholdsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThresholds []*NodeThreshold `protobuf:"bytes,1,rep,name=nodeThresholds,proto3" json:"nodeThresholds,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindAllEnabledNodeThresholdsResponse) Reset() {
*x = FindAllEnabledNodeThresholdsResponse{}
mi := &file_service_node_threshold_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindAllEnabledNodeThresholdsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledNodeThresholdsResponse) ProtoMessage() {}
func (x *FindAllEnabledNodeThresholdsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 FindAllEnabledNodeThresholdsResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNodeThresholdsResponse) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{5}
}
func (x *FindAllEnabledNodeThresholdsResponse) GetNodeThresholds() []*NodeThreshold {
if x != nil {
return x.NodeThresholds
}
return nil
}
// 计算阈值数量
type CountAllEnabledNodeThresholdsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
NodeClusterId int64 `protobuf:"varint,2,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CountAllEnabledNodeThresholdsRequest) Reset() {
*x = CountAllEnabledNodeThresholdsRequest{}
mi := &file_service_node_threshold_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CountAllEnabledNodeThresholdsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledNodeThresholdsRequest) ProtoMessage() {}
func (x *CountAllEnabledNodeThresholdsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 CountAllEnabledNodeThresholdsRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledNodeThresholdsRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{6}
}
func (x *CountAllEnabledNodeThresholdsRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
func (x *CountAllEnabledNodeThresholdsRequest) GetNodeClusterId() int64 {
if x != nil {
return x.NodeClusterId
}
return 0
}
func (x *CountAllEnabledNodeThresholdsRequest) GetNodeId() int64 {
if x != nil {
return x.NodeId
}
return 0
}
// 查询单个阈值详情
type FindEnabledNodeThresholdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThresholdId int64 `protobuf:"varint,1,opt,name=nodeThresholdId,proto3" json:"nodeThresholdId,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindEnabledNodeThresholdRequest) Reset() {
*x = FindEnabledNodeThresholdRequest{}
mi := &file_service_node_threshold_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindEnabledNodeThresholdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledNodeThresholdRequest) ProtoMessage() {}
func (x *FindEnabledNodeThresholdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 FindEnabledNodeThresholdRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledNodeThresholdRequest) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{7}
}
func (x *FindEnabledNodeThresholdRequest) GetNodeThresholdId() int64 {
if x != nil {
return x.NodeThresholdId
}
return 0
}
type FindEnabledNodeThresholdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeThreshold *NodeThreshold `protobuf:"bytes,1,opt,name=nodeThreshold,proto3" json:"nodeThreshold,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FindEnabledNodeThresholdResponse) Reset() {
*x = FindEnabledNodeThresholdResponse{}
mi := &file_service_node_threshold_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FindEnabledNodeThresholdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledNodeThresholdResponse) ProtoMessage() {}
func (x *FindEnabledNodeThresholdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_node_threshold_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 FindEnabledNodeThresholdResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledNodeThresholdResponse) Descriptor() ([]byte, []int) {
return file_service_node_threshold_proto_rawDescGZIP(), []int{8}
}
func (x *FindEnabledNodeThresholdResponse) GetNodeThreshold() *NodeThreshold {
if x != nil {
return x.NodeThreshold
}
return nil
}
var File_service_node_threshold_proto protoreflect.FileDescriptor
const file_service_node_threshold_proto_rawDesc = "" +
"\n" +
"\x1cservice_node_threshold.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\x1a!models/model_node_threshold.proto\"\xf2\x02\n" +
"\x1aCreateNodeThresholdRequest\x12\x12\n" +
"\x04role\x18\x01 \x01(\tR\x04role\x12$\n" +
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12\x16\n" +
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\x12\x12\n" +
"\x04item\x18\x04 \x01(\tR\x04item\x12\x14\n" +
"\x05param\x18\x05 \x01(\tR\x05param\x12\x1a\n" +
"\boperator\x18\x06 \x01(\tR\boperator\x12\x1c\n" +
"\tvalueJSON\x18\a \x01(\fR\tvalueJSON\x12\x18\n" +
"\amessage\x18\b \x01(\tR\amessage\x12\x1a\n" +
"\bduration\x18\t \x01(\x05R\bduration\x12\"\n" +
"\fdurationUnit\x18\n" +
" \x01(\tR\fdurationUnit\x12\x1c\n" +
"\tsumMethod\x18\v \x01(\tR\tsumMethod\x12&\n" +
"\x0enotifyDuration\x18\f \x01(\x05R\x0enotifyDuration\"G\n" +
"\x1bCreateNodeThresholdResponse\x12(\n" +
"\x0fnodeThresholdId\x18\x01 \x01(\x03R\x0fnodeThresholdId\"\xde\x02\n" +
"\x1aUpdateNodeThresholdRequest\x12(\n" +
"\x0fnodeThresholdId\x18\x01 \x01(\x03R\x0fnodeThresholdId\x12\x12\n" +
"\x04item\x18\x02 \x01(\tR\x04item\x12\x14\n" +
"\x05param\x18\x03 \x01(\tR\x05param\x12\x1a\n" +
"\boperator\x18\x04 \x01(\tR\boperator\x12\x1c\n" +
"\tvalueJSON\x18\x05 \x01(\fR\tvalueJSON\x12\x18\n" +
"\amessage\x18\x06 \x01(\tR\amessage\x12\x1a\n" +
"\bduration\x18\a \x01(\x05R\bduration\x12\"\n" +
"\fdurationUnit\x18\b \x01(\tR\fdurationUnit\x12\x1c\n" +
"\tsumMethod\x18\t \x01(\tR\tsumMethod\x12\x12\n" +
"\x04isOn\x18\n" +
" \x01(\bR\x04isOn\x12&\n" +
"\x0enotifyDuration\x18\v \x01(\x05R\x0enotifyDuration\"F\n" +
"\x1aDeleteNodeThresholdRequest\x12(\n" +
"\x0fnodeThresholdId\x18\x01 \x01(\x03R\x0fnodeThresholdId\"w\n" +
"#FindAllEnabledNodeThresholdsRequest\x12\x12\n" +
"\x04role\x18\x01 \x01(\tR\x04role\x12$\n" +
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12\x16\n" +
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\"a\n" +
"$FindAllEnabledNodeThresholdsResponse\x129\n" +
"\x0enodeThresholds\x18\x01 \x03(\v2\x11.pb.NodeThresholdR\x0enodeThresholds\"x\n" +
"$CountAllEnabledNodeThresholdsRequest\x12\x12\n" +
"\x04role\x18\x01 \x01(\tR\x04role\x12$\n" +
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12\x16\n" +
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\"K\n" +
"\x1fFindEnabledNodeThresholdRequest\x12(\n" +
"\x0fnodeThresholdId\x18\x01 \x01(\x03R\x0fnodeThresholdId\"[\n" +
" FindEnabledNodeThresholdResponse\x127\n" +
"\rnodeThreshold\x18\x01 \x01(\v2\x11.pb.NodeThresholdR\rnodeThreshold2\xb7\x04\n" +
"\x14NodeThresholdService\x12V\n" +
"\x13createNodeThreshold\x12\x1e.pb.CreateNodeThresholdRequest\x1a\x1f.pb.CreateNodeThresholdResponse\x12E\n" +
"\x13updateNodeThreshold\x12\x1e.pb.UpdateNodeThresholdRequest\x1a\x0e.pb.RPCSuccess\x12E\n" +
"\x13deleteNodeThreshold\x12\x1e.pb.DeleteNodeThresholdRequest\x1a\x0e.pb.RPCSuccess\x12q\n" +
"\x1cfindAllEnabledNodeThresholds\x12'.pb.FindAllEnabledNodeThresholdsRequest\x1a(.pb.FindAllEnabledNodeThresholdsResponse\x12_\n" +
"\x1dcountAllEnabledNodeThresholds\x12(.pb.CountAllEnabledNodeThresholdsRequest\x1a\x14.pb.RPCCountResponse\x12e\n" +
"\x18findEnabledNodeThreshold\x12#.pb.FindEnabledNodeThresholdRequest\x1a$.pb.FindEnabledNodeThresholdResponseB\x06Z\x04./pbb\x06proto3"
var (
file_service_node_threshold_proto_rawDescOnce sync.Once
file_service_node_threshold_proto_rawDescData []byte
)
func file_service_node_threshold_proto_rawDescGZIP() []byte {
file_service_node_threshold_proto_rawDescOnce.Do(func() {
file_service_node_threshold_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_node_threshold_proto_rawDesc), len(file_service_node_threshold_proto_rawDesc)))
})
return file_service_node_threshold_proto_rawDescData
}
var file_service_node_threshold_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_service_node_threshold_proto_goTypes = []any{
(*CreateNodeThresholdRequest)(nil), // 0: pb.CreateNodeThresholdRequest
(*CreateNodeThresholdResponse)(nil), // 1: pb.CreateNodeThresholdResponse
(*UpdateNodeThresholdRequest)(nil), // 2: pb.UpdateNodeThresholdRequest
(*DeleteNodeThresholdRequest)(nil), // 3: pb.DeleteNodeThresholdRequest
(*FindAllEnabledNodeThresholdsRequest)(nil), // 4: pb.FindAllEnabledNodeThresholdsRequest
(*FindAllEnabledNodeThresholdsResponse)(nil), // 5: pb.FindAllEnabledNodeThresholdsResponse
(*CountAllEnabledNodeThresholdsRequest)(nil), // 6: pb.CountAllEnabledNodeThresholdsRequest
(*FindEnabledNodeThresholdRequest)(nil), // 7: pb.FindEnabledNodeThresholdRequest
(*FindEnabledNodeThresholdResponse)(nil), // 8: pb.FindEnabledNodeThresholdResponse
(*NodeThreshold)(nil), // 9: pb.NodeThreshold
(*RPCSuccess)(nil), // 10: pb.RPCSuccess
(*RPCCountResponse)(nil), // 11: pb.RPCCountResponse
}
var file_service_node_threshold_proto_depIdxs = []int32{
9, // 0: pb.FindAllEnabledNodeThresholdsResponse.nodeThresholds:type_name -> pb.NodeThreshold
9, // 1: pb.FindEnabledNodeThresholdResponse.nodeThreshold:type_name -> pb.NodeThreshold
0, // 2: pb.NodeThresholdService.createNodeThreshold:input_type -> pb.CreateNodeThresholdRequest
2, // 3: pb.NodeThresholdService.updateNodeThreshold:input_type -> pb.UpdateNodeThresholdRequest
3, // 4: pb.NodeThresholdService.deleteNodeThreshold:input_type -> pb.DeleteNodeThresholdRequest
4, // 5: pb.NodeThresholdService.findAllEnabledNodeThresholds:input_type -> pb.FindAllEnabledNodeThresholdsRequest
6, // 6: pb.NodeThresholdService.countAllEnabledNodeThresholds:input_type -> pb.CountAllEnabledNodeThresholdsRequest
7, // 7: pb.NodeThresholdService.findEnabledNodeThreshold:input_type -> pb.FindEnabledNodeThresholdRequest
1, // 8: pb.NodeThresholdService.createNodeThreshold:output_type -> pb.CreateNodeThresholdResponse
10, // 9: pb.NodeThresholdService.updateNodeThreshold:output_type -> pb.RPCSuccess
10, // 10: pb.NodeThresholdService.deleteNodeThreshold:output_type -> pb.RPCSuccess
5, // 11: pb.NodeThresholdService.findAllEnabledNodeThresholds:output_type -> pb.FindAllEnabledNodeThresholdsResponse
11, // 12: pb.NodeThresholdService.countAllEnabledNodeThresholds:output_type -> pb.RPCCountResponse
8, // 13: pb.NodeThresholdService.findEnabledNodeThreshold:output_type -> pb.FindEnabledNodeThresholdResponse
8, // [8:14] is the sub-list for method output_type
2, // [2:8] 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_node_threshold_proto_init() }
func file_service_node_threshold_proto_init() {
if File_service_node_threshold_proto != nil {
return
}
file_models_rpc_messages_proto_init()
file_models_model_node_threshold_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_node_threshold_proto_rawDesc), len(file_service_node_threshold_proto_rawDesc)),
NumEnums: 0,
NumMessages: 9,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_node_threshold_proto_goTypes,
DependencyIndexes: file_service_node_threshold_proto_depIdxs,
MessageInfos: file_service_node_threshold_proto_msgTypes,
}.Build()
File_service_node_threshold_proto = out.File
file_service_node_threshold_proto_goTypes = nil
file_service_node_threshold_proto_depIdxs = nil
}