2021-05-25 15:48:25 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.25.0
|
2022-03-04 15:44:39 +08:00
|
|
|
// protoc v3.19.4
|
2021-05-25 15:48:25 +08:00
|
|
|
// source: service_ns_cluster.proto
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
context "context"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
|
|
|
|
// 创建集群
|
|
|
|
|
type CreateNSClusterRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
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"`
|
2022-09-24 14:07:59 +08:00
|
|
|
SoaJSON []byte `protobuf:"bytes,4,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
|
|
|
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSClusterRequest) Reset() {
|
|
|
|
|
*x = CreateNSClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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 ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-05 15:39:06 +08:00
|
|
|
func (x *CreateNSClusterRequest) GetAccessLogJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AccessLogJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
func (x *CreateNSClusterRequest) GetHosts() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hosts
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
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 ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
type CreateNSClusterResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateNSClusterResponse) Reset() {
|
|
|
|
|
*x = CreateNSClusterResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2022-09-17 15:11:25 +08:00
|
|
|
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"`
|
2022-09-24 14:07:59 +08:00
|
|
|
Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
|
2022-09-17 15:11:25 +08:00
|
|
|
AutoRemoteStart bool `protobuf:"varint,5,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
|
2022-09-19 17:00:27 +08:00
|
|
|
TimeZone string `protobuf:"bytes,6,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
func (x *UpdateNSClusterRequest) GetHosts() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hosts
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
func (x *UpdateNSClusterRequest) GetEmail() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Email
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-17 15:11:25 +08:00
|
|
|
func (x *UpdateNSClusterRequest) GetAutoRemoteStart() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AutoRemoteStart
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-19 17:00:27 +08:00
|
|
|
func (x *UpdateNSClusterRequest) GetTimeZone() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TimeZone
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-02 11:53:15 +08:00
|
|
|
// 查找集群访问日志配置
|
|
|
|
|
type FindNSClusterAccessLogRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAccessLogRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterAccessLogRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
AccessLogJSON []byte `protobuf:"bytes,1,opt,name=AccessLogJSON,proto3" json:"AccessLogJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAccessLogResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterAccessLogResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
AccessLogJSON []byte `protobuf:"bytes,2,opt,name=accessLogJSON,proto3" json:"accessLogJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterAccessLogRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterAccessLogRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
// 删除集群
|
|
|
|
|
type DeleteNSCluster struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSCluster) Reset() {
|
|
|
|
|
*x = DeleteNSCluster{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[6]
|
2021-05-25 15:48:25 +08:00
|
|
|
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 {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[6]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteNSCluster.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeleteNSCluster) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{6}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeleteNSCluster) GetNsClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找单个可用集群信息
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindNSClusterRequest struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterRequest{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[7]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterRequest) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindNSClusterRequest) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterRequest) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[7]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindNSClusterRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterRequest) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{7}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterRequest) GetNsClusterId() int64 {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindNSClusterResponse struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsCluster *NSCluster `protobuf:"bytes,1,opt,name=nsCluster,proto3" json:"nsCluster,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterResponse{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[8]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterResponse) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindNSClusterResponse) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterResponse) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[8]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindNSClusterResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterResponse) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{8}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindNSClusterResponse) GetNsCluster() *NSCluster {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsCluster
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算所有可用集群的数量
|
2022-08-06 20:29:26 +08:00
|
|
|
type CountAllNSClustersRequest struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSClustersRequest) Reset() {
|
|
|
|
|
*x = CountAllNSClustersRequest{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[9]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSClustersRequest) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*CountAllNSClustersRequest) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *CountAllNSClustersRequest) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[9]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use CountAllNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllNSClustersRequest) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{9}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 列出单页可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
type ListNSClustersRequest struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersRequest) Reset() {
|
|
|
|
|
*x = ListNSClustersRequest{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[10]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersRequest) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*ListNSClustersRequest) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersRequest) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[10]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use ListNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSClustersRequest) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{10}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersRequest) GetOffset() int64 {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Offset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersRequest) GetSize() int64 {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Size
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type ListNSClustersResponse struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusters []*NSCluster `protobuf:"bytes,1,rep,name=nsClusters,proto3" json:"nsClusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersResponse) Reset() {
|
|
|
|
|
*x = ListNSClustersResponse{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[11]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersResponse) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*ListNSClustersResponse) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersResponse) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[11]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use ListNSClustersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ListNSClustersResponse) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{11}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *ListNSClustersResponse) GetNsClusters() []*NSCluster {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查找所有可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindAllNSClustersRequest struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersRequest) Reset() {
|
|
|
|
|
*x = FindAllNSClustersRequest{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[12]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersRequest) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindAllNSClustersRequest) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersRequest) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[12]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindAllNSClustersRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllNSClustersRequest) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{12}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
type FindAllNSClustersResponse struct {
|
2021-05-25 15:48:25 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusters []*NSCluster `protobuf:"bytes,1,rep,name=nsClusters,proto3" json:"nsClusters,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersResponse) Reset() {
|
|
|
|
|
*x = FindAllNSClustersResponse{}
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[13]
|
2021-05-25 15:48:25 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersResponse) String() string {
|
2021-05-25 15:48:25 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*FindAllNSClustersResponse) ProtoMessage() {}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersResponse) ProtoReflect() protoreflect.Message {
|
2021-06-02 11:53:15 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[13]
|
2021-05-25 15:48:25 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
// Deprecated: Use FindAllNSClustersResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAllNSClustersResponse) Descriptor() ([]byte, []int) {
|
2021-06-02 11:53:15 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{13}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (x *FindAllNSClustersResponse) GetNsClusters() []*NSCluster {
|
2021-05-25 15:48:25 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusters
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-23 09:59:43 +08:00
|
|
|
// 设置递归DNS配置
|
|
|
|
|
type UpdateNSClusterRecursionConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
RecursionJSON []byte `protobuf:"bytes,2,opt,name=recursionJSON,proto3" json:"recursionJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterRecursionConfigRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterRecursionConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterRecursionConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterRecursionConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
RecursionJSON []byte `protobuf:"bytes,1,opt,name=recursionJSON,proto3" json:"recursionJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterRecursionConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterRecursionConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-27 16:56:32 +08:00
|
|
|
// 查找集群的TCP设置
|
|
|
|
|
type FindNSClusterTCPConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterTCPConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterTCPConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
TcpJSON []byte `protobuf:"bytes,1,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterTCPConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterTCPConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterTLSConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterTLSConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
TlsJSON []byte `protobuf:"bytes,1,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterTLSConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterTLSConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterUDPConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterUDPConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UdpJSON []byte `protobuf:"bytes,1,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterUDPConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterUDPConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
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 protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use 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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改集群的TCP设置
|
|
|
|
|
type UpdateNSClusterTCPRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
TcpJSON []byte `protobuf:"bytes,2,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterTCPRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterTCPRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[23]
|
|
|
|
|
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[23]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterTCPRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterTCPRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{23}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
TlsJSON []byte `protobuf:"bytes,2,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterTLSRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterTLSRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[24]
|
|
|
|
|
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[24]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterTLSRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterTLSRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{24}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
UdpJSON []byte `protobuf:"bytes,2,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterUDPRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterUDPRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[25]
|
|
|
|
|
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[25]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterUDPRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterUDPRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{25}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-04 16:25:00 +08:00
|
|
|
// 计算使用某个SSL证书的集群数量
|
|
|
|
|
type CountAllNSClustersWithSSLCertIdRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
SslCertId int64 `protobuf:"varint,1,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) Reset() {
|
|
|
|
|
*x = CountAllNSClustersWithSSLCertIdRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[26]
|
|
|
|
|
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[26]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CountAllNSClustersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CountAllNSClustersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{26}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CountAllNSClustersWithSSLCertIdRequest) GetSslCertId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SslCertId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-22 15:10:48 +08:00
|
|
|
// 获取集群的DDoS设置
|
|
|
|
|
type FindNSClusterDDoSProtectionRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterDDoSProtectionRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[27]
|
|
|
|
|
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[27]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{27}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterDDoSProtectionRequest) GetNsClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNSClusterDDoSProtectionResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
DdosProtectionJSON []byte `protobuf:"bytes,1,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterDDoSProtectionResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[28]
|
|
|
|
|
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[28]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterDDoSProtectionResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterDDoSProtectionResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{28}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterDDoSProtectionResponse) GetDdosProtectionJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DdosProtectionJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改集群的DDoS设置
|
|
|
|
|
type UpdateNSClusterDDoSProtectionRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
DdosProtectionJSON []byte `protobuf:"bytes,2,opt,name=ddosProtectionJSON,proto3" json:"ddosProtectionJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterDDoSProtectionRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterDDoSProtectionRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[29]
|
|
|
|
|
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[29]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterDDoSProtectionRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterDDoSProtectionRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{29}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-21 15:06:01 +08:00
|
|
|
// 查找NS集群的主机地址
|
|
|
|
|
type FindNSClusterHostsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterHostsRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterHostsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[30]
|
|
|
|
|
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[30]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterHostsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterHostsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{30}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterHostsRequest) GetNsClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNSClusterHostsResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterHostsResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterHostsResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[31]
|
|
|
|
|
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[31]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterHostsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterHostsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{31}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterHostsResponse) GetHosts() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hosts
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
// 查找用户可以使用的主机地址
|
|
|
|
|
type FindAvailableNSHostsForUserRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAvailableNSHostsForUserRequest) Reset() {
|
|
|
|
|
*x = FindAvailableNSHostsForUserRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-21 15:06:01 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[32]
|
2022-09-10 16:13:26 +08:00
|
|
|
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 {
|
2022-09-21 15:06:01 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[32]
|
2022-09-10 16:13:26 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindAvailableNSHostsForUserRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAvailableNSHostsForUserRequest) Descriptor() ([]byte, []int) {
|
2022-09-21 15:06:01 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{32}
|
2022-09-10 16:13:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAvailableNSHostsForUserRequest) GetUserId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindAvailableNSHostsForUserResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) Reset() {
|
|
|
|
|
*x = FindAvailableNSHostsForUserResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-09-21 15:06:01 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[33]
|
2022-09-10 16:13:26 +08:00
|
|
|
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 {
|
2022-09-21 15:06:01 +08:00
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[33]
|
2022-09-10 16:13:26 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindAvailableNSHostsForUserResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindAvailableNSHostsForUserResponse) Descriptor() ([]byte, []int) {
|
2022-09-21 15:06:01 +08:00
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{33}
|
2022-09-10 16:13:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindAvailableNSHostsForUserResponse) GetHosts() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hosts
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-23 19:02:21 +08:00
|
|
|
// 查找应答模式
|
|
|
|
|
type FindNSClusterAnswerConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterAnswerConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[34]
|
|
|
|
|
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[34]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterAnswerConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterAnswerConfigRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{34}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAnswerConfigRequest) GetNsClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNSClusterAnswerConfigResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
AnswerJSON []byte `protobuf:"bytes,1,opt,name=answerJSON,proto3" json:"answerJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterAnswerConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[35]
|
|
|
|
|
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[35]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterAnswerConfigResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterAnswerConfigResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{35}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterAnswerConfigResponse) GetAnswerJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AnswerJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置应答模式
|
|
|
|
|
type UpdateNSClusterAnswerConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
AnswerJSON []byte `protobuf:"bytes,2,opt,name=answerJSON,proto3" json:"answerJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterAnswerConfigRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterAnswerConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[36]
|
|
|
|
|
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[36]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterAnswerConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterAnswerConfigRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{36}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
// 查找SOA配置
|
|
|
|
|
type FindNSClusterSOAConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) Reset() {
|
|
|
|
|
*x = FindNSClusterSOAConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[37]
|
|
|
|
|
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[37]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterSOAConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterSOAConfigRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{37}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterSOAConfigRequest) GetNsClusterId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.NsClusterId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindNSClusterSOAConfigResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
SoaJSON []byte `protobuf:"bytes,1,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) Reset() {
|
|
|
|
|
*x = FindNSClusterSOAConfigResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[38]
|
|
|
|
|
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[38]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindNSClusterSOAConfigResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindNSClusterSOAConfigResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{38}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindNSClusterSOAConfigResponse) GetSoaJSON() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SoaJSON
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置SOA配置
|
|
|
|
|
type UpdateNSClusterSOAConfigRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
NsClusterId int64 `protobuf:"varint,1,opt,name=nsClusterId,proto3" json:"nsClusterId,omitempty"`
|
|
|
|
|
SoaJSON []byte `protobuf:"bytes,2,opt,name=soaJSON,proto3" json:"soaJSON,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateNSClusterSOAConfigRequest) Reset() {
|
|
|
|
|
*x = UpdateNSClusterSOAConfigRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_ns_cluster_proto_msgTypes[39]
|
|
|
|
|
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[39]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateNSClusterSOAConfigRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateNSClusterSOAConfigRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescGZIP(), []int{39}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
var File_service_ns_cluster_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_service_ns_cluster_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x73, 0x5f, 0x63, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1d,
|
|
|
|
|
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73, 0x5f,
|
|
|
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d,
|
|
|
|
|
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65,
|
|
|
|
|
0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
|
0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d,
|
|
|
|
|
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a,
|
|
|
|
|
0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x6f,
|
|
|
|
|
0x73, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6f, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x6f, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a,
|
|
|
|
|
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d,
|
|
|
|
|
0x61, 0x69, 0x6c, 0x22, 0x3b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x22, 0xd4, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e,
|
|
|
|
|
0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
|
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x04,
|
|
|
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65,
|
|
|
|
|
0x6d, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69,
|
|
|
|
|
0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
|
|
|
|
|
0x74, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x6f,
|
|
|
|
|
0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74,
|
|
|
|
|
0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74,
|
|
|
|
|
0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0x41, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f,
|
|
|
|
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e,
|
|
|
|
|
0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x1e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
|
0x73, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
|
|
0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53,
|
|
|
|
|
0x4f, 0x4e, 0x22, 0x69, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
|
0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d,
|
|
|
|
|
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x33, 0x0a,
|
|
|
|
|
0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x22, 0x38, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
2022-09-17 15:11:25 +08:00
|
|
|
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73,
|
2022-09-10 16:13:26 +08:00
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x15,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x09, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
|
|
|
0x43, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
|
|
|
|
0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
|
|
0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d,
|
|
|
|
|
0x0a, 0x0a, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x52, 0x0a, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x1a, 0x0a,
|
|
|
|
|
0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x19, 0x46, 0x69, 0x6e,
|
|
|
|
|
0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x6e, 0x73, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6f, 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
|
2022-09-19 17:00:27 +08:00
|
|
|
0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x47, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a,
|
|
|
|
|
0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22,
|
|
|
|
|
0x4c, 0x0a, 0x24, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x75, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d,
|
|
|
|
|
0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a,
|
|
|
|
|
0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43,
|
|
|
|
|
0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x22, 0x3a, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x54, 0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x1d,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4c, 0x53,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a,
|
|
|
|
|
0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22,
|
|
|
|
|
0x3a, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x1d, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x43,
|
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3a,
|
|
|
|
|
0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55,
|
|
|
|
|
0x44, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0c, 0x52, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x57, 0x0a, 0x19, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43, 0x50,
|
2022-09-19 17:00:27 +08:00
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70,
|
|
|
|
|
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a,
|
2022-09-19 17:00:27 +08:00
|
|
|
0x53, 0x4f, 0x4e, 0x22, 0x57, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
2022-09-17 15:11:25 +08:00
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x57, 0x0a, 0x19,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55,
|
|
|
|
|
0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43,
|
2022-09-19 17:00:27 +08:00
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75,
|
|
|
|
|
0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x64,
|
|
|
|
|
0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x46, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53,
|
|
|
|
|
0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x46, 0x0a,
|
|
|
|
|
0x22, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x44,
|
|
|
|
|
0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63,
|
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
|
|
0x64, 0x64, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53,
|
|
|
|
|
0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x64, 0x64, 0x6f, 0x73, 0x50, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x78, 0x0a, 0x24,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44,
|
|
|
|
|
0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x64, 0x6f, 0x73, 0x50, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0c, 0x52, 0x12, 0x64, 0x64, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3d, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
|
|
|
0x28, 0x09, 0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x22, 0x46, 0x69, 0x6e,
|
|
|
|
|
0x64, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x53, 0x48, 0x6f, 0x73, 0x74,
|
|
|
|
|
0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
|
|
|
|
0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x53, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x46,
|
|
|
|
|
0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
|
|
|
|
0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68,
|
|
|
|
|
0x6f, 0x73, 0x74, 0x73, 0x22, 0x44, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e,
|
|
|
|
|
0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x21, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65,
|
|
|
|
|
0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
|
0x1e, 0x0a, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x22,
|
|
|
|
|
0x66, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65,
|
|
|
|
|
0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x6e, 0x73,
|
|
|
|
|
0x77, 0x65, 0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e,
|
|
|
|
|
0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x1e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f,
|
|
|
|
|
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x73, 0x6f, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73,
|
|
|
|
|
0x6f, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x5d, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
|
0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x73, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
|
|
|
|
0x6e, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73,
|
|
|
|
|
0x6f, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x6f,
|
|
|
|
|
0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xdd, 0x11, 0x0a, 0x10, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72,
|
|
|
|
|
0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
|
|
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12,
|
|
|
|
|
0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c,
|
|
|
|
|
0x6f, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
|
|
|
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74,
|
|
|
|
|
0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a,
|
|
|
|
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
|
|
|
|
|
0x44, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
|
|
|
|
|
0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
|
0x12, 0x47, 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e,
|
|
|
|
|
0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1c,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1e, 0x75,
|
|
|
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65,
|
|
|
|
|
0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x29, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
|
|
|
|
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x71, 0x0a, 0x1c, 0x66, 0x69, 0x6e, 0x64,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72,
|
|
|
|
|
0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43, 0x50, 0x43,
|
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
|
|
|
|
0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43, 0x50, 0x43, 0x6f,
|
|
|
|
|
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12,
|
|
|
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54,
|
|
|
|
|
0x43, 0x50, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
|
0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4c,
|
|
|
|
|
0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
|
|
|
0x72, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4c, 0x53,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
|
|
|
|
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61,
|
|
|
|
|
0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x12, 0x1d,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x74, 0x65, 0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a,
|
|
|
|
|
0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64,
|
|
|
|
|
0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43,
|
|
|
|
|
0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70,
|
|
|
|
|
0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x6e, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53,
|
|
|
|
|
0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x59, 0x0a, 0x1d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
|
|
|
|
|
0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x44, 0x6f, 0x53, 0x50, 0x72, 0x6f, 0x74,
|
|
|
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a,
|
|
|
|
|
0x12, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x6f,
|
|
|
|
|
0x73, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43,
|
|
|
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x4e, 0x53, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x69, 0x6c,
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x53, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6e, 0x64, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x53, 0x48, 0x6f,
|
|
|
|
|
0x73, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
|
|
|
|
|
0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
|
|
|
|
0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e,
|
|
|
|
|
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f,
|
|
|
|
|
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x1b,
|
|
|
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41,
|
|
|
|
|
0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x26, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
|
|
|
|
0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63,
|
|
|
|
|
0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75,
|
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x2e,
|
2022-09-23 19:02:21 +08:00
|
|
|
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
2022-09-24 14:07:59 +08:00
|
|
|
0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
|
|
|
|
|
0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
|
|
|
|
|
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
|
0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53, 0x43, 0x6c,
|
|
|
|
|
0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4f, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_service_ns_cluster_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_ns_cluster_proto_rawDescData = file_service_ns_cluster_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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(file_service_ns_cluster_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_service_ns_cluster_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
var file_service_ns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
|
2021-05-25 15:48:25 +08:00
|
|
|
var file_service_ns_cluster_proto_goTypes = []interface{}{
|
2022-08-04 16:25:00 +08:00
|
|
|
(*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
|
2022-08-06 20:29:26 +08:00
|
|
|
(*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
|
2022-08-04 16:25:00 +08:00
|
|
|
(*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
|
|
|
|
|
(*UpdateNSClusterTCPRequest)(nil), // 23: pb.UpdateNSClusterTCPRequest
|
|
|
|
|
(*UpdateNSClusterTLSRequest)(nil), // 24: pb.UpdateNSClusterTLSRequest
|
|
|
|
|
(*UpdateNSClusterUDPRequest)(nil), // 25: pb.UpdateNSClusterUDPRequest
|
|
|
|
|
(*CountAllNSClustersWithSSLCertIdRequest)(nil), // 26: pb.CountAllNSClustersWithSSLCertIdRequest
|
2022-08-22 15:10:48 +08:00
|
|
|
(*FindNSClusterDDoSProtectionRequest)(nil), // 27: pb.FindNSClusterDDoSProtectionRequest
|
|
|
|
|
(*FindNSClusterDDoSProtectionResponse)(nil), // 28: pb.FindNSClusterDDoSProtectionResponse
|
|
|
|
|
(*UpdateNSClusterDDoSProtectionRequest)(nil), // 29: pb.UpdateNSClusterDDoSProtectionRequest
|
2022-09-21 15:06:01 +08:00
|
|
|
(*FindNSClusterHostsRequest)(nil), // 30: pb.FindNSClusterHostsRequest
|
|
|
|
|
(*FindNSClusterHostsResponse)(nil), // 31: pb.FindNSClusterHostsResponse
|
|
|
|
|
(*FindAvailableNSHostsForUserRequest)(nil), // 32: pb.FindAvailableNSHostsForUserRequest
|
|
|
|
|
(*FindAvailableNSHostsForUserResponse)(nil), // 33: pb.FindAvailableNSHostsForUserResponse
|
2022-09-23 19:02:21 +08:00
|
|
|
(*FindNSClusterAnswerConfigRequest)(nil), // 34: pb.FindNSClusterAnswerConfigRequest
|
|
|
|
|
(*FindNSClusterAnswerConfigResponse)(nil), // 35: pb.FindNSClusterAnswerConfigResponse
|
|
|
|
|
(*UpdateNSClusterAnswerConfigRequest)(nil), // 36: pb.UpdateNSClusterAnswerConfigRequest
|
2022-09-24 14:07:59 +08:00
|
|
|
(*FindNSClusterSOAConfigRequest)(nil), // 37: pb.FindNSClusterSOAConfigRequest
|
|
|
|
|
(*FindNSClusterSOAConfigResponse)(nil), // 38: pb.FindNSClusterSOAConfigResponse
|
|
|
|
|
(*UpdateNSClusterSOAConfigRequest)(nil), // 39: pb.UpdateNSClusterSOAConfigRequest
|
|
|
|
|
(*NSCluster)(nil), // 40: pb.NSCluster
|
|
|
|
|
(*RPCSuccess)(nil), // 41: pb.RPCSuccess
|
|
|
|
|
(*RPCCountResponse)(nil), // 42: pb.RPCCountResponse
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
var file_service_ns_cluster_proto_depIdxs = []int32{
|
2022-09-24 14:07:59 +08:00
|
|
|
40, // 0: pb.FindNSClusterResponse.nsCluster:type_name -> pb.NSCluster
|
|
|
|
|
40, // 1: pb.ListNSClustersResponse.nsClusters:type_name -> pb.NSCluster
|
|
|
|
|
40, // 2: pb.FindAllNSClustersResponse.nsClusters:type_name -> pb.NSCluster
|
2021-05-25 15:48:25 +08:00
|
|
|
0, // 3: pb.NSClusterService.createNSCluster:input_type -> pb.CreateNSClusterRequest
|
|
|
|
|
2, // 4: pb.NSClusterService.updateNSCluster:input_type -> pb.UpdateNSClusterRequest
|
2021-06-02 11:53:15 +08:00
|
|
|
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
|
2022-08-06 20:29:26 +08:00
|
|
|
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
|
2021-08-23 09:59:43 +08:00
|
|
|
14, // 12: pb.NSClusterService.updateNSClusterRecursionConfig:input_type -> pb.UpdateNSClusterRecursionConfigRequest
|
|
|
|
|
15, // 13: pb.NSClusterService.findNSClusterRecursionConfig:input_type -> pb.FindNSClusterRecursionConfigRequest
|
2022-07-27 16:56:32 +08:00
|
|
|
17, // 14: pb.NSClusterService.findNSClusterTCPConfig:input_type -> pb.FindNSClusterTCPConfigRequest
|
|
|
|
|
23, // 15: pb.NSClusterService.updateNSClusterTCP:input_type -> pb.UpdateNSClusterTCPRequest
|
|
|
|
|
19, // 16: pb.NSClusterService.findNSClusterTLSConfig:input_type -> pb.FindNSClusterTLSConfigRequest
|
|
|
|
|
24, // 17: pb.NSClusterService.updateNSClusterTLS:input_type -> pb.UpdateNSClusterTLSRequest
|
|
|
|
|
21, // 18: pb.NSClusterService.findNSClusterUDPConfig:input_type -> pb.FindNSClusterUDPConfigRequest
|
|
|
|
|
25, // 19: pb.NSClusterService.updateNSClusterUDP:input_type -> pb.UpdateNSClusterUDPRequest
|
2022-08-04 16:25:00 +08:00
|
|
|
26, // 20: pb.NSClusterService.countAllNSClustersWithSSLCertId:input_type -> pb.CountAllNSClustersWithSSLCertIdRequest
|
2022-08-22 15:10:48 +08:00
|
|
|
27, // 21: pb.NSClusterService.findNSClusterDDoSProtection:input_type -> pb.FindNSClusterDDoSProtectionRequest
|
|
|
|
|
29, // 22: pb.NSClusterService.updateNSClusterDDoSProtection:input_type -> pb.UpdateNSClusterDDoSProtectionRequest
|
2022-09-21 15:06:01 +08:00
|
|
|
30, // 23: pb.NSClusterService.findNSClusterHosts:input_type -> pb.FindNSClusterHostsRequest
|
|
|
|
|
32, // 24: pb.NSClusterService.findAvailableNSHostsForUser:input_type -> pb.FindAvailableNSHostsForUserRequest
|
2022-09-23 19:02:21 +08:00
|
|
|
34, // 25: pb.NSClusterService.findNSClusterAnswerConfig:input_type -> pb.FindNSClusterAnswerConfigRequest
|
|
|
|
|
36, // 26: pb.NSClusterService.updateNSClusterAnswerConfig:input_type -> pb.UpdateNSClusterAnswerConfigRequest
|
2022-09-24 14:07:59 +08:00
|
|
|
37, // 27: pb.NSClusterService.findNSClusterSOAConfig:input_type -> pb.FindNSClusterSOAConfigRequest
|
|
|
|
|
39, // 28: pb.NSClusterService.updateNSClusterSOAConfig:input_type -> pb.UpdateNSClusterSOAConfigRequest
|
|
|
|
|
1, // 29: pb.NSClusterService.createNSCluster:output_type -> pb.CreateNSClusterResponse
|
|
|
|
|
41, // 30: pb.NSClusterService.updateNSCluster:output_type -> pb.RPCSuccess
|
|
|
|
|
4, // 31: pb.NSClusterService.findNSClusterAccessLog:output_type -> pb.FindNSClusterAccessLogResponse
|
|
|
|
|
41, // 32: pb.NSClusterService.updateNSClusterAccessLog:output_type -> pb.RPCSuccess
|
|
|
|
|
41, // 33: pb.NSClusterService.deleteNSCluster:output_type -> pb.RPCSuccess
|
|
|
|
|
8, // 34: pb.NSClusterService.findNSCluster:output_type -> pb.FindNSClusterResponse
|
|
|
|
|
42, // 35: pb.NSClusterService.countAllNSClusters:output_type -> pb.RPCCountResponse
|
|
|
|
|
11, // 36: pb.NSClusterService.listNSClusters:output_type -> pb.ListNSClustersResponse
|
|
|
|
|
13, // 37: pb.NSClusterService.findAllNSClusters:output_type -> pb.FindAllNSClustersResponse
|
|
|
|
|
41, // 38: pb.NSClusterService.updateNSClusterRecursionConfig:output_type -> pb.RPCSuccess
|
|
|
|
|
16, // 39: pb.NSClusterService.findNSClusterRecursionConfig:output_type -> pb.FindNSClusterRecursionConfigResponse
|
|
|
|
|
18, // 40: pb.NSClusterService.findNSClusterTCPConfig:output_type -> pb.FindNSClusterTCPConfigResponse
|
|
|
|
|
41, // 41: pb.NSClusterService.updateNSClusterTCP:output_type -> pb.RPCSuccess
|
|
|
|
|
20, // 42: pb.NSClusterService.findNSClusterTLSConfig:output_type -> pb.FindNSClusterTLSConfigResponse
|
|
|
|
|
41, // 43: pb.NSClusterService.updateNSClusterTLS:output_type -> pb.RPCSuccess
|
|
|
|
|
22, // 44: pb.NSClusterService.findNSClusterUDPConfig:output_type -> pb.FindNSClusterUDPConfigResponse
|
|
|
|
|
41, // 45: pb.NSClusterService.updateNSClusterUDP:output_type -> pb.RPCSuccess
|
|
|
|
|
42, // 46: pb.NSClusterService.countAllNSClustersWithSSLCertId:output_type -> pb.RPCCountResponse
|
|
|
|
|
28, // 47: pb.NSClusterService.findNSClusterDDoSProtection:output_type -> pb.FindNSClusterDDoSProtectionResponse
|
|
|
|
|
41, // 48: pb.NSClusterService.updateNSClusterDDoSProtection:output_type -> pb.RPCSuccess
|
|
|
|
|
31, // 49: pb.NSClusterService.findNSClusterHosts:output_type -> pb.FindNSClusterHostsResponse
|
|
|
|
|
33, // 50: pb.NSClusterService.findAvailableNSHostsForUser:output_type -> pb.FindAvailableNSHostsForUserResponse
|
|
|
|
|
35, // 51: pb.NSClusterService.findNSClusterAnswerConfig:output_type -> pb.FindNSClusterAnswerConfigResponse
|
|
|
|
|
41, // 52: pb.NSClusterService.updateNSClusterAnswerConfig:output_type -> pb.RPCSuccess
|
|
|
|
|
38, // 53: pb.NSClusterService.findNSClusterSOAConfig:output_type -> pb.FindNSClusterSOAConfigResponse
|
|
|
|
|
41, // 54: pb.NSClusterService.updateNSClusterSOAConfig:output_type -> pb.RPCSuccess
|
|
|
|
|
29, // [29:55] is the sub-list for method output_type
|
|
|
|
|
3, // [3:29] is the sub-list for method input_type
|
2021-05-25 15:48:25 +08:00
|
|
|
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()
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNSClusterRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateNSClusterResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-02 11:53:15 +08:00
|
|
|
switch v := v.(*FindNSClusterAccessLogRequest); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-02 11:53:15 +08:00
|
|
|
switch v := v.(*FindNSClusterAccessLogResponse); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-02 11:53:15 +08:00
|
|
|
switch v := v.(*UpdateNSClusterAccessLogRequest); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2021-06-02 11:53:15 +08:00
|
|
|
switch v := v.(*DeleteNSCluster); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*FindNSClusterRequest); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*FindNSClusterResponse); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*CountAllNSClustersRequest); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*ListNSClustersRequest); i {
|
2021-06-02 11:53:15 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*ListNSClustersResponse); i {
|
2021-06-02 11:53:15 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*FindAllNSClustersRequest); i {
|
2021-06-02 11:53:15 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2022-08-06 20:29:26 +08:00
|
|
|
switch v := v.(*FindAllNSClustersResponse); i {
|
2021-05-25 15:48:25 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-08-23 09:59:43 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterRecursionConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterRecursionConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterRecursionConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-07-27 16:56:32 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterTCPConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterTCPConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterTLSConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterTLSConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterUDPConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterUDPConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterTCPRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterTLSRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterUDPRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-08-04 16:25:00 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CountAllNSClustersWithSSLCertIdRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-08-22 15:10:48 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterDDoSProtectionRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterDDoSProtectionResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterDDoSProtectionRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-10 16:13:26 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-21 15:06:01 +08:00
|
|
|
switch v := v.(*FindNSClusterHostsRequest); i {
|
2022-09-10 16:13:26 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-21 15:06:01 +08:00
|
|
|
switch v := v.(*FindNSClusterHostsResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindAvailableNSHostsForUserRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
2022-09-10 16:13:26 +08:00
|
|
|
switch v := v.(*FindAvailableNSHostsForUserResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-23 19:02:21 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterAnswerConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterAnswerConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterAnswerConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-24 14:07:59 +08:00
|
|
|
file_service_ns_cluster_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterSOAConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FindNSClusterSOAConfigResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_ns_cluster_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*UpdateNSClusterSOAConfigRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_service_ns_cluster_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
2022-09-24 14:07:59 +08:00
|
|
|
NumMessages: 40,
|
2021-05-25 15:48:25 +08:00
|
|
|
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_rawDesc = nil
|
|
|
|
|
file_service_ns_cluster_proto_goTypes = nil
|
|
|
|
|
file_service_ns_cluster_proto_depIdxs = nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ context.Context
|
|
|
|
|
var _ grpc.ClientConnInterface
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
|
|
|
|
|
// NSClusterServiceClient is the client API for NSClusterService service.
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type NSClusterServiceClient interface {
|
|
|
|
|
// 创建集群
|
|
|
|
|
CreateNSCluster(ctx context.Context, in *CreateNSClusterRequest, opts ...grpc.CallOption) (*CreateNSClusterResponse, error)
|
|
|
|
|
// 修改集群
|
|
|
|
|
UpdateNSCluster(ctx context.Context, in *UpdateNSClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2021-06-02 11:53:15 +08:00
|
|
|
// 查找集群访问日志配置
|
|
|
|
|
FindNSClusterAccessLog(ctx context.Context, in *FindNSClusterAccessLogRequest, opts ...grpc.CallOption) (*FindNSClusterAccessLogResponse, error)
|
|
|
|
|
// 修改集群访问日志配置
|
|
|
|
|
UpdateNSClusterAccessLog(ctx context.Context, in *UpdateNSClusterAccessLogRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 删除集群
|
|
|
|
|
DeleteNSCluster(ctx context.Context, in *DeleteNSCluster, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 查找单个可用集群信息
|
2022-08-06 20:29:26 +08:00
|
|
|
FindNSCluster(ctx context.Context, in *FindNSClusterRequest, opts ...grpc.CallOption) (*FindNSClusterResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 计算所有可用集群的数量
|
2022-08-06 20:29:26 +08:00
|
|
|
CountAllNSClusters(ctx context.Context, in *CountAllNSClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 列出单页可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
ListNSClusters(ctx context.Context, in *ListNSClustersRequest, opts ...grpc.CallOption) (*ListNSClustersResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 查找所有可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
FindAllNSClusters(ctx context.Context, in *FindAllNSClustersRequest, opts ...grpc.CallOption) (*FindAllNSClustersResponse, error)
|
2021-08-23 09:59:43 +08:00
|
|
|
// 设置递归DNS配置
|
|
|
|
|
UpdateNSClusterRecursionConfig(ctx context.Context, in *UpdateNSClusterRecursionConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 读取递归DNS配置
|
|
|
|
|
FindNSClusterRecursionConfig(ctx context.Context, in *FindNSClusterRecursionConfigRequest, opts ...grpc.CallOption) (*FindNSClusterRecursionConfigResponse, error)
|
2022-07-27 16:56:32 +08:00
|
|
|
// 查找集群的TCP设置
|
|
|
|
|
FindNSClusterTCPConfig(ctx context.Context, in *FindNSClusterTCPConfigRequest, opts ...grpc.CallOption) (*FindNSClusterTCPConfigResponse, error)
|
|
|
|
|
// 修改集群的TCP设置
|
|
|
|
|
UpdateNSClusterTCP(ctx context.Context, in *UpdateNSClusterTCPRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 查找集群的TLS设置
|
|
|
|
|
FindNSClusterTLSConfig(ctx context.Context, in *FindNSClusterTLSConfigRequest, opts ...grpc.CallOption) (*FindNSClusterTLSConfigResponse, error)
|
|
|
|
|
// 修改集群的TLS设置
|
|
|
|
|
UpdateNSClusterTLS(ctx context.Context, in *UpdateNSClusterTLSRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 查找集群的UDP设置
|
|
|
|
|
FindNSClusterUDPConfig(ctx context.Context, in *FindNSClusterUDPConfigRequest, opts ...grpc.CallOption) (*FindNSClusterUDPConfigResponse, error)
|
|
|
|
|
// 修改集群的UDP设置
|
|
|
|
|
UpdateNSClusterUDP(ctx context.Context, in *UpdateNSClusterUDPRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-08-04 16:25:00 +08:00
|
|
|
// 计算使用某个SSL证书的集群数量
|
|
|
|
|
CountAllNSClustersWithSSLCertId(ctx context.Context, in *CountAllNSClustersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
|
2022-08-22 15:10:48 +08:00
|
|
|
// 获取NS集群的DDoS设置
|
|
|
|
|
FindNSClusterDDoSProtection(ctx context.Context, in *FindNSClusterDDoSProtectionRequest, opts ...grpc.CallOption) (*FindNSClusterDDoSProtectionResponse, error)
|
|
|
|
|
// 修改NS集群的DDoS设置
|
|
|
|
|
UpdateNSClusterDDoSProtection(ctx context.Context, in *UpdateNSClusterDDoSProtectionRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-09-21 15:06:01 +08:00
|
|
|
// 查找NS集群的主机地址
|
|
|
|
|
FindNSClusterHosts(ctx context.Context, in *FindNSClusterHostsRequest, opts ...grpc.CallOption) (*FindNSClusterHostsResponse, error)
|
2022-09-10 16:13:26 +08:00
|
|
|
// 查找用户可以使用的主机地址
|
|
|
|
|
FindAvailableNSHostsForUser(ctx context.Context, in *FindAvailableNSHostsForUserRequest, opts ...grpc.CallOption) (*FindAvailableNSHostsForUserResponse, error)
|
2022-09-23 19:02:21 +08:00
|
|
|
// 查找应答模式
|
|
|
|
|
FindNSClusterAnswerConfig(ctx context.Context, in *FindNSClusterAnswerConfigRequest, opts ...grpc.CallOption) (*FindNSClusterAnswerConfigResponse, error)
|
|
|
|
|
// 设置应答模式
|
|
|
|
|
UpdateNSClusterAnswerConfig(ctx context.Context, in *UpdateNSClusterAnswerConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-09-24 14:07:59 +08:00
|
|
|
// 查找SOA配置
|
|
|
|
|
FindNSClusterSOAConfig(ctx context.Context, in *FindNSClusterSOAConfigRequest, opts ...grpc.CallOption) (*FindNSClusterSOAConfigResponse, error)
|
|
|
|
|
// 设置SOA配置
|
|
|
|
|
UpdateNSClusterSOAConfig(ctx context.Context, in *UpdateNSClusterSOAConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type nSClusterServiceClient struct {
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewNSClusterServiceClient(cc grpc.ClientConnInterface) NSClusterServiceClient {
|
|
|
|
|
return &nSClusterServiceClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) CreateNSCluster(ctx context.Context, in *CreateNSClusterRequest, opts ...grpc.CallOption) (*CreateNSClusterResponse, error) {
|
|
|
|
|
out := new(CreateNSClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/createNSCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSCluster(ctx context.Context, in *UpdateNSClusterRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-02 11:53:15 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterAccessLog(ctx context.Context, in *FindNSClusterAccessLogRequest, opts ...grpc.CallOption) (*FindNSClusterAccessLogResponse, error) {
|
|
|
|
|
out := new(FindNSClusterAccessLogResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterAccessLog", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterAccessLog(ctx context.Context, in *UpdateNSClusterAccessLogRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterAccessLog", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
func (c *nSClusterServiceClient) DeleteNSCluster(ctx context.Context, in *DeleteNSCluster, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/deleteNSCluster", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSCluster(ctx context.Context, in *FindNSClusterRequest, opts ...grpc.CallOption) (*FindNSClusterResponse, error) {
|
|
|
|
|
out := new(FindNSClusterResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSCluster", in, out, opts...)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSClusterServiceClient) CountAllNSClusters(ctx context.Context, in *CountAllNSClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
2021-05-25 15:48:25 +08:00
|
|
|
out := new(RPCCountResponse)
|
2022-08-06 20:29:26 +08:00
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/countAllNSClusters", in, out, opts...)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSClusterServiceClient) ListNSClusters(ctx context.Context, in *ListNSClustersRequest, opts ...grpc.CallOption) (*ListNSClustersResponse, error) {
|
|
|
|
|
out := new(ListNSClustersResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/listNSClusters", in, out, opts...)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func (c *nSClusterServiceClient) FindAllNSClusters(ctx context.Context, in *FindAllNSClustersRequest, opts ...grpc.CallOption) (*FindAllNSClustersResponse, error) {
|
|
|
|
|
out := new(FindAllNSClustersResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findAllNSClusters", in, out, opts...)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-23 09:59:43 +08:00
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterRecursionConfig(ctx context.Context, in *UpdateNSClusterRecursionConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterRecursionConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) FindNSClusterRecursionConfig(ctx context.Context, in *FindNSClusterRecursionConfigRequest, opts ...grpc.CallOption) (*FindNSClusterRecursionConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterRecursionConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterRecursionConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-27 16:56:32 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterTCPConfig(ctx context.Context, in *FindNSClusterTCPConfigRequest, opts ...grpc.CallOption) (*FindNSClusterTCPConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterTCPConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterTCPConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterTCP(ctx context.Context, in *UpdateNSClusterTCPRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterTCP", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) FindNSClusterTLSConfig(ctx context.Context, in *FindNSClusterTLSConfigRequest, opts ...grpc.CallOption) (*FindNSClusterTLSConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterTLSConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterTLSConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterTLS(ctx context.Context, in *UpdateNSClusterTLSRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterTLS", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) FindNSClusterUDPConfig(ctx context.Context, in *FindNSClusterUDPConfigRequest, opts ...grpc.CallOption) (*FindNSClusterUDPConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterUDPConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterUDPConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterUDP(ctx context.Context, in *UpdateNSClusterUDPRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterUDP", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-04 16:25:00 +08:00
|
|
|
func (c *nSClusterServiceClient) CountAllNSClustersWithSSLCertId(ctx context.Context, in *CountAllNSClustersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
|
|
|
|
|
out := new(RPCCountResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/countAllNSClustersWithSSLCertId", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-22 15:10:48 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterDDoSProtection(ctx context.Context, in *FindNSClusterDDoSProtectionRequest, opts ...grpc.CallOption) (*FindNSClusterDDoSProtectionResponse, error) {
|
|
|
|
|
out := new(FindNSClusterDDoSProtectionResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterDDoSProtection", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterDDoSProtection(ctx context.Context, in *UpdateNSClusterDDoSProtectionRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterDDoSProtection", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-21 15:06:01 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterHosts(ctx context.Context, in *FindNSClusterHostsRequest, opts ...grpc.CallOption) (*FindNSClusterHostsResponse, error) {
|
|
|
|
|
out := new(FindNSClusterHostsResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterHosts", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
func (c *nSClusterServiceClient) FindAvailableNSHostsForUser(ctx context.Context, in *FindAvailableNSHostsForUserRequest, opts ...grpc.CallOption) (*FindAvailableNSHostsForUserResponse, error) {
|
|
|
|
|
out := new(FindAvailableNSHostsForUserResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findAvailableNSHostsForUser", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-23 19:02:21 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterAnswerConfig(ctx context.Context, in *FindNSClusterAnswerConfigRequest, opts ...grpc.CallOption) (*FindNSClusterAnswerConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterAnswerConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterAnswerConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterAnswerConfig(ctx context.Context, in *UpdateNSClusterAnswerConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterAnswerConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
func (c *nSClusterServiceClient) FindNSClusterSOAConfig(ctx context.Context, in *FindNSClusterSOAConfigRequest, opts ...grpc.CallOption) (*FindNSClusterSOAConfigResponse, error) {
|
|
|
|
|
out := new(FindNSClusterSOAConfigResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/findNSClusterSOAConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *nSClusterServiceClient) UpdateNSClusterSOAConfig(ctx context.Context, in *UpdateNSClusterSOAConfigRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.NSClusterService/updateNSClusterSOAConfig", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
// NSClusterServiceServer is the server API for NSClusterService service.
|
|
|
|
|
type NSClusterServiceServer interface {
|
|
|
|
|
// 创建集群
|
|
|
|
|
CreateNSCluster(context.Context, *CreateNSClusterRequest) (*CreateNSClusterResponse, error)
|
|
|
|
|
// 修改集群
|
|
|
|
|
UpdateNSCluster(context.Context, *UpdateNSClusterRequest) (*RPCSuccess, error)
|
2021-06-02 11:53:15 +08:00
|
|
|
// 查找集群访问日志配置
|
|
|
|
|
FindNSClusterAccessLog(context.Context, *FindNSClusterAccessLogRequest) (*FindNSClusterAccessLogResponse, error)
|
|
|
|
|
// 修改集群访问日志配置
|
|
|
|
|
UpdateNSClusterAccessLog(context.Context, *UpdateNSClusterAccessLogRequest) (*RPCSuccess, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 删除集群
|
|
|
|
|
DeleteNSCluster(context.Context, *DeleteNSCluster) (*RPCSuccess, error)
|
|
|
|
|
// 查找单个可用集群信息
|
2022-08-06 20:29:26 +08:00
|
|
|
FindNSCluster(context.Context, *FindNSClusterRequest) (*FindNSClusterResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 计算所有可用集群的数量
|
2022-08-06 20:29:26 +08:00
|
|
|
CountAllNSClusters(context.Context, *CountAllNSClustersRequest) (*RPCCountResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 列出单页可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
ListNSClusters(context.Context, *ListNSClustersRequest) (*ListNSClustersResponse, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
// 查找所有可用集群
|
2022-08-06 20:29:26 +08:00
|
|
|
FindAllNSClusters(context.Context, *FindAllNSClustersRequest) (*FindAllNSClustersResponse, error)
|
2021-08-23 09:59:43 +08:00
|
|
|
// 设置递归DNS配置
|
|
|
|
|
UpdateNSClusterRecursionConfig(context.Context, *UpdateNSClusterRecursionConfigRequest) (*RPCSuccess, error)
|
|
|
|
|
// 读取递归DNS配置
|
|
|
|
|
FindNSClusterRecursionConfig(context.Context, *FindNSClusterRecursionConfigRequest) (*FindNSClusterRecursionConfigResponse, error)
|
2022-07-27 16:56:32 +08:00
|
|
|
// 查找集群的TCP设置
|
|
|
|
|
FindNSClusterTCPConfig(context.Context, *FindNSClusterTCPConfigRequest) (*FindNSClusterTCPConfigResponse, error)
|
|
|
|
|
// 修改集群的TCP设置
|
|
|
|
|
UpdateNSClusterTCP(context.Context, *UpdateNSClusterTCPRequest) (*RPCSuccess, error)
|
|
|
|
|
// 查找集群的TLS设置
|
|
|
|
|
FindNSClusterTLSConfig(context.Context, *FindNSClusterTLSConfigRequest) (*FindNSClusterTLSConfigResponse, error)
|
|
|
|
|
// 修改集群的TLS设置
|
|
|
|
|
UpdateNSClusterTLS(context.Context, *UpdateNSClusterTLSRequest) (*RPCSuccess, error)
|
|
|
|
|
// 查找集群的UDP设置
|
|
|
|
|
FindNSClusterUDPConfig(context.Context, *FindNSClusterUDPConfigRequest) (*FindNSClusterUDPConfigResponse, error)
|
|
|
|
|
// 修改集群的UDP设置
|
|
|
|
|
UpdateNSClusterUDP(context.Context, *UpdateNSClusterUDPRequest) (*RPCSuccess, error)
|
2022-08-04 16:25:00 +08:00
|
|
|
// 计算使用某个SSL证书的集群数量
|
|
|
|
|
CountAllNSClustersWithSSLCertId(context.Context, *CountAllNSClustersWithSSLCertIdRequest) (*RPCCountResponse, error)
|
2022-08-22 15:10:48 +08:00
|
|
|
// 获取NS集群的DDoS设置
|
|
|
|
|
FindNSClusterDDoSProtection(context.Context, *FindNSClusterDDoSProtectionRequest) (*FindNSClusterDDoSProtectionResponse, error)
|
|
|
|
|
// 修改NS集群的DDoS设置
|
|
|
|
|
UpdateNSClusterDDoSProtection(context.Context, *UpdateNSClusterDDoSProtectionRequest) (*RPCSuccess, error)
|
2022-09-21 15:06:01 +08:00
|
|
|
// 查找NS集群的主机地址
|
|
|
|
|
FindNSClusterHosts(context.Context, *FindNSClusterHostsRequest) (*FindNSClusterHostsResponse, error)
|
2022-09-10 16:13:26 +08:00
|
|
|
// 查找用户可以使用的主机地址
|
|
|
|
|
FindAvailableNSHostsForUser(context.Context, *FindAvailableNSHostsForUserRequest) (*FindAvailableNSHostsForUserResponse, error)
|
2022-09-23 19:02:21 +08:00
|
|
|
// 查找应答模式
|
|
|
|
|
FindNSClusterAnswerConfig(context.Context, *FindNSClusterAnswerConfigRequest) (*FindNSClusterAnswerConfigResponse, error)
|
|
|
|
|
// 设置应答模式
|
|
|
|
|
UpdateNSClusterAnswerConfig(context.Context, *UpdateNSClusterAnswerConfigRequest) (*RPCSuccess, error)
|
2022-09-24 14:07:59 +08:00
|
|
|
// 查找SOA配置
|
|
|
|
|
FindNSClusterSOAConfig(context.Context, *FindNSClusterSOAConfigRequest) (*FindNSClusterSOAConfigResponse, error)
|
|
|
|
|
// 设置SOA配置
|
|
|
|
|
UpdateNSClusterSOAConfig(context.Context, *UpdateNSClusterSOAConfigRequest) (*RPCSuccess, error)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedNSClusterServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
type UnimplementedNSClusterServiceServer struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) CreateNSCluster(context.Context, *CreateNSClusterRequest) (*CreateNSClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNSCluster not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSCluster(context.Context, *UpdateNSClusterRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSCluster not implemented")
|
|
|
|
|
}
|
2021-06-02 11:53:15 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterAccessLog(context.Context, *FindNSClusterAccessLogRequest) (*FindNSClusterAccessLogResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterAccessLog not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterAccessLog(context.Context, *UpdateNSClusterAccessLogRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterAccessLog not implemented")
|
|
|
|
|
}
|
2021-05-25 15:48:25 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) DeleteNSCluster(context.Context, *DeleteNSCluster) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSCluster not implemented")
|
|
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSCluster(context.Context, *FindNSClusterRequest) (*FindNSClusterResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSCluster not implemented")
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) CountAllNSClusters(context.Context, *CountAllNSClustersRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSClusters not implemented")
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) ListNSClusters(context.Context, *ListNSClustersRequest) (*ListNSClustersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ListNSClusters not implemented")
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
2022-08-06 20:29:26 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindAllNSClusters(context.Context, *FindAllNSClustersRequest) (*FindAllNSClustersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAllNSClusters not implemented")
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
2021-08-23 09:59:43 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterRecursionConfig(context.Context, *UpdateNSClusterRecursionConfigRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterRecursionConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterRecursionConfig(context.Context, *FindNSClusterRecursionConfigRequest) (*FindNSClusterRecursionConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterRecursionConfig not implemented")
|
|
|
|
|
}
|
2022-07-27 16:56:32 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterTCPConfig(context.Context, *FindNSClusterTCPConfigRequest) (*FindNSClusterTCPConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterTCPConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterTCP(context.Context, *UpdateNSClusterTCPRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterTCP not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterTLSConfig(context.Context, *FindNSClusterTLSConfigRequest) (*FindNSClusterTLSConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterTLSConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterTLS(context.Context, *UpdateNSClusterTLSRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterTLS not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterUDPConfig(context.Context, *FindNSClusterUDPConfigRequest) (*FindNSClusterUDPConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterUDPConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterUDP(context.Context, *UpdateNSClusterUDPRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterUDP not implemented")
|
|
|
|
|
}
|
2022-08-04 16:25:00 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) CountAllNSClustersWithSSLCertId(context.Context, *CountAllNSClustersWithSSLCertIdRequest) (*RPCCountResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CountAllNSClustersWithSSLCertId not implemented")
|
|
|
|
|
}
|
2022-08-22 15:10:48 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterDDoSProtection(context.Context, *FindNSClusterDDoSProtectionRequest) (*FindNSClusterDDoSProtectionResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterDDoSProtection not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterDDoSProtection(context.Context, *UpdateNSClusterDDoSProtectionRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterDDoSProtection not implemented")
|
|
|
|
|
}
|
2022-09-21 15:06:01 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterHosts(context.Context, *FindNSClusterHostsRequest) (*FindNSClusterHostsResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterHosts not implemented")
|
|
|
|
|
}
|
2022-09-10 16:13:26 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindAvailableNSHostsForUser(context.Context, *FindAvailableNSHostsForUserRequest) (*FindAvailableNSHostsForUserResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindAvailableNSHostsForUser not implemented")
|
|
|
|
|
}
|
2022-09-23 19:02:21 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterAnswerConfig(context.Context, *FindNSClusterAnswerConfigRequest) (*FindNSClusterAnswerConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterAnswerConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterAnswerConfig(context.Context, *UpdateNSClusterAnswerConfigRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterAnswerConfig not implemented")
|
|
|
|
|
}
|
2022-09-24 14:07:59 +08:00
|
|
|
func (*UnimplementedNSClusterServiceServer) FindNSClusterSOAConfig(context.Context, *FindNSClusterSOAConfigRequest) (*FindNSClusterSOAConfigResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindNSClusterSOAConfig not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedNSClusterServiceServer) UpdateNSClusterSOAConfig(context.Context, *UpdateNSClusterSOAConfigRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSClusterSOAConfig not implemented")
|
|
|
|
|
}
|
2021-05-25 15:48:25 +08:00
|
|
|
|
|
|
|
|
func RegisterNSClusterServiceServer(s *grpc.Server, srv NSClusterServiceServer) {
|
|
|
|
|
s.RegisterService(&_NSClusterService_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_CreateNSCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateNSClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).CreateNSCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/CreateNSCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).CreateNSCluster(ctx, req.(*CreateNSClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSCluster(ctx, req.(*UpdateNSClusterRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-02 11:53:15 +08:00
|
|
|
func _NSClusterService_FindNSClusterAccessLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterAccessLogRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterAccessLog(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterAccessLog",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterAccessLog(ctx, req.(*FindNSClusterAccessLogRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterAccessLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterAccessLogRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterAccessLog(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterAccessLog",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterAccessLog(ctx, req.(*UpdateNSClusterAccessLogRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
func _NSClusterService_DeleteNSCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(DeleteNSCluster)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).DeleteNSCluster(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/DeleteNSCluster",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).DeleteNSCluster(ctx, req.(*DeleteNSCluster))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSClusterService_FindNSCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterRequest)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).FindNSCluster(ctx, in)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSClusterService/FindNSCluster",
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).FindNSCluster(ctx, req.(*FindNSClusterRequest))
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSClusterService_CountAllNSClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllNSClustersRequest)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).CountAllNSClusters(ctx, in)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSClusterService/CountAllNSClusters",
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).CountAllNSClusters(ctx, req.(*CountAllNSClustersRequest))
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSClusterService_ListNSClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ListNSClustersRequest)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).ListNSClusters(ctx, in)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSClusterService/ListNSClusters",
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).ListNSClusters(ctx, req.(*ListNSClustersRequest))
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-06 20:29:26 +08:00
|
|
|
func _NSClusterService_FindAllNSClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAllNSClustersRequest)
|
2021-05-25 15:48:25 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).FindAllNSClusters(ctx, in)
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-08-06 20:29:26 +08:00
|
|
|
FullMethod: "/pb.NSClusterService/FindAllNSClusters",
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-08-06 20:29:26 +08:00
|
|
|
return srv.(NSClusterServiceServer).FindAllNSClusters(ctx, req.(*FindAllNSClustersRequest))
|
2021-05-25 15:48:25 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-23 09:59:43 +08:00
|
|
|
func _NSClusterService_UpdateNSClusterRecursionConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterRecursionConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterRecursionConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterRecursionConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterRecursionConfig(ctx, req.(*UpdateNSClusterRecursionConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_FindNSClusterRecursionConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterRecursionConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterRecursionConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterRecursionConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterRecursionConfig(ctx, req.(*FindNSClusterRecursionConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-27 16:56:32 +08:00
|
|
|
func _NSClusterService_FindNSClusterTCPConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterTCPConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterTCPConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterTCPConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterTCPConfig(ctx, req.(*FindNSClusterTCPConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterTCP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterTCPRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterTCP(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterTCP",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterTCP(ctx, req.(*UpdateNSClusterTCPRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_FindNSClusterTLSConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterTLSConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterTLSConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterTLSConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterTLSConfig(ctx, req.(*FindNSClusterTLSConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterTLS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterTLSRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterTLS(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterTLS",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterTLS(ctx, req.(*UpdateNSClusterTLSRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_FindNSClusterUDPConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterUDPConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterUDPConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterUDPConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterUDPConfig(ctx, req.(*FindNSClusterUDPConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterUDP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterUDPRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterUDP(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterUDP",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterUDP(ctx, req.(*UpdateNSClusterUDPRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-04 16:25:00 +08:00
|
|
|
func _NSClusterService_CountAllNSClustersWithSSLCertId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CountAllNSClustersWithSSLCertIdRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).CountAllNSClustersWithSSLCertId(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/CountAllNSClustersWithSSLCertId",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).CountAllNSClustersWithSSLCertId(ctx, req.(*CountAllNSClustersWithSSLCertIdRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-22 15:10:48 +08:00
|
|
|
func _NSClusterService_FindNSClusterDDoSProtection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterDDoSProtectionRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterDDoSProtection(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterDDoSProtection",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterDDoSProtection(ctx, req.(*FindNSClusterDDoSProtectionRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterDDoSProtection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterDDoSProtectionRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterDDoSProtection(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterDDoSProtection",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterDDoSProtection(ctx, req.(*UpdateNSClusterDDoSProtectionRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-21 15:06:01 +08:00
|
|
|
func _NSClusterService_FindNSClusterHosts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterHostsRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterHosts(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterHosts",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterHosts(ctx, req.(*FindNSClusterHostsRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-10 16:13:26 +08:00
|
|
|
func _NSClusterService_FindAvailableNSHostsForUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindAvailableNSHostsForUserRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindAvailableNSHostsForUser(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindAvailableNSHostsForUser",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindAvailableNSHostsForUser(ctx, req.(*FindAvailableNSHostsForUserRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-23 19:02:21 +08:00
|
|
|
func _NSClusterService_FindNSClusterAnswerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterAnswerConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterAnswerConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterAnswerConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterAnswerConfig(ctx, req.(*FindNSClusterAnswerConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterAnswerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterAnswerConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterAnswerConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterAnswerConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterAnswerConfig(ctx, req.(*UpdateNSClusterAnswerConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-24 14:07:59 +08:00
|
|
|
func _NSClusterService_FindNSClusterSOAConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindNSClusterSOAConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterSOAConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/FindNSClusterSOAConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).FindNSClusterSOAConfig(ctx, req.(*FindNSClusterSOAConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _NSClusterService_UpdateNSClusterSOAConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateNSClusterSOAConfigRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterSOAConfig(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.NSClusterService/UpdateNSClusterSOAConfig",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(NSClusterServiceServer).UpdateNSClusterSOAConfig(ctx, req.(*UpdateNSClusterSOAConfigRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-25 15:48:25 +08:00
|
|
|
var _NSClusterService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "pb.NSClusterService",
|
|
|
|
|
HandlerType: (*NSClusterServiceServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "createNSCluster",
|
|
|
|
|
Handler: _NSClusterService_CreateNSCluster_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSCluster",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSCluster_Handler,
|
|
|
|
|
},
|
2021-06-02 11:53:15 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterAccessLog",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterAccessLog_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterAccessLog",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterAccessLog_Handler,
|
|
|
|
|
},
|
2021-05-25 15:48:25 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "deleteNSCluster",
|
|
|
|
|
Handler: _NSClusterService_DeleteNSCluster_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "findNSCluster",
|
|
|
|
|
Handler: _NSClusterService_FindNSCluster_Handler,
|
2021-05-25 15:48:25 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "countAllNSClusters",
|
|
|
|
|
Handler: _NSClusterService_CountAllNSClusters_Handler,
|
2021-05-25 15:48:25 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "listNSClusters",
|
|
|
|
|
Handler: _NSClusterService_ListNSClusters_Handler,
|
2021-05-25 15:48:25 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-08-06 20:29:26 +08:00
|
|
|
MethodName: "findAllNSClusters",
|
|
|
|
|
Handler: _NSClusterService_FindAllNSClusters_Handler,
|
2021-05-25 15:48:25 +08:00
|
|
|
},
|
2021-08-23 09:59:43 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterRecursionConfig",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterRecursionConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterRecursionConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterRecursionConfig_Handler,
|
|
|
|
|
},
|
2022-07-27 16:56:32 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterTCPConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterTCPConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterTCP",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterTCP_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterTLSConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterTLSConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterTLS",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterTLS_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterUDPConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterUDPConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterUDP",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterUDP_Handler,
|
|
|
|
|
},
|
2022-08-04 16:25:00 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "countAllNSClustersWithSSLCertId",
|
|
|
|
|
Handler: _NSClusterService_CountAllNSClustersWithSSLCertId_Handler,
|
|
|
|
|
},
|
2022-08-22 15:10:48 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterDDoSProtection",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterDDoSProtection_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterDDoSProtection",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterDDoSProtection_Handler,
|
|
|
|
|
},
|
2022-09-21 15:06:01 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterHosts",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterHosts_Handler,
|
|
|
|
|
},
|
2022-09-10 16:13:26 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findAvailableNSHostsForUser",
|
|
|
|
|
Handler: _NSClusterService_FindAvailableNSHostsForUser_Handler,
|
|
|
|
|
},
|
2022-09-23 19:02:21 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterAnswerConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterAnswerConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterAnswerConfig",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterAnswerConfig_Handler,
|
|
|
|
|
},
|
2022-09-24 14:07:59 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "findNSClusterSOAConfig",
|
|
|
|
|
Handler: _NSClusterService_FindNSClusterSOAConfig_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateNSClusterSOAConfig",
|
|
|
|
|
Handler: _NSClusterService_UpdateNSClusterSOAConfig_Handler,
|
|
|
|
|
},
|
2021-05-25 15:48:25 +08:00
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "service_ns_cluster.proto",
|
|
|
|
|
}
|