域名服务增加访问日志

This commit is contained in:
GoEdgeLab
2021-06-02 11:53:15 +08:00
parent a5cdd6c9eb
commit 469379f63f
14 changed files with 1961 additions and 487 deletions

View File

@@ -188,6 +188,157 @@ func (x *UpdateNSClusterRequest) GetIsOn() bool {
return false
}
// 查找集群访问日志配置
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
}
// 删除集群
type DeleteNSCluster struct {
state protoimpl.MessageState
@@ -200,7 +351,7 @@ type DeleteNSCluster struct {
func (x *DeleteNSCluster) Reset() {
*x = DeleteNSCluster{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[3]
mi := &file_service_ns_cluster_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -213,7 +364,7 @@ func (x *DeleteNSCluster) String() string {
func (*DeleteNSCluster) ProtoMessage() {}
func (x *DeleteNSCluster) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[3]
mi := &file_service_ns_cluster_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -226,7 +377,7 @@ func (x *DeleteNSCluster) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeleteNSCluster.ProtoReflect.Descriptor instead.
func (*DeleteNSCluster) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{3}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{6}
}
func (x *DeleteNSCluster) GetNsClusterId() int64 {
@@ -248,7 +399,7 @@ type FindEnabledNSClusterRequest struct {
func (x *FindEnabledNSClusterRequest) Reset() {
*x = FindEnabledNSClusterRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[4]
mi := &file_service_ns_cluster_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -261,7 +412,7 @@ func (x *FindEnabledNSClusterRequest) String() string {
func (*FindEnabledNSClusterRequest) ProtoMessage() {}
func (x *FindEnabledNSClusterRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[4]
mi := &file_service_ns_cluster_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -274,7 +425,7 @@ func (x *FindEnabledNSClusterRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindEnabledNSClusterRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledNSClusterRequest) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{4}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{7}
}
func (x *FindEnabledNSClusterRequest) GetNsClusterId() int64 {
@@ -295,7 +446,7 @@ type FindEnabledNSClusterResponse struct {
func (x *FindEnabledNSClusterResponse) Reset() {
*x = FindEnabledNSClusterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[5]
mi := &file_service_ns_cluster_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -308,7 +459,7 @@ func (x *FindEnabledNSClusterResponse) String() string {
func (*FindEnabledNSClusterResponse) ProtoMessage() {}
func (x *FindEnabledNSClusterResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[5]
mi := &file_service_ns_cluster_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -321,7 +472,7 @@ func (x *FindEnabledNSClusterResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindEnabledNSClusterResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledNSClusterResponse) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{5}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{8}
}
func (x *FindEnabledNSClusterResponse) GetNsCluster() *NSCluster {
@@ -341,7 +492,7 @@ type CountAllEnabledNSClustersRequest struct {
func (x *CountAllEnabledNSClustersRequest) Reset() {
*x = CountAllEnabledNSClustersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[6]
mi := &file_service_ns_cluster_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -354,7 +505,7 @@ func (x *CountAllEnabledNSClustersRequest) String() string {
func (*CountAllEnabledNSClustersRequest) ProtoMessage() {}
func (x *CountAllEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[6]
mi := &file_service_ns_cluster_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -367,7 +518,7 @@ func (x *CountAllEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CountAllEnabledNSClustersRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledNSClustersRequest) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{6}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{9}
}
// 列出单页可用集群
@@ -383,7 +534,7 @@ type ListEnabledNSClustersRequest struct {
func (x *ListEnabledNSClustersRequest) Reset() {
*x = ListEnabledNSClustersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[7]
mi := &file_service_ns_cluster_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -396,7 +547,7 @@ func (x *ListEnabledNSClustersRequest) String() string {
func (*ListEnabledNSClustersRequest) ProtoMessage() {}
func (x *ListEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[7]
mi := &file_service_ns_cluster_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -409,7 +560,7 @@ func (x *ListEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListEnabledNSClustersRequest.ProtoReflect.Descriptor instead.
func (*ListEnabledNSClustersRequest) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{7}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{10}
}
func (x *ListEnabledNSClustersRequest) GetOffset() int64 {
@@ -437,7 +588,7 @@ type ListEnabledNSClustersResponse struct {
func (x *ListEnabledNSClustersResponse) Reset() {
*x = ListEnabledNSClustersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[8]
mi := &file_service_ns_cluster_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -450,7 +601,7 @@ func (x *ListEnabledNSClustersResponse) String() string {
func (*ListEnabledNSClustersResponse) ProtoMessage() {}
func (x *ListEnabledNSClustersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[8]
mi := &file_service_ns_cluster_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -463,7 +614,7 @@ func (x *ListEnabledNSClustersResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListEnabledNSClustersResponse.ProtoReflect.Descriptor instead.
func (*ListEnabledNSClustersResponse) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{8}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{11}
}
func (x *ListEnabledNSClustersResponse) GetNsClusters() []*NSCluster {
@@ -483,7 +634,7 @@ type FindAllEnabledNSClustersRequest struct {
func (x *FindAllEnabledNSClustersRequest) Reset() {
*x = FindAllEnabledNSClustersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[9]
mi := &file_service_ns_cluster_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -496,7 +647,7 @@ func (x *FindAllEnabledNSClustersRequest) String() string {
func (*FindAllEnabledNSClustersRequest) ProtoMessage() {}
func (x *FindAllEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[9]
mi := &file_service_ns_cluster_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -509,7 +660,7 @@ func (x *FindAllEnabledNSClustersRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllEnabledNSClustersRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNSClustersRequest) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{9}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{12}
}
type FindAllEnabledNSClustersResponse struct {
@@ -523,7 +674,7 @@ type FindAllEnabledNSClustersResponse struct {
func (x *FindAllEnabledNSClustersResponse) Reset() {
*x = FindAllEnabledNSClustersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_ns_cluster_proto_msgTypes[10]
mi := &file_service_ns_cluster_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -536,7 +687,7 @@ func (x *FindAllEnabledNSClustersResponse) String() string {
func (*FindAllEnabledNSClustersResponse) ProtoMessage() {}
func (x *FindAllEnabledNSClustersResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_ns_cluster_proto_msgTypes[10]
mi := &file_service_ns_cluster_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -549,7 +700,7 @@ func (x *FindAllEnabledNSClustersResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use FindAllEnabledNSClustersResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledNSClustersResponse) Descriptor() ([]byte, []int) {
return file_service_ns_cluster_proto_rawDescGZIP(), []int{10}
return file_service_ns_cluster_proto_rawDescGZIP(), []int{13}
}
func (x *FindAllEnabledNSClustersResponse) GetNsClusters() []*NSCluster {
@@ -580,77 +731,103 @@ var file_service_ns_cluster_proto_rawDesc = []byte{
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, 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, 0x3f, 0x0a, 0x1b,
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x22, 0x4b, 0x0a,
0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 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, 0x22, 0x0a, 0x20, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43,
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a,
0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x4e, 0x0a, 0x1d, 0x4c, 0x69,
0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x21, 0x0a, 0x1f, 0x46, 0x69,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c,
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a,
0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 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, 0x3f, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 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, 0x22, 0x4b, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 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, 0x22, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 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, 0x4e, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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,
0x32, 0xce, 0x04, 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, 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, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
0x22, 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x5c, 0x0a, 0x15,
0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75,
0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73,
0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c,
0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64,
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62,
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
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, 0x32, 0x80, 0x06, 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, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 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, 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, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e,
0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74,
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46,
0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73,
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x19, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53,
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 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, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e,
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53,
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x23,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -665,43 +842,50 @@ func file_service_ns_cluster_proto_rawDescGZIP() []byte {
return file_service_ns_cluster_proto_rawDescData
}
var file_service_ns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_service_ns_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_service_ns_cluster_proto_goTypes = []interface{}{
(*CreateNSClusterRequest)(nil), // 0: pb.CreateNSClusterRequest
(*CreateNSClusterResponse)(nil), // 1: pb.CreateNSClusterResponse
(*UpdateNSClusterRequest)(nil), // 2: pb.UpdateNSClusterRequest
(*DeleteNSCluster)(nil), // 3: pb.DeleteNSCluster
(*FindEnabledNSClusterRequest)(nil), // 4: pb.FindEnabledNSClusterRequest
(*FindEnabledNSClusterResponse)(nil), // 5: pb.FindEnabledNSClusterResponse
(*CountAllEnabledNSClustersRequest)(nil), // 6: pb.CountAllEnabledNSClustersRequest
(*ListEnabledNSClustersRequest)(nil), // 7: pb.ListEnabledNSClustersRequest
(*ListEnabledNSClustersResponse)(nil), // 8: pb.ListEnabledNSClustersResponse
(*FindAllEnabledNSClustersRequest)(nil), // 9: pb.FindAllEnabledNSClustersRequest
(*FindAllEnabledNSClustersResponse)(nil), // 10: pb.FindAllEnabledNSClustersResponse
(*NSCluster)(nil), // 11: pb.NSCluster
(*RPCSuccess)(nil), // 12: pb.RPCSuccess
(*RPCCountResponse)(nil), // 13: pb.RPCCountResponse
(*FindNSClusterAccessLogRequest)(nil), // 3: pb.FindNSClusterAccessLogRequest
(*FindNSClusterAccessLogResponse)(nil), // 4: pb.FindNSClusterAccessLogResponse
(*UpdateNSClusterAccessLogRequest)(nil), // 5: pb.UpdateNSClusterAccessLogRequest
(*DeleteNSCluster)(nil), // 6: pb.DeleteNSCluster
(*FindEnabledNSClusterRequest)(nil), // 7: pb.FindEnabledNSClusterRequest
(*FindEnabledNSClusterResponse)(nil), // 8: pb.FindEnabledNSClusterResponse
(*CountAllEnabledNSClustersRequest)(nil), // 9: pb.CountAllEnabledNSClustersRequest
(*ListEnabledNSClustersRequest)(nil), // 10: pb.ListEnabledNSClustersRequest
(*ListEnabledNSClustersResponse)(nil), // 11: pb.ListEnabledNSClustersResponse
(*FindAllEnabledNSClustersRequest)(nil), // 12: pb.FindAllEnabledNSClustersRequest
(*FindAllEnabledNSClustersResponse)(nil), // 13: pb.FindAllEnabledNSClustersResponse
(*NSCluster)(nil), // 14: pb.NSCluster
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
(*RPCCountResponse)(nil), // 16: pb.RPCCountResponse
}
var file_service_ns_cluster_proto_depIdxs = []int32{
11, // 0: pb.FindEnabledNSClusterResponse.nsCluster:type_name -> pb.NSCluster
11, // 1: pb.ListEnabledNSClustersResponse.nsClusters:type_name -> pb.NSCluster
11, // 2: pb.FindAllEnabledNSClustersResponse.nsClusters:type_name -> pb.NSCluster
14, // 0: pb.FindEnabledNSClusterResponse.nsCluster:type_name -> pb.NSCluster
14, // 1: pb.ListEnabledNSClustersResponse.nsClusters:type_name -> pb.NSCluster
14, // 2: pb.FindAllEnabledNSClustersResponse.nsClusters:type_name -> pb.NSCluster
0, // 3: pb.NSClusterService.createNSCluster:input_type -> pb.CreateNSClusterRequest
2, // 4: pb.NSClusterService.updateNSCluster:input_type -> pb.UpdateNSClusterRequest
3, // 5: pb.NSClusterService.deleteNSCluster:input_type -> pb.DeleteNSCluster
4, // 6: pb.NSClusterService.findEnabledNSCluster:input_type -> pb.FindEnabledNSClusterRequest
6, // 7: pb.NSClusterService.countAllEnabledNSClusters:input_type -> pb.CountAllEnabledNSClustersRequest
7, // 8: pb.NSClusterService.listEnabledNSClusters:input_type -> pb.ListEnabledNSClustersRequest
9, // 9: pb.NSClusterService.findAllEnabledNSClusters:input_type -> pb.FindAllEnabledNSClustersRequest
1, // 10: pb.NSClusterService.createNSCluster:output_type -> pb.CreateNSClusterResponse
12, // 11: pb.NSClusterService.updateNSCluster:output_type -> pb.RPCSuccess
12, // 12: pb.NSClusterService.deleteNSCluster:output_type -> pb.RPCSuccess
5, // 13: pb.NSClusterService.findEnabledNSCluster:output_type -> pb.FindEnabledNSClusterResponse
13, // 14: pb.NSClusterService.countAllEnabledNSClusters:output_type -> pb.RPCCountResponse
8, // 15: pb.NSClusterService.listEnabledNSClusters:output_type -> pb.ListEnabledNSClustersResponse
10, // 16: pb.NSClusterService.findAllEnabledNSClusters:output_type -> pb.FindAllEnabledNSClustersResponse
10, // [10:17] is the sub-list for method output_type
3, // [3:10] is the sub-list for method input_type
3, // 5: pb.NSClusterService.findNSClusterAccessLog:input_type -> pb.FindNSClusterAccessLogRequest
5, // 6: pb.NSClusterService.updateNSClusterAccessLog:input_type -> pb.UpdateNSClusterAccessLogRequest
6, // 7: pb.NSClusterService.deleteNSCluster:input_type -> pb.DeleteNSCluster
7, // 8: pb.NSClusterService.findEnabledNSCluster:input_type -> pb.FindEnabledNSClusterRequest
9, // 9: pb.NSClusterService.countAllEnabledNSClusters:input_type -> pb.CountAllEnabledNSClustersRequest
10, // 10: pb.NSClusterService.listEnabledNSClusters:input_type -> pb.ListEnabledNSClustersRequest
12, // 11: pb.NSClusterService.findAllEnabledNSClusters:input_type -> pb.FindAllEnabledNSClustersRequest
1, // 12: pb.NSClusterService.createNSCluster:output_type -> pb.CreateNSClusterResponse
15, // 13: pb.NSClusterService.updateNSCluster:output_type -> pb.RPCSuccess
4, // 14: pb.NSClusterService.findNSClusterAccessLog:output_type -> pb.FindNSClusterAccessLogResponse
15, // 15: pb.NSClusterService.updateNSClusterAccessLog:output_type -> pb.RPCSuccess
15, // 16: pb.NSClusterService.deleteNSCluster:output_type -> pb.RPCSuccess
8, // 17: pb.NSClusterService.findEnabledNSCluster:output_type -> pb.FindEnabledNSClusterResponse
16, // 18: pb.NSClusterService.countAllEnabledNSClusters:output_type -> pb.RPCCountResponse
11, // 19: pb.NSClusterService.listEnabledNSClusters:output_type -> pb.ListEnabledNSClustersResponse
13, // 20: pb.NSClusterService.findAllEnabledNSClusters:output_type -> pb.FindAllEnabledNSClustersResponse
12, // [12:21] is the sub-list for method output_type
3, // [3:12] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
@@ -752,7 +936,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteNSCluster); i {
switch v := v.(*FindNSClusterAccessLogRequest); i {
case 0:
return &v.state
case 1:
@@ -764,7 +948,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledNSClusterRequest); i {
switch v := v.(*FindNSClusterAccessLogResponse); i {
case 0:
return &v.state
case 1:
@@ -776,7 +960,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindEnabledNSClusterResponse); i {
switch v := v.(*UpdateNSClusterAccessLogRequest); i {
case 0:
return &v.state
case 1:
@@ -788,7 +972,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledNSClustersRequest); i {
switch v := v.(*DeleteNSCluster); i {
case 0:
return &v.state
case 1:
@@ -800,7 +984,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNSClustersRequest); i {
switch v := v.(*FindEnabledNSClusterRequest); i {
case 0:
return &v.state
case 1:
@@ -812,7 +996,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNSClustersResponse); i {
switch v := v.(*FindEnabledNSClusterResponse); i {
case 0:
return &v.state
case 1:
@@ -824,7 +1008,7 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledNSClustersRequest); i {
switch v := v.(*CountAllEnabledNSClustersRequest); i {
case 0:
return &v.state
case 1:
@@ -836,6 +1020,42 @@ func file_service_ns_cluster_proto_init() {
}
}
file_service_ns_cluster_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNSClustersRequest); 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[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListEnabledNSClustersResponse); 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[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledNSClustersRequest); 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[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledNSClustersResponse); i {
case 0:
return &v.state
@@ -854,7 +1074,7 @@ func file_service_ns_cluster_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_ns_cluster_proto_rawDesc,
NumEnums: 0,
NumMessages: 11,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
@@ -884,6 +1104,10 @@ 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)
// 查找集群访问日志配置
FindNSClusterAccessLog(ctx context.Context, in *FindNSClusterAccessLogRequest, opts ...grpc.CallOption) (*FindNSClusterAccessLogResponse, error)
// 修改集群访问日志配置
UpdateNSClusterAccessLog(ctx context.Context, in *UpdateNSClusterAccessLogRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 删除集群
DeleteNSCluster(ctx context.Context, in *DeleteNSCluster, opts ...grpc.CallOption) (*RPCSuccess, error)
// 查找单个可用集群信息
@@ -922,6 +1146,24 @@ func (c *nSClusterServiceClient) UpdateNSCluster(ctx context.Context, in *Update
return out, nil
}
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
}
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...)
@@ -973,6 +1215,10 @@ type NSClusterServiceServer interface {
CreateNSCluster(context.Context, *CreateNSClusterRequest) (*CreateNSClusterResponse, error)
// 修改集群
UpdateNSCluster(context.Context, *UpdateNSClusterRequest) (*RPCSuccess, error)
// 查找集群访问日志配置
FindNSClusterAccessLog(context.Context, *FindNSClusterAccessLogRequest) (*FindNSClusterAccessLogResponse, error)
// 修改集群访问日志配置
UpdateNSClusterAccessLog(context.Context, *UpdateNSClusterAccessLogRequest) (*RPCSuccess, error)
// 删除集群
DeleteNSCluster(context.Context, *DeleteNSCluster) (*RPCSuccess, error)
// 查找单个可用集群信息
@@ -995,6 +1241,12 @@ func (*UnimplementedNSClusterServiceServer) CreateNSCluster(context.Context, *Cr
func (*UnimplementedNSClusterServiceServer) UpdateNSCluster(context.Context, *UpdateNSClusterRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateNSCluster not implemented")
}
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")
}
func (*UnimplementedNSClusterServiceServer) DeleteNSCluster(context.Context, *DeleteNSCluster) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteNSCluster not implemented")
}
@@ -1051,6 +1303,42 @@ func _NSClusterService_UpdateNSCluster_Handler(srv interface{}, ctx context.Cont
return interceptor(ctx, in, info, handler)
}
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)
}
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 {
@@ -1153,6 +1441,14 @@ var _NSClusterService_serviceDesc = grpc.ServiceDesc{
MethodName: "updateNSCluster",
Handler: _NSClusterService_UpdateNSCluster_Handler,
},
{
MethodName: "findNSClusterAccessLog",
Handler: _NSClusterService_FindNSClusterAccessLog_Handler,
},
{
MethodName: "updateNSClusterAccessLog",
Handler: _NSClusterService_UpdateNSClusterAccessLog_Handler,
},
{
MethodName: "deleteNSCluster",
Handler: _NSClusterService_DeleteNSCluster_Handler,