2406 lines
81 KiB
Go
2406 lines
81 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_cluster.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 CreateNSClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
AccessLogJSON []byte `protobuf:"bytes,2,opt,name=accessLogJSON,proto3" json:"accessLogJSON,omitempty"`
|
|
Hosts []string `protobuf:"bytes,3,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
SoaJSON []byte `protobuf:"bytes,4,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) Reset() {
|
|
*x = CreateNSClusterRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNSClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateNSClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 CreateNSClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateNSClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) GetAccessLogJSON() []byte {
|
|
if x != nil {
|
|
return x.AccessLogJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) GetHosts() []string {
|
|
if x != nil {
|
|
return x.Hosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) GetSoaJSON() []byte {
|
|
if x != nil {
|
|
return x.SoaJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateNSClusterRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateNSClusterResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateNSClusterResponse) Reset() {
|
|
*x = CreateNSClusterResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateNSClusterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNSClusterResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateNSClusterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 CreateNSClusterResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateNSClusterResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateNSClusterResponse) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 修改集群
|
|
type UpdateNSClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
|
|
AutoRemoteStart bool `protobuf:"varint,5,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
|
|
TimeZone string `protobuf:"bytes,6,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
|
|
DetectAgents bool `protobuf:"varint,7,opt,name=detectAgents,proto3" json:"detectAgents,omitempty"`
|
|
CheckingPorts bool `protobuf:"varint,9,opt,name=checkingPorts,proto3" json:"checkingPorts,omitempty"` // 是否检查端口连通性(目前仅在节点列表上)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) Reset() {
|
|
*x = UpdateNSClusterRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 UpdateNSClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetHosts() []string {
|
|
if x != nil {
|
|
return x.Hosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetAutoRemoteStart() bool {
|
|
if x != nil {
|
|
return x.AutoRemoteStart
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetTimeZone() string {
|
|
if x != nil {
|
|
return x.TimeZone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetDetectAgents() bool {
|
|
if x != nil {
|
|
return x.DetectAgents
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateNSClusterRequest) GetCheckingPorts() bool {
|
|
if x != nil {
|
|
return x.CheckingPorts
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 查找集群访问日志配置
|
|
type FindNSClusterAccessLogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogRequest) Reset() {
|
|
*x = FindNSClusterAccessLogRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterAccessLogRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterAccessLogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 FindNSClusterAccessLogRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterAccessLogRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterAccessLogResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccessLogJSON []byte `protobuf:"bytes,1,opt,name=AccessLogJSON,proto3" json:"AccessLogJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogResponse) Reset() {
|
|
*x = FindNSClusterAccessLogResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterAccessLogResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterAccessLogResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 FindNSClusterAccessLogResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterAccessLogResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FindNSClusterAccessLogResponse) GetAccessLogJSON() []byte {
|
|
if x != nil {
|
|
return x.AccessLogJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群访问日志配置
|
|
type UpdateNSClusterAccessLogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
AccessLogJSON []byte `protobuf:"bytes,2,opt,name=accessLogJSON,proto3" json:"accessLogJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) Reset() {
|
|
*x = UpdateNSClusterAccessLogRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterAccessLogRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 UpdateNSClusterAccessLogRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterAccessLogRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) GetAccessLogJSON() []byte {
|
|
if x != nil {
|
|
return x.AccessLogJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 删除集群
|
|
type DeleteNSCluster struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteNSCluster) Reset() {
|
|
*x = DeleteNSCluster{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteNSCluster) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteNSCluster) ProtoMessage() {}
|
|
|
|
func (x *DeleteNSCluster) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 DeleteNSCluster.ProtoReflect.Descriptor instead.
|
|
func (*DeleteNSCluster) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DeleteNSCluster) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 查找单个可用集群信息
|
|
type FindNSClusterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterRequest) Reset() {
|
|
*x = FindNSClusterRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 FindNSClusterRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *FindNSClusterRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsCluster *NSCluster `protobuf:"bytes,1,opt,name=nsCluster,proto3" json:"nsCluster,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterResponse) Reset() {
|
|
*x = FindNSClusterResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_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 FindNSClusterResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *FindNSClusterResponse) GetNsCluster() *NSCluster {
|
|
if x != nil {
|
|
return x.NsCluster
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 计算所有可用集群的数量
|
|
type CountAllNSClustersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllNSClustersRequest) Reset() {
|
|
*x = CountAllNSClustersRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllNSClustersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllNSClustersRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllNSClustersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[9]
|
|
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 CountAllNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllNSClustersRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
// 列出单页可用集群
|
|
type ListNSClustersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListNSClustersRequest) Reset() {
|
|
*x = ListNSClustersRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListNSClustersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListNSClustersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListNSClustersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[10]
|
|
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 ListNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListNSClustersRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ListNSClustersRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListNSClustersRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListNSClustersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusters []*NSCluster `protobuf:"bytes,1,rep,name=nsClusters,proto3" json:"nsClusters,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListNSClustersResponse) Reset() {
|
|
*x = ListNSClustersResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListNSClustersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListNSClustersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListNSClustersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[11]
|
|
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 ListNSClustersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListNSClustersResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ListNSClustersResponse) GetNsClusters() []*NSCluster {
|
|
if x != nil {
|
|
return x.NsClusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找所有可用集群
|
|
type FindAllNSClustersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllNSClustersRequest) Reset() {
|
|
*x = FindAllNSClustersRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllNSClustersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllNSClustersRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAllNSClustersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[12]
|
|
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 FindAllNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAllNSClustersRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type FindAllNSClustersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusters []*NSCluster `protobuf:"bytes,1,rep,name=nsClusters,proto3" json:"nsClusters,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAllNSClustersResponse) Reset() {
|
|
*x = FindAllNSClustersResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAllNSClustersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAllNSClustersResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAllNSClustersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[13]
|
|
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 FindAllNSClustersResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAllNSClustersResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *FindAllNSClustersResponse) GetNsClusters() []*NSCluster {
|
|
if x != nil {
|
|
return x.NsClusters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 设置递归DNS配置
|
|
type UpdateNSClusterRecursionConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
RecursionJSON []byte `protobuf:"bytes,2,opt,name=recursionJSON,proto3" json:"recursionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) Reset() {
|
|
*x = UpdateNSClusterRecursionConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterRecursionConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[14]
|
|
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 UpdateNSClusterRecursionConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterRecursionConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) GetRecursionJSON() []byte {
|
|
if x != nil {
|
|
return x.RecursionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 读取递归DNS配置
|
|
type FindNSClusterRecursionConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigRequest) Reset() {
|
|
*x = FindNSClusterRecursionConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterRecursionConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterRecursionConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[15]
|
|
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 FindNSClusterRecursionConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterRecursionConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterRecursionConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RecursionJSON []byte `protobuf:"bytes,1,opt,name=recursionJSON,proto3" json:"recursionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigResponse) Reset() {
|
|
*x = FindNSClusterRecursionConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterRecursionConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterRecursionConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[16]
|
|
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 FindNSClusterRecursionConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterRecursionConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *FindNSClusterRecursionConfigResponse) GetRecursionJSON() []byte {
|
|
if x != nil {
|
|
return x.RecursionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找集群的TCP设置
|
|
type FindNSClusterTCPConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigRequest) Reset() {
|
|
*x = FindNSClusterTCPConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterTCPConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterTCPConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[17]
|
|
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 FindNSClusterTCPConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterTCPConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterTCPConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TcpJSON []byte `protobuf:"bytes,1,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigResponse) Reset() {
|
|
*x = FindNSClusterTCPConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterTCPConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterTCPConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[18]
|
|
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 FindNSClusterTCPConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterTCPConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *FindNSClusterTCPConfigResponse) GetTcpJSON() []byte {
|
|
if x != nil {
|
|
return x.TcpJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找集群的TLS设置
|
|
type FindNSClusterTLSConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigRequest) Reset() {
|
|
*x = FindNSClusterTLSConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterTLSConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterTLSConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[19]
|
|
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 FindNSClusterTLSConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterTLSConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterTLSConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TlsJSON []byte `protobuf:"bytes,1,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigResponse) Reset() {
|
|
*x = FindNSClusterTLSConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterTLSConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterTLSConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[20]
|
|
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 FindNSClusterTLSConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterTLSConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *FindNSClusterTLSConfigResponse) GetTlsJSON() []byte {
|
|
if x != nil {
|
|
return x.TlsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找集群的UDP设置
|
|
type FindNSClusterUDPConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigRequest) Reset() {
|
|
*x = FindNSClusterUDPConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterUDPConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterUDPConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[21]
|
|
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 FindNSClusterUDPConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterUDPConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterUDPConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UdpJSON []byte `protobuf:"bytes,1,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigResponse) Reset() {
|
|
*x = FindNSClusterUDPConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterUDPConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterUDPConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[22]
|
|
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 FindNSClusterUDPConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterUDPConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *FindNSClusterUDPConfigResponse) GetUdpJSON() []byte {
|
|
if x != nil {
|
|
return x.UdpJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找集群的DoH设置
|
|
type FindNSClusterDoHConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigRequest) Reset() {
|
|
*x = FindNSClusterDoHConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterDoHConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterDoHConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[23]
|
|
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 FindNSClusterDoHConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterDoHConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterDoHConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DohJSON []byte `protobuf:"bytes,1,opt,name=dohJSON,proto3" json:"dohJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigResponse) Reset() {
|
|
*x = FindNSClusterDoHConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterDoHConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterDoHConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[24]
|
|
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 FindNSClusterDoHConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterDoHConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *FindNSClusterDoHConfigResponse) GetDohJSON() []byte {
|
|
if x != nil {
|
|
return x.DohJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群的TCP设置
|
|
type UpdateNSClusterTCPRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
TcpJSON []byte `protobuf:"bytes,2,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterTCPRequest) Reset() {
|
|
*x = UpdateNSClusterTCPRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterTCPRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterTCPRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterTCPRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[25]
|
|
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 UpdateNSClusterTCPRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterTCPRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *UpdateNSClusterTCPRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterTCPRequest) GetTcpJSON() []byte {
|
|
if x != nil {
|
|
return x.TcpJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群的TLS设置
|
|
type UpdateNSClusterTLSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
TlsJSON []byte `protobuf:"bytes,2,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterTLSRequest) Reset() {
|
|
*x = UpdateNSClusterTLSRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterTLSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterTLSRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterTLSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[26]
|
|
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 UpdateNSClusterTLSRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterTLSRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *UpdateNSClusterTLSRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterTLSRequest) GetTlsJSON() []byte {
|
|
if x != nil {
|
|
return x.TlsJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群的UDP设置
|
|
type UpdateNSClusterUDPRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
UdpJSON []byte `protobuf:"bytes,2,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterUDPRequest) Reset() {
|
|
*x = UpdateNSClusterUDPRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterUDPRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterUDPRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterUDPRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[27]
|
|
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 UpdateNSClusterUDPRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterUDPRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *UpdateNSClusterUDPRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterUDPRequest) GetUdpJSON() []byte {
|
|
if x != nil {
|
|
return x.UdpJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群的DoH设置
|
|
type UpdateNSClusterDoHRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
DohJSON []byte `protobuf:"bytes,2,opt,name=dohJSON,proto3" json:"dohJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterDoHRequest) Reset() {
|
|
*x = UpdateNSClusterDoHRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterDoHRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterDoHRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterDoHRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[28]
|
|
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 UpdateNSClusterDoHRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterDoHRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *UpdateNSClusterDoHRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterDoHRequest) GetDohJSON() []byte {
|
|
if x != nil {
|
|
return x.DohJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 计算使用某个SSL证书的集群数量
|
|
type CountAllNSClustersWithSSLCertIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) Reset() {
|
|
*x = CountAllNSClustersWithSSLCertIdRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountAllNSClustersWithSSLCertIdRequest) ProtoMessage() {}
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[29]
|
|
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 CountAllNSClustersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*CountAllNSClustersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) GetSslCertId() int64 {
|
|
if x != nil {
|
|
return x.SslCertId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 获取集群的DDoS设置
|
|
type FindNSClusterDDoSProtectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) Reset() {
|
|
*x = FindNSClusterDDoSProtectionRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterDDoSProtectionRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[30]
|
|
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 FindNSClusterDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterDDoSProtectionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DdosProtectionJSON []byte `protobuf:"bytes,1,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) Reset() {
|
|
*x = FindNSClusterDDoSProtectionResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterDDoSProtectionResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[31]
|
|
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 FindNSClusterDDoSProtectionResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterDDoSProtectionResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) GetDdosProtectionJSON() []byte {
|
|
if x != nil {
|
|
return x.DdosProtectionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 修改集群的DDoS设置
|
|
type UpdateNSClusterDDoSProtectionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
DdosProtectionJSON []byte `protobuf:"bytes,2,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) Reset() {
|
|
*x = UpdateNSClusterDDoSProtectionRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterDDoSProtectionRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[32]
|
|
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 UpdateNSClusterDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) GetDdosProtectionJSON() []byte {
|
|
if x != nil {
|
|
return x.DdosProtectionJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找NS集群的主机地址
|
|
type FindNSClusterHostsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterHostsRequest) Reset() {
|
|
*x = FindNSClusterHostsRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterHostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterHostsRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterHostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[33]
|
|
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 FindNSClusterHostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterHostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *FindNSClusterHostsRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterHostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterHostsResponse) Reset() {
|
|
*x = FindNSClusterHostsResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterHostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterHostsResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterHostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[34]
|
|
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 FindNSClusterHostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterHostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *FindNSClusterHostsResponse) GetHosts() []string {
|
|
if x != nil {
|
|
return x.Hosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找用户可以使用的主机地址
|
|
type FindAvailableNSHostsForUserRequest 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 *FindAvailableNSHostsForUserRequest) Reset() {
|
|
*x = FindAvailableNSHostsForUserRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAvailableNSHostsForUserRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAvailableNSHostsForUserRequest) ProtoMessage() {}
|
|
|
|
func (x *FindAvailableNSHostsForUserRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[35]
|
|
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 FindAvailableNSHostsForUserRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindAvailableNSHostsForUserRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *FindAvailableNSHostsForUserRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindAvailableNSHostsForUserResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) Reset() {
|
|
*x = FindAvailableNSHostsForUserResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindAvailableNSHostsForUserResponse) ProtoMessage() {}
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[36]
|
|
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 FindAvailableNSHostsForUserResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindAvailableNSHostsForUserResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) GetHosts() []string {
|
|
if x != nil {
|
|
return x.Hosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找应答模式
|
|
type FindNSClusterAnswerConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) Reset() {
|
|
*x = FindNSClusterAnswerConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterAnswerConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[37]
|
|
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 FindNSClusterAnswerConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterAnswerConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterAnswerConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AnswerJSON []byte `protobuf:"bytes,1,opt,name=answerJSON,proto3" json:"answerJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) Reset() {
|
|
*x = FindNSClusterAnswerConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterAnswerConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[38]
|
|
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 FindNSClusterAnswerConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterAnswerConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) GetAnswerJSON() []byte {
|
|
if x != nil {
|
|
return x.AnswerJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 设置应答模式
|
|
type UpdateNSClusterAnswerConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
AnswerJSON []byte `protobuf:"bytes,2,opt,name=answerJSON,proto3" json:"answerJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) Reset() {
|
|
*x = UpdateNSClusterAnswerConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterAnswerConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[39]
|
|
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 UpdateNSClusterAnswerConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterAnswerConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) GetAnswerJSON() []byte {
|
|
if x != nil {
|
|
return x.AnswerJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 查找SOA配置
|
|
type FindNSClusterSOAConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) Reset() {
|
|
*x = FindNSClusterSOAConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterSOAConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[40]
|
|
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 FindNSClusterSOAConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterSOAConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FindNSClusterSOAConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SoaJSON []byte `protobuf:"bytes,1,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) Reset() {
|
|
*x = FindNSClusterSOAConfigResponse{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindNSClusterSOAConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[41]
|
|
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 FindNSClusterSOAConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindNSClusterSOAConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) GetSoaJSON() []byte {
|
|
if x != nil {
|
|
return x.SoaJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 设置SOA配置
|
|
type UpdateNSClusterSOAConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
SoaJSON []byte `protobuf:"bytes,2,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) Reset() {
|
|
*x = UpdateNSClusterSOAConfigRequest{}
|
|
mi := &file_service_ns_cluster_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateNSClusterSOAConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_ns_cluster_proto_msgTypes[42]
|
|
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 UpdateNSClusterSOAConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateNSClusterSOAConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) GetNsClusterId() int64 {
|
|
if x != nil {
|
|
return x.NsClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) GetSoaJSON() []byte {
|
|
if x != nil {
|
|
return x.SoaJSON
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_service_ns_cluster_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_ns_cluster_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x18service_ns_cluster.proto\x12\x02pb\x1a\x1dmodels/model_ns_cluster.proto\x1a\x19models/rpc_messages.proto\"\x98\x01\n" +
|
|
"\x16CreateNSClusterRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12$\n" +
|
|
"\raccessLogJSON\x18\x02 \x01(\fR\raccessLogJSON\x12\x14\n" +
|
|
"\x05hosts\x18\x03 \x03(\tR\x05hosts\x12\x18\n" +
|
|
"\asoaJSON\x18\x04 \x01(\fR\asoaJSON\x12\x14\n" +
|
|
"\x05email\x18\x05 \x01(\tR\x05email\";\n" +
|
|
"\x17CreateNSClusterResponse\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"\x9e\x02\n" +
|
|
"\x16UpdateNSClusterRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x14\n" +
|
|
"\x05hosts\x18\x04 \x03(\tR\x05hosts\x12\x14\n" +
|
|
"\x05email\x18\b \x01(\tR\x05email\x12(\n" +
|
|
"\x0fautoRemoteStart\x18\x05 \x01(\bR\x0fautoRemoteStart\x12\x1a\n" +
|
|
"\btimeZone\x18\x06 \x01(\tR\btimeZone\x12\"\n" +
|
|
"\fdetectAgents\x18\a \x01(\bR\fdetectAgents\x12$\n" +
|
|
"\rcheckingPorts\x18\t \x01(\bR\rcheckingPorts\"A\n" +
|
|
"\x1dFindNSClusterAccessLogRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"F\n" +
|
|
"\x1eFindNSClusterAccessLogResponse\x12$\n" +
|
|
"\rAccessLogJSON\x18\x01 \x01(\fR\rAccessLogJSON\"i\n" +
|
|
"\x1fUpdateNSClusterAccessLogRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12$\n" +
|
|
"\raccessLogJSON\x18\x02 \x01(\fR\raccessLogJSON\"3\n" +
|
|
"\x0fDeleteNSCluster\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"8\n" +
|
|
"\x14FindNSClusterRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"D\n" +
|
|
"\x15FindNSClusterResponse\x12+\n" +
|
|
"\tnsCluster\x18\x01 \x01(\v2\r.pb.NSClusterR\tnsCluster\"\x1b\n" +
|
|
"\x19CountAllNSClustersRequest\"C\n" +
|
|
"\x15ListNSClustersRequest\x12\x16\n" +
|
|
"\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\"G\n" +
|
|
"\x16ListNSClustersResponse\x12-\n" +
|
|
"\n" +
|
|
"nsClusters\x18\x01 \x03(\v2\r.pb.NSClusterR\n" +
|
|
"nsClusters\"\x1a\n" +
|
|
"\x18FindAllNSClustersRequest\"J\n" +
|
|
"\x19FindAllNSClustersResponse\x12-\n" +
|
|
"\n" +
|
|
"nsClusters\x18\x01 \x03(\v2\r.pb.NSClusterR\n" +
|
|
"nsClusters\"o\n" +
|
|
"%UpdateNSClusterRecursionConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12$\n" +
|
|
"\rrecursionJSON\x18\x02 \x01(\fR\rrecursionJSON\"G\n" +
|
|
"#FindNSClusterRecursionConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"L\n" +
|
|
"$FindNSClusterRecursionConfigResponse\x12$\n" +
|
|
"\rrecursionJSON\x18\x01 \x01(\fR\rrecursionJSON\"A\n" +
|
|
"\x1dFindNSClusterTCPConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\":\n" +
|
|
"\x1eFindNSClusterTCPConfigResponse\x12\x18\n" +
|
|
"\atcpJSON\x18\x01 \x01(\fR\atcpJSON\"A\n" +
|
|
"\x1dFindNSClusterTLSConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\":\n" +
|
|
"\x1eFindNSClusterTLSConfigResponse\x12\x18\n" +
|
|
"\atlsJSON\x18\x01 \x01(\fR\atlsJSON\"A\n" +
|
|
"\x1dFindNSClusterUDPConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\":\n" +
|
|
"\x1eFindNSClusterUDPConfigResponse\x12\x18\n" +
|
|
"\audpJSON\x18\x01 \x01(\fR\audpJSON\"A\n" +
|
|
"\x1dFindNSClusterDoHConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\":\n" +
|
|
"\x1eFindNSClusterDoHConfigResponse\x12\x18\n" +
|
|
"\adohJSON\x18\x01 \x01(\fR\adohJSON\"W\n" +
|
|
"\x19UpdateNSClusterTCPRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x18\n" +
|
|
"\atcpJSON\x18\x02 \x01(\fR\atcpJSON\"W\n" +
|
|
"\x19UpdateNSClusterTLSRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x18\n" +
|
|
"\atlsJSON\x18\x02 \x01(\fR\atlsJSON\"W\n" +
|
|
"\x19UpdateNSClusterUDPRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x18\n" +
|
|
"\audpJSON\x18\x02 \x01(\fR\audpJSON\"W\n" +
|
|
"\x19UpdateNSClusterDoHRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x18\n" +
|
|
"\adohJSON\x18\x02 \x01(\fR\adohJSON\"F\n" +
|
|
"&CountAllNSClustersWithSSLCertIdRequest\x12\x1c\n" +
|
|
"\tsslCertId\x18\x01 \x01(\x03R\tsslCertId\"F\n" +
|
|
"\"FindNSClusterDDoSProtectionRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"U\n" +
|
|
"#FindNSClusterDDoSProtectionResponse\x12.\n" +
|
|
"\x12ddosProtectionJSON\x18\x01 \x01(\fR\x12ddosProtectionJSON\"x\n" +
|
|
"$UpdateNSClusterDDoSProtectionRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12.\n" +
|
|
"\x12ddosProtectionJSON\x18\x02 \x01(\fR\x12ddosProtectionJSON\"=\n" +
|
|
"\x19FindNSClusterHostsRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"2\n" +
|
|
"\x1aFindNSClusterHostsResponse\x12\x14\n" +
|
|
"\x05hosts\x18\x01 \x03(\tR\x05hosts\"<\n" +
|
|
"\"FindAvailableNSHostsForUserRequest\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\";\n" +
|
|
"#FindAvailableNSHostsForUserResponse\x12\x14\n" +
|
|
"\x05hosts\x18\x01 \x03(\tR\x05hosts\"D\n" +
|
|
" FindNSClusterAnswerConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\"C\n" +
|
|
"!FindNSClusterAnswerConfigResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"answerJSON\x18\x01 \x01(\fR\n" +
|
|
"answerJSON\"f\n" +
|
|
"\"UpdateNSClusterAnswerConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x1e\n" +
|
|
"\n" +
|
|
"answerJSON\x18\x02 \x01(\fR\n" +
|
|
"answerJSON\"A\n" +
|
|
"\x1dFindNSClusterSOAConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\":\n" +
|
|
"\x1eFindNSClusterSOAConfigResponse\x12\x18\n" +
|
|
"\asoaJSON\x18\x01 \x01(\fR\asoaJSON\"]\n" +
|
|
"\x1fUpdateNSClusterSOAConfigRequest\x12 \n" +
|
|
"\vnsClusterId\x18\x01 \x01(\x03R\vnsClusterId\x12\x18\n" +
|
|
"\asoaJSON\x18\x02 \x01(\fR\asoaJSON2\x83\x13\n" +
|
|
"\x10NSClusterService\x12J\n" +
|
|
"\x0fcreateNSCluster\x12\x1a.pb.CreateNSClusterRequest\x1a\x1b.pb.CreateNSClusterResponse\x12=\n" +
|
|
"\x0fupdateNSCluster\x12\x1a.pb.UpdateNSClusterRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
|
"\x16findNSClusterAccessLog\x12!.pb.FindNSClusterAccessLogRequest\x1a\".pb.FindNSClusterAccessLogResponse\x12O\n" +
|
|
"\x18updateNSClusterAccessLog\x12#.pb.UpdateNSClusterAccessLogRequest\x1a\x0e.pb.RPCSuccess\x126\n" +
|
|
"\x0fdeleteNSCluster\x12\x13.pb.DeleteNSCluster\x1a\x0e.pb.RPCSuccess\x12D\n" +
|
|
"\rfindNSCluster\x12\x18.pb.FindNSClusterRequest\x1a\x19.pb.FindNSClusterResponse\x12I\n" +
|
|
"\x12countAllNSClusters\x12\x1d.pb.CountAllNSClustersRequest\x1a\x14.pb.RPCCountResponse\x12G\n" +
|
|
"\x0elistNSClusters\x12\x19.pb.ListNSClustersRequest\x1a\x1a.pb.ListNSClustersResponse\x12P\n" +
|
|
"\x11findAllNSClusters\x12\x1c.pb.FindAllNSClustersRequest\x1a\x1d.pb.FindAllNSClustersResponse\x12[\n" +
|
|
"\x1eupdateNSClusterRecursionConfig\x12).pb.UpdateNSClusterRecursionConfigRequest\x1a\x0e.pb.RPCSuccess\x12q\n" +
|
|
"\x1cfindNSClusterRecursionConfig\x12'.pb.FindNSClusterRecursionConfigRequest\x1a(.pb.FindNSClusterRecursionConfigResponse\x12_\n" +
|
|
"\x16findNSClusterTCPConfig\x12!.pb.FindNSClusterTCPConfigRequest\x1a\".pb.FindNSClusterTCPConfigResponse\x12C\n" +
|
|
"\x12updateNSClusterTCP\x12\x1d.pb.UpdateNSClusterTCPRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
|
"\x16findNSClusterTLSConfig\x12!.pb.FindNSClusterTLSConfigRequest\x1a\".pb.FindNSClusterTLSConfigResponse\x12C\n" +
|
|
"\x12updateNSClusterTLS\x12\x1d.pb.UpdateNSClusterTLSRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
|
"\x16findNSClusterUDPConfig\x12!.pb.FindNSClusterUDPConfigRequest\x1a\".pb.FindNSClusterUDPConfigResponse\x12C\n" +
|
|
"\x12updateNSClusterUDP\x12\x1d.pb.UpdateNSClusterUDPRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
|
"\x16findNSClusterDoHConfig\x12!.pb.FindNSClusterDoHConfigRequest\x1a\".pb.FindNSClusterDoHConfigResponse\x12C\n" +
|
|
"\x12updateNSClusterDoH\x12\x1d.pb.UpdateNSClusterDoHRequest\x1a\x0e.pb.RPCSuccess\x12c\n" +
|
|
"\x1fcountAllNSClustersWithSSLCertId\x12*.pb.CountAllNSClustersWithSSLCertIdRequest\x1a\x14.pb.RPCCountResponse\x12n\n" +
|
|
"\x1bfindNSClusterDDoSProtection\x12&.pb.FindNSClusterDDoSProtectionRequest\x1a'.pb.FindNSClusterDDoSProtectionResponse\x12Y\n" +
|
|
"\x1dupdateNSClusterDDoSProtection\x12(.pb.UpdateNSClusterDDoSProtectionRequest\x1a\x0e.pb.RPCSuccess\x12S\n" +
|
|
"\x12findNSClusterHosts\x12\x1d.pb.FindNSClusterHostsRequest\x1a\x1e.pb.FindNSClusterHostsResponse\x12n\n" +
|
|
"\x1bfindAvailableNSHostsForUser\x12&.pb.FindAvailableNSHostsForUserRequest\x1a'.pb.FindAvailableNSHostsForUserResponse\x12h\n" +
|
|
"\x19findNSClusterAnswerConfig\x12$.pb.FindNSClusterAnswerConfigRequest\x1a%.pb.FindNSClusterAnswerConfigResponse\x12U\n" +
|
|
"\x1bupdateNSClusterAnswerConfig\x12&.pb.UpdateNSClusterAnswerConfigRequest\x1a\x0e.pb.RPCSuccess\x12_\n" +
|
|
"\x16findNSClusterSOAConfig\x12!.pb.FindNSClusterSOAConfigRequest\x1a\".pb.FindNSClusterSOAConfigResponse\x12O\n" +
|
|
"\x18updateNSClusterSOAConfig\x12#.pb.UpdateNSClusterSOAConfigRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_ns_cluster_proto_rawDescOnce sync.Once
|
|
file_service_ns_cluster_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_ns_cluster_proto_rawDescGZIP() []byte {
|
|
file_service_ns_cluster_proto_rawDescOnce.Do(func() {
|
|
file_service_ns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_ns_cluster_proto_rawDesc), len(file_service_ns_cluster_proto_rawDesc)))
|
|
})
|
|
return file_service_ns_cluster_proto_rawDescData
|
|
}
|
|
|
|
var file_service_ns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 43)
|
|
var file_service_ns_cluster_proto_goTypes = []any{
|
|
(*CreateNSClusterRequest)(nil), // 0: pb.CreateNSClusterRequest
|
|
(*CreateNSClusterResponse)(nil), // 1: pb.CreateNSClusterResponse
|
|
(*UpdateNSClusterRequest)(nil), // 2: pb.UpdateNSClusterRequest
|
|
(*FindNSClusterAccessLogRequest)(nil), // 3: pb.FindNSClusterAccessLogRequest
|
|
(*FindNSClusterAccessLogResponse)(nil), // 4: pb.FindNSClusterAccessLogResponse
|
|
(*UpdateNSClusterAccessLogRequest)(nil), // 5: pb.UpdateNSClusterAccessLogRequest
|
|
(*DeleteNSCluster)(nil), // 6: pb.DeleteNSCluster
|
|
(*FindNSClusterRequest)(nil), // 7: pb.FindNSClusterRequest
|
|
(*FindNSClusterResponse)(nil), // 8: pb.FindNSClusterResponse
|
|
(*CountAllNSClustersRequest)(nil), // 9: pb.CountAllNSClustersRequest
|
|
(*ListNSClustersRequest)(nil), // 10: pb.ListNSClustersRequest
|
|
(*ListNSClustersResponse)(nil), // 11: pb.ListNSClustersResponse
|
|
(*FindAllNSClustersRequest)(nil), // 12: pb.FindAllNSClustersRequest
|
|
(*FindAllNSClustersResponse)(nil), // 13: pb.FindAllNSClustersResponse
|
|
(*UpdateNSClusterRecursionConfigRequest)(nil), // 14: pb.UpdateNSClusterRecursionConfigRequest
|
|
(*FindNSClusterRecursionConfigRequest)(nil), // 15: pb.FindNSClusterRecursionConfigRequest
|
|
(*FindNSClusterRecursionConfigResponse)(nil), // 16: pb.FindNSClusterRecursionConfigResponse
|
|
(*FindNSClusterTCPConfigRequest)(nil), // 17: pb.FindNSClusterTCPConfigRequest
|
|
(*FindNSClusterTCPConfigResponse)(nil), // 18: pb.FindNSClusterTCPConfigResponse
|
|
(*FindNSClusterTLSConfigRequest)(nil), // 19: pb.FindNSClusterTLSConfigRequest
|
|
(*FindNSClusterTLSConfigResponse)(nil), // 20: pb.FindNSClusterTLSConfigResponse
|
|
(*FindNSClusterUDPConfigRequest)(nil), // 21: pb.FindNSClusterUDPConfigRequest
|
|
(*FindNSClusterUDPConfigResponse)(nil), // 22: pb.FindNSClusterUDPConfigResponse
|
|
(*FindNSClusterDoHConfigRequest)(nil), // 23: pb.FindNSClusterDoHConfigRequest
|
|
(*FindNSClusterDoHConfigResponse)(nil), // 24: pb.FindNSClusterDoHConfigResponse
|
|
(*UpdateNSClusterTCPRequest)(nil), // 25: pb.UpdateNSClusterTCPRequest
|
|
(*UpdateNSClusterTLSRequest)(nil), // 26: pb.UpdateNSClusterTLSRequest
|
|
(*UpdateNSClusterUDPRequest)(nil), // 27: pb.UpdateNSClusterUDPRequest
|
|
(*UpdateNSClusterDoHRequest)(nil), // 28: pb.UpdateNSClusterDoHRequest
|
|
(*CountAllNSClustersWithSSLCertIdRequest)(nil), // 29: pb.CountAllNSClustersWithSSLCertIdRequest
|
|
(*FindNSClusterDDoSProtectionRequest)(nil), // 30: pb.FindNSClusterDDoSProtectionRequest
|
|
(*FindNSClusterDDoSProtectionResponse)(nil), // 31: pb.FindNSClusterDDoSProtectionResponse
|
|
(*UpdateNSClusterDDoSProtectionRequest)(nil), // 32: pb.UpdateNSClusterDDoSProtectionRequest
|
|
(*FindNSClusterHostsRequest)(nil), // 33: pb.FindNSClusterHostsRequest
|
|
(*FindNSClusterHostsResponse)(nil), // 34: pb.FindNSClusterHostsResponse
|
|
(*FindAvailableNSHostsForUserRequest)(nil), // 35: pb.FindAvailableNSHostsForUserRequest
|
|
(*FindAvailableNSHostsForUserResponse)(nil), // 36: pb.FindAvailableNSHostsForUserResponse
|
|
(*FindNSClusterAnswerConfigRequest)(nil), // 37: pb.FindNSClusterAnswerConfigRequest
|
|
(*FindNSClusterAnswerConfigResponse)(nil), // 38: pb.FindNSClusterAnswerConfigResponse
|
|
(*UpdateNSClusterAnswerConfigRequest)(nil), // 39: pb.UpdateNSClusterAnswerConfigRequest
|
|
(*FindNSClusterSOAConfigRequest)(nil), // 40: pb.FindNSClusterSOAConfigRequest
|
|
(*FindNSClusterSOAConfigResponse)(nil), // 41: pb.FindNSClusterSOAConfigResponse
|
|
(*UpdateNSClusterSOAConfigRequest)(nil), // 42: pb.UpdateNSClusterSOAConfigRequest
|
|
(*NSCluster)(nil), // 43: pb.NSCluster
|
|
(*RPCSuccess)(nil), // 44: pb.RPCSuccess
|
|
(*RPCCountResponse)(nil), // 45: pb.RPCCountResponse
|
|
}
|
|
var file_service_ns_cluster_proto_depIdxs = []int32{
|
|
43, // 0: pb.FindNSClusterResponse.nsCluster:type_name -> pb.NSCluster
|
|
43, // 1: pb.ListNSClustersResponse.nsClusters:type_name -> pb.NSCluster
|
|
43, // 2: pb.FindAllNSClustersResponse.nsClusters:type_name -> pb.NSCluster
|
|
0, // 3: pb.NSClusterService.createNSCluster:input_type -> pb.CreateNSClusterRequest
|
|
2, // 4: pb.NSClusterService.updateNSCluster:input_type -> pb.UpdateNSClusterRequest
|
|
3, // 5: pb.NSClusterService.findNSClusterAccessLog:input_type -> pb.FindNSClusterAccessLogRequest
|
|
5, // 6: pb.NSClusterService.updateNSClusterAccessLog:input_type -> pb.UpdateNSClusterAccessLogRequest
|
|
6, // 7: pb.NSClusterService.deleteNSCluster:input_type -> pb.DeleteNSCluster
|
|
7, // 8: pb.NSClusterService.findNSCluster:input_type -> pb.FindNSClusterRequest
|
|
9, // 9: pb.NSClusterService.countAllNSClusters:input_type -> pb.CountAllNSClustersRequest
|
|
10, // 10: pb.NSClusterService.listNSClusters:input_type -> pb.ListNSClustersRequest
|
|
12, // 11: pb.NSClusterService.findAllNSClusters:input_type -> pb.FindAllNSClustersRequest
|
|
14, // 12: pb.NSClusterService.updateNSClusterRecursionConfig:input_type -> pb.UpdateNSClusterRecursionConfigRequest
|
|
15, // 13: pb.NSClusterService.findNSClusterRecursionConfig:input_type -> pb.FindNSClusterRecursionConfigRequest
|
|
17, // 14: pb.NSClusterService.findNSClusterTCPConfig:input_type -> pb.FindNSClusterTCPConfigRequest
|
|
25, // 15: pb.NSClusterService.updateNSClusterTCP:input_type -> pb.UpdateNSClusterTCPRequest
|
|
19, // 16: pb.NSClusterService.findNSClusterTLSConfig:input_type -> pb.FindNSClusterTLSConfigRequest
|
|
26, // 17: pb.NSClusterService.updateNSClusterTLS:input_type -> pb.UpdateNSClusterTLSRequest
|
|
21, // 18: pb.NSClusterService.findNSClusterUDPConfig:input_type -> pb.FindNSClusterUDPConfigRequest
|
|
27, // 19: pb.NSClusterService.updateNSClusterUDP:input_type -> pb.UpdateNSClusterUDPRequest
|
|
23, // 20: pb.NSClusterService.findNSClusterDoHConfig:input_type -> pb.FindNSClusterDoHConfigRequest
|
|
28, // 21: pb.NSClusterService.updateNSClusterDoH:input_type -> pb.UpdateNSClusterDoHRequest
|
|
29, // 22: pb.NSClusterService.countAllNSClustersWithSSLCertId:input_type -> pb.CountAllNSClustersWithSSLCertIdRequest
|
|
30, // 23: pb.NSClusterService.findNSClusterDDoSProtection:input_type -> pb.FindNSClusterDDoSProtectionRequest
|
|
32, // 24: pb.NSClusterService.updateNSClusterDDoSProtection:input_type -> pb.UpdateNSClusterDDoSProtectionRequest
|
|
33, // 25: pb.NSClusterService.findNSClusterHosts:input_type -> pb.FindNSClusterHostsRequest
|
|
35, // 26: pb.NSClusterService.findAvailableNSHostsForUser:input_type -> pb.FindAvailableNSHostsForUserRequest
|
|
37, // 27: pb.NSClusterService.findNSClusterAnswerConfig:input_type -> pb.FindNSClusterAnswerConfigRequest
|
|
39, // 28: pb.NSClusterService.updateNSClusterAnswerConfig:input_type -> pb.UpdateNSClusterAnswerConfigRequest
|
|
40, // 29: pb.NSClusterService.findNSClusterSOAConfig:input_type -> pb.FindNSClusterSOAConfigRequest
|
|
42, // 30: pb.NSClusterService.updateNSClusterSOAConfig:input_type -> pb.UpdateNSClusterSOAConfigRequest
|
|
1, // 31: pb.NSClusterService.createNSCluster:output_type -> pb.CreateNSClusterResponse
|
|
44, // 32: pb.NSClusterService.updateNSCluster:output_type -> pb.RPCSuccess
|
|
4, // 33: pb.NSClusterService.findNSClusterAccessLog:output_type -> pb.FindNSClusterAccessLogResponse
|
|
44, // 34: pb.NSClusterService.updateNSClusterAccessLog:output_type -> pb.RPCSuccess
|
|
44, // 35: pb.NSClusterService.deleteNSCluster:output_type -> pb.RPCSuccess
|
|
8, // 36: pb.NSClusterService.findNSCluster:output_type -> pb.FindNSClusterResponse
|
|
45, // 37: pb.NSClusterService.countAllNSClusters:output_type -> pb.RPCCountResponse
|
|
11, // 38: pb.NSClusterService.listNSClusters:output_type -> pb.ListNSClustersResponse
|
|
13, // 39: pb.NSClusterService.findAllNSClusters:output_type -> pb.FindAllNSClustersResponse
|
|
44, // 40: pb.NSClusterService.updateNSClusterRecursionConfig:output_type -> pb.RPCSuccess
|
|
16, // 41: pb.NSClusterService.findNSClusterRecursionConfig:output_type -> pb.FindNSClusterRecursionConfigResponse
|
|
18, // 42: pb.NSClusterService.findNSClusterTCPConfig:output_type -> pb.FindNSClusterTCPConfigResponse
|
|
44, // 43: pb.NSClusterService.updateNSClusterTCP:output_type -> pb.RPCSuccess
|
|
20, // 44: pb.NSClusterService.findNSClusterTLSConfig:output_type -> pb.FindNSClusterTLSConfigResponse
|
|
44, // 45: pb.NSClusterService.updateNSClusterTLS:output_type -> pb.RPCSuccess
|
|
22, // 46: pb.NSClusterService.findNSClusterUDPConfig:output_type -> pb.FindNSClusterUDPConfigResponse
|
|
44, // 47: pb.NSClusterService.updateNSClusterUDP:output_type -> pb.RPCSuccess
|
|
24, // 48: pb.NSClusterService.findNSClusterDoHConfig:output_type -> pb.FindNSClusterDoHConfigResponse
|
|
44, // 49: pb.NSClusterService.updateNSClusterDoH:output_type -> pb.RPCSuccess
|
|
45, // 50: pb.NSClusterService.countAllNSClustersWithSSLCertId:output_type -> pb.RPCCountResponse
|
|
31, // 51: pb.NSClusterService.findNSClusterDDoSProtection:output_type -> pb.FindNSClusterDDoSProtectionResponse
|
|
44, // 52: pb.NSClusterService.updateNSClusterDDoSProtection:output_type -> pb.RPCSuccess
|
|
34, // 53: pb.NSClusterService.findNSClusterHosts:output_type -> pb.FindNSClusterHostsResponse
|
|
36, // 54: pb.NSClusterService.findAvailableNSHostsForUser:output_type -> pb.FindAvailableNSHostsForUserResponse
|
|
38, // 55: pb.NSClusterService.findNSClusterAnswerConfig:output_type -> pb.FindNSClusterAnswerConfigResponse
|
|
44, // 56: pb.NSClusterService.updateNSClusterAnswerConfig:output_type -> pb.RPCSuccess
|
|
41, // 57: pb.NSClusterService.findNSClusterSOAConfig:output_type -> pb.FindNSClusterSOAConfigResponse
|
|
44, // 58: pb.NSClusterService.updateNSClusterSOAConfig:output_type -> pb.RPCSuccess
|
|
31, // [31:59] is the sub-list for method output_type
|
|
3, // [3:31] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_ns_cluster_proto_init() }
|
|
func file_service_ns_cluster_proto_init() {
|
|
if File_service_ns_cluster_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_ns_cluster_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_ns_cluster_proto_rawDesc), len(file_service_ns_cluster_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 43,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_ns_cluster_proto_goTypes,
|
|
DependencyIndexes: file_service_ns_cluster_proto_depIdxs,
|
|
MessageInfos: file_service_ns_cluster_proto_msgTypes,
|
|
}.Build()
|
|
File_service_ns_cluster_proto = out.File
|
|
file_service_ns_cluster_proto_goTypes = nil
|
|
file_service_ns_cluster_proto_depIdxs = nil
|
|
}
|