diff --git a/pkg/rpc/pb/model_dns_domain.pb.go b/pkg/rpc/pb/model_dns_domain.pb.go new file mode 100644 index 0000000..d88de8c --- /dev/null +++ b/pkg/rpc/pb/model_dns_domain.pb.go @@ -0,0 +1,175 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: model_dns_domain.proto + +package pb + +import ( + proto "github.com/golang/protobuf/proto" + 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 DNSDomain struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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"` + DataUpdatedAt int64 `protobuf:"varint,4,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"` +} + +func (x *DNSDomain) Reset() { + *x = DNSDomain{} + if protoimpl.UnsafeEnabled { + mi := &file_model_dns_domain_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DNSDomain) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DNSDomain) ProtoMessage() {} + +func (x *DNSDomain) ProtoReflect() protoreflect.Message { + mi := &file_model_dns_domain_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 DNSDomain.ProtoReflect.Descriptor instead. +func (*DNSDomain) Descriptor() ([]byte, []int) { + return file_model_dns_domain_proto_rawDescGZIP(), []int{0} +} + +func (x *DNSDomain) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *DNSDomain) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DNSDomain) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + +func (x *DNSDomain) GetDataUpdatedAt() int64 { + if x != nil { + return x.DataUpdatedAt + } + return 0 +} + +var File_model_dns_domain_proto protoreflect.FileDescriptor + +var file_model_dns_domain_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x69, 0x0a, 0x09, + 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 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, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_model_dns_domain_proto_rawDescOnce sync.Once + file_model_dns_domain_proto_rawDescData = file_model_dns_domain_proto_rawDesc +) + +func file_model_dns_domain_proto_rawDescGZIP() []byte { + file_model_dns_domain_proto_rawDescOnce.Do(func() { + file_model_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_dns_domain_proto_rawDescData) + }) + return file_model_dns_domain_proto_rawDescData +} + +var file_model_dns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_model_dns_domain_proto_goTypes = []interface{}{ + (*DNSDomain)(nil), // 0: pb.DNSDomain +} +var file_model_dns_domain_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_model_dns_domain_proto_init() } +func file_model_dns_domain_proto_init() { + if File_model_dns_domain_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_model_dns_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSDomain); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_model_dns_domain_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_model_dns_domain_proto_goTypes, + DependencyIndexes: file_model_dns_domain_proto_depIdxs, + MessageInfos: file_model_dns_domain_proto_msgTypes, + }.Build() + File_model_dns_domain_proto = out.File + file_model_dns_domain_proto_rawDesc = nil + file_model_dns_domain_proto_goTypes = nil + file_model_dns_domain_proto_depIdxs = nil +} diff --git a/pkg/rpc/pb/model_dns_provider.pb.go b/pkg/rpc/pb/model_dns_provider.pb.go index 9918058..b60de5e 100644 --- a/pkg/rpc/pb/model_dns_provider.pb.go +++ b/pkg/rpc/pb/model_dns_provider.pb.go @@ -35,8 +35,7 @@ type DNSProvider struct { Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` TypeName string `protobuf:"bytes,4,opt,name=typeName,proto3" json:"typeName,omitempty"` ApiParamsJSON []byte `protobuf:"bytes,5,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"` - RoutesJSON []byte `protobuf:"bytes,6,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"` - DataUpdatedAt int64 `protobuf:"varint,7,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"` + DataUpdatedAt int64 `protobuf:"varint,6,opt,name=dataUpdatedAt,proto3" json:"dataUpdatedAt,omitempty"` } func (x *DNSProvider) Reset() { @@ -106,13 +105,6 @@ func (x *DNSProvider) GetApiParamsJSON() []byte { return nil } -func (x *DNSProvider) GetRoutesJSON() []byte { - if x != nil { - return x.RoutesJSON - } - return nil -} - func (x *DNSProvider) GetDataUpdatedAt() int64 { if x != nil { return x.DataUpdatedAt @@ -124,7 +116,7 @@ var File_model_dns_provider_proto protoreflect.FileDescriptor var file_model_dns_provider_proto_rawDesc = []byte{ 0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xcd, + 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xad, 0x01, 0x0a, 0x0b, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, @@ -133,10 +125,8 @@ var file_model_dns_provider_proto_rawDesc = []byte{ 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, - 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x6f, - 0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } diff --git a/pkg/rpc/pb/rpc_messages.pb.go b/pkg/rpc/pb/rpc_messages.pb.go index 21489b1..4512917 100644 --- a/pkg/rpc/pb/rpc_messages.pb.go +++ b/pkg/rpc/pb/rpc_messages.pb.go @@ -101,6 +101,53 @@ func (*RPCDeleteSuccess) Descriptor() ([]byte, []int) { return file_rpc_messages_proto_rawDescGZIP(), []int{1} } +type RPCCountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *RPCCountResponse) Reset() { + *x = RPCCountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_messages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RPCCountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RPCCountResponse) ProtoMessage() {} + +func (x *RPCCountResponse) ProtoReflect() protoreflect.Message { + mi := &file_rpc_messages_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 RPCCountResponse.ProtoReflect.Descriptor instead. +func (*RPCCountResponse) Descriptor() ([]byte, []int) { + return file_rpc_messages_proto_rawDescGZIP(), []int{2} +} + +func (x *RPCCountResponse) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + var File_rpc_messages_proto protoreflect.FileDescriptor var file_rpc_messages_proto_rawDesc = []byte{ @@ -108,7 +155,10 @@ var file_rpc_messages_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x22, 0x28, 0x0a, 0x10, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -123,10 +173,11 @@ func file_rpc_messages_proto_rawDescGZIP() []byte { return file_rpc_messages_proto_rawDescData } -var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_rpc_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_rpc_messages_proto_goTypes = []interface{}{ (*RPCUpdateSuccess)(nil), // 0: pb.RPCUpdateSuccess (*RPCDeleteSuccess)(nil), // 1: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 2: pb.RPCCountResponse } var file_rpc_messages_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type @@ -166,6 +217,18 @@ func file_rpc_messages_proto_init() { return nil } } + file_rpc_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RPCCountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -173,7 +236,7 @@ func file_rpc_messages_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_rpc_messages_proto_rawDesc, NumEnums: 0, - NumMessages: 2, + NumMessages: 3, NumExtensions: 0, NumServices: 0, }, diff --git a/pkg/rpc/pb/service_api_node.pb.go b/pkg/rpc/pb/service_api_node.pb.go index 78161da..f7b36a5 100644 --- a/pkg/rpc/pb/service_api_node.pb.go +++ b/pkg/rpc/pb/service_api_node.pb.go @@ -433,53 +433,6 @@ func (*CountAllEnabledAPINodesRequest) Descriptor() ([]byte, []int) { return file_service_api_node_proto_rawDescGZIP(), []int{6} } -type CountAllEnabledAPINodesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledAPINodesResponse) Reset() { - *x = CountAllEnabledAPINodesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledAPINodesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledAPINodesResponse) ProtoMessage() {} - -func (x *CountAllEnabledAPINodesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[7] - 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 CountAllEnabledAPINodesResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledAPINodesResponse) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{7} -} - -func (x *CountAllEnabledAPINodesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的API节点 type ListEnabledAPINodesRequest struct { state protoimpl.MessageState @@ -493,7 +446,7 @@ type ListEnabledAPINodesRequest struct { func (x *ListEnabledAPINodesRequest) Reset() { *x = ListEnabledAPINodesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[8] + mi := &file_service_api_node_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -506,7 +459,7 @@ func (x *ListEnabledAPINodesRequest) String() string { func (*ListEnabledAPINodesRequest) ProtoMessage() {} func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[8] + mi := &file_service_api_node_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -519,7 +472,7 @@ func (x *ListEnabledAPINodesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledAPINodesRequest.ProtoReflect.Descriptor instead. func (*ListEnabledAPINodesRequest) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{8} + return file_service_api_node_proto_rawDescGZIP(), []int{7} } func (x *ListEnabledAPINodesRequest) GetOffset() int64 { @@ -547,7 +500,7 @@ type ListEnabledAPINodesResponse struct { func (x *ListEnabledAPINodesResponse) Reset() { *x = ListEnabledAPINodesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[9] + mi := &file_service_api_node_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -560,7 +513,7 @@ func (x *ListEnabledAPINodesResponse) String() string { func (*ListEnabledAPINodesResponse) ProtoMessage() {} func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[9] + mi := &file_service_api_node_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -573,7 +526,7 @@ func (x *ListEnabledAPINodesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledAPINodesResponse.ProtoReflect.Descriptor instead. func (*ListEnabledAPINodesResponse) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{9} + return file_service_api_node_proto_rawDescGZIP(), []int{8} } func (x *ListEnabledAPINodesResponse) GetNodes() []*APINode { @@ -595,7 +548,7 @@ type FindEnabledAPINodeRequest struct { func (x *FindEnabledAPINodeRequest) Reset() { *x = FindEnabledAPINodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[10] + mi := &file_service_api_node_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -608,7 +561,7 @@ func (x *FindEnabledAPINodeRequest) String() string { func (*FindEnabledAPINodeRequest) ProtoMessage() {} func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[10] + mi := &file_service_api_node_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -621,7 +574,7 @@ func (x *FindEnabledAPINodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledAPINodeRequest.ProtoReflect.Descriptor instead. func (*FindEnabledAPINodeRequest) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{10} + return file_service_api_node_proto_rawDescGZIP(), []int{9} } func (x *FindEnabledAPINodeRequest) GetNodeId() int64 { @@ -642,7 +595,7 @@ type FindEnabledAPINodeResponse struct { func (x *FindEnabledAPINodeResponse) Reset() { *x = FindEnabledAPINodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[11] + mi := &file_service_api_node_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -655,7 +608,7 @@ func (x *FindEnabledAPINodeResponse) String() string { func (*FindEnabledAPINodeResponse) ProtoMessage() {} func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[11] + mi := &file_service_api_node_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -668,7 +621,7 @@ func (x *FindEnabledAPINodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledAPINodeResponse.ProtoReflect.Descriptor instead. func (*FindEnabledAPINodeResponse) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{11} + return file_service_api_node_proto_rawDescGZIP(), []int{10} } func (x *FindEnabledAPINodeResponse) GetNode() *APINode { @@ -688,7 +641,7 @@ type FindCurrentAPINodeVersionRequest struct { func (x *FindCurrentAPINodeVersionRequest) Reset() { *x = FindCurrentAPINodeVersionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[12] + mi := &file_service_api_node_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -701,7 +654,7 @@ func (x *FindCurrentAPINodeVersionRequest) String() string { func (*FindCurrentAPINodeVersionRequest) ProtoMessage() {} func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[12] + mi := &file_service_api_node_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -714,7 +667,7 @@ func (x *FindCurrentAPINodeVersionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindCurrentAPINodeVersionRequest.ProtoReflect.Descriptor instead. func (*FindCurrentAPINodeVersionRequest) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{12} + return file_service_api_node_proto_rawDescGZIP(), []int{11} } type FindCurrentAPINodeVersionResponse struct { @@ -728,7 +681,7 @@ type FindCurrentAPINodeVersionResponse struct { func (x *FindCurrentAPINodeVersionResponse) Reset() { *x = FindCurrentAPINodeVersionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_api_node_proto_msgTypes[13] + mi := &file_service_api_node_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -741,7 +694,7 @@ func (x *FindCurrentAPINodeVersionResponse) String() string { func (*FindCurrentAPINodeVersionResponse) ProtoMessage() {} func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_api_node_proto_msgTypes[13] + mi := &file_service_api_node_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -754,7 +707,7 @@ func (x *FindCurrentAPINodeVersionResponse) ProtoReflect() protoreflect.Message // Deprecated: Use FindCurrentAPINodeVersionResponse.ProtoReflect.Descriptor instead. func (*FindCurrentAPINodeVersionResponse) Descriptor() ([]byte, []int) { - return file_service_api_node_proto_rawDescGZIP(), []int{13} + return file_service_api_node_proto_rawDescGZIP(), []int{12} } func (x *FindCurrentAPINodeVersionResponse) GetVersion() string { @@ -812,77 +765,72 @@ var file_service_api_node_proto_rawDesc = []byte{ 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x20, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x48, - 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, - 0x4e, 0x6f, 0x64, 0x65, 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, 0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, - 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, - 0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, - 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, - 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, - 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x22, - 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, - 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x32, 0xb4, 0x05, 0x0a, 0x0e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, - 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, - 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, - 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, - 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, - 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x48, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 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, + 0x40, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, + 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, + 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, + 0x73, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x21, 0x46, 0x69, 0x6e, + 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0xa5, 0x05, 0x0a, 0x0e, 0x41, 0x50, 0x49, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, + 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, + 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, + 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, + 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, + 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x17, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, + 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 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, 0x56, 0x0a, 0x13, 0x6c, 0x69, 0x73, + 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, - 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, - 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, - 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, - 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, - 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, - 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 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, 0x12, 0x53, 0x0a, 0x12, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x43, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, + 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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 ( @@ -897,7 +845,7 @@ func file_service_api_node_proto_rawDescGZIP() []byte { return file_service_api_node_proto_rawDescData } -var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_service_api_node_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_service_api_node_proto_goTypes = []interface{}{ (*CreateAPINodeRequest)(nil), // 0: pb.CreateAPINodeRequest (*CreateAPINodeResponse)(nil), // 1: pb.CreateAPINodeResponse @@ -906,37 +854,37 @@ var file_service_api_node_proto_goTypes = []interface{}{ (*FindAllEnabledAPINodesRequest)(nil), // 4: pb.FindAllEnabledAPINodesRequest (*FindAllEnabledAPINodesResponse)(nil), // 5: pb.FindAllEnabledAPINodesResponse (*CountAllEnabledAPINodesRequest)(nil), // 6: pb.CountAllEnabledAPINodesRequest - (*CountAllEnabledAPINodesResponse)(nil), // 7: pb.CountAllEnabledAPINodesResponse - (*ListEnabledAPINodesRequest)(nil), // 8: pb.ListEnabledAPINodesRequest - (*ListEnabledAPINodesResponse)(nil), // 9: pb.ListEnabledAPINodesResponse - (*FindEnabledAPINodeRequest)(nil), // 10: pb.FindEnabledAPINodeRequest - (*FindEnabledAPINodeResponse)(nil), // 11: pb.FindEnabledAPINodeResponse - (*FindCurrentAPINodeVersionRequest)(nil), // 12: pb.FindCurrentAPINodeVersionRequest - (*FindCurrentAPINodeVersionResponse)(nil), // 13: pb.FindCurrentAPINodeVersionResponse - (*APINode)(nil), // 14: pb.APINode - (*RPCUpdateSuccess)(nil), // 15: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 16: pb.RPCDeleteSuccess + (*ListEnabledAPINodesRequest)(nil), // 7: pb.ListEnabledAPINodesRequest + (*ListEnabledAPINodesResponse)(nil), // 8: pb.ListEnabledAPINodesResponse + (*FindEnabledAPINodeRequest)(nil), // 9: pb.FindEnabledAPINodeRequest + (*FindEnabledAPINodeResponse)(nil), // 10: pb.FindEnabledAPINodeResponse + (*FindCurrentAPINodeVersionRequest)(nil), // 11: pb.FindCurrentAPINodeVersionRequest + (*FindCurrentAPINodeVersionResponse)(nil), // 12: pb.FindCurrentAPINodeVersionResponse + (*APINode)(nil), // 13: pb.APINode + (*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 15: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 16: pb.RPCCountResponse } var file_service_api_node_proto_depIdxs = []int32{ - 14, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode - 14, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode - 14, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode + 13, // 0: pb.FindAllEnabledAPINodesResponse.nodes:type_name -> pb.APINode + 13, // 1: pb.ListEnabledAPINodesResponse.nodes:type_name -> pb.APINode + 13, // 2: pb.FindEnabledAPINodeResponse.node:type_name -> pb.APINode 0, // 3: pb.APINodeService.createAPINode:input_type -> pb.CreateAPINodeRequest 2, // 4: pb.APINodeService.updateAPINode:input_type -> pb.UpdateAPINodeRequest 3, // 5: pb.APINodeService.deleteAPINode:input_type -> pb.DeleteAPINodeRequest 4, // 6: pb.APINodeService.findAllEnabledAPINodes:input_type -> pb.FindAllEnabledAPINodesRequest 6, // 7: pb.APINodeService.countAllEnabledAPINodes:input_type -> pb.CountAllEnabledAPINodesRequest - 8, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest - 10, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest - 12, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest + 7, // 8: pb.APINodeService.listEnabledAPINodes:input_type -> pb.ListEnabledAPINodesRequest + 9, // 9: pb.APINodeService.findEnabledAPINode:input_type -> pb.FindEnabledAPINodeRequest + 11, // 10: pb.APINodeService.findCurrentAPINodeVersion:input_type -> pb.FindCurrentAPINodeVersionRequest 1, // 11: pb.APINodeService.createAPINode:output_type -> pb.CreateAPINodeResponse - 15, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess - 16, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess + 14, // 12: pb.APINodeService.updateAPINode:output_type -> pb.RPCUpdateSuccess + 15, // 13: pb.APINodeService.deleteAPINode:output_type -> pb.RPCDeleteSuccess 5, // 14: pb.APINodeService.findAllEnabledAPINodes:output_type -> pb.FindAllEnabledAPINodesResponse - 7, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.CountAllEnabledAPINodesResponse - 9, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse - 11, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse - 13, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse + 16, // 15: pb.APINodeService.countAllEnabledAPINodes:output_type -> pb.RPCCountResponse + 8, // 16: pb.APINodeService.listEnabledAPINodes:output_type -> pb.ListEnabledAPINodesResponse + 10, // 17: pb.APINodeService.findEnabledAPINode:output_type -> pb.FindEnabledAPINodeResponse + 12, // 18: pb.APINodeService.findCurrentAPINodeVersion:output_type -> pb.FindCurrentAPINodeVersionResponse 11, // [11:19] is the sub-list for method output_type 3, // [3:11] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -1037,18 +985,6 @@ func file_service_api_node_proto_init() { } } file_service_api_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledAPINodesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledAPINodesRequest); i { case 0: return &v.state @@ -1060,7 +996,7 @@ func file_service_api_node_proto_init() { return nil } } - file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_api_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledAPINodesResponse); i { case 0: return &v.state @@ -1072,7 +1008,7 @@ func file_service_api_node_proto_init() { return nil } } - file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_api_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledAPINodeRequest); i { case 0: return &v.state @@ -1084,7 +1020,7 @@ func file_service_api_node_proto_init() { return nil } } - file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_api_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledAPINodeResponse); i { case 0: return &v.state @@ -1096,7 +1032,7 @@ func file_service_api_node_proto_init() { return nil } } - file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_service_api_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindCurrentAPINodeVersionRequest); i { case 0: return &v.state @@ -1108,7 +1044,7 @@ func file_service_api_node_proto_init() { return nil } } - file_service_api_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_service_api_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindCurrentAPINodeVersionResponse); i { case 0: return &v.state @@ -1127,7 +1063,7 @@ func file_service_api_node_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_api_node_proto_rawDesc, NumEnums: 0, - NumMessages: 14, + NumMessages: 13, NumExtensions: 0, NumServices: 1, }, @@ -1162,7 +1098,7 @@ type APINodeServiceClient interface { // 列出所有可用API节点 FindAllEnabledAPINodes(ctx context.Context, in *FindAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*FindAllEnabledAPINodesResponse, error) // 计算API节点数量 - CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error) + CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页的API节点 ListEnabledAPINodes(ctx context.Context, in *ListEnabledAPINodesRequest, opts ...grpc.CallOption) (*ListEnabledAPINodesResponse, error) // 根据ID查找节点 @@ -1215,8 +1151,8 @@ func (c *aPINodeServiceClient) FindAllEnabledAPINodes(ctx context.Context, in *F return out, nil } -func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*CountAllEnabledAPINodesResponse, error) { - out := new(CountAllEnabledAPINodesResponse) +func (c *aPINodeServiceClient) CountAllEnabledAPINodes(ctx context.Context, in *CountAllEnabledAPINodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.APINodeService/countAllEnabledAPINodes", in, out, opts...) if err != nil { return nil, err @@ -1262,7 +1198,7 @@ type APINodeServiceServer interface { // 列出所有可用API节点 FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) // 计算API节点数量 - CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error) + CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error) // 列出单页的API节点 ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error) // 根据ID查找节点 @@ -1287,7 +1223,7 @@ func (*UnimplementedAPINodeServiceServer) DeleteAPINode(context.Context, *Delete func (*UnimplementedAPINodeServiceServer) FindAllEnabledAPINodes(context.Context, *FindAllEnabledAPINodesRequest) (*FindAllEnabledAPINodesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledAPINodes not implemented") } -func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*CountAllEnabledAPINodesResponse, error) { +func (*UnimplementedAPINodeServiceServer) CountAllEnabledAPINodes(context.Context, *CountAllEnabledAPINodesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledAPINodes not implemented") } func (*UnimplementedAPINodeServiceServer) ListEnabledAPINodes(context.Context, *ListEnabledAPINodesRequest) (*ListEnabledAPINodesResponse, error) { diff --git a/pkg/rpc/pb/service_db_node.pb.go b/pkg/rpc/pb/service_db_node.pb.go index 02c1bdd..2862bec 100644 --- a/pkg/rpc/pb/service_db_node.pb.go +++ b/pkg/rpc/pb/service_db_node.pb.go @@ -395,53 +395,6 @@ func (*CountAllEnabledDBNodesRequest) Descriptor() ([]byte, []int) { return file_service_db_node_proto_rawDescGZIP(), []int{4} } -type CountAllEnabledDBNodesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledDBNodesResponse) Reset() { - *x = CountAllEnabledDBNodesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_db_node_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledDBNodesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledDBNodesResponse) ProtoMessage() {} - -func (x *CountAllEnabledDBNodesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_db_node_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 CountAllEnabledDBNodesResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledDBNodesResponse) Descriptor() ([]byte, []int) { - return file_service_db_node_proto_rawDescGZIP(), []int{5} -} - -func (x *CountAllEnabledDBNodesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的数据库节点 type ListEnabledDBNodesRequest struct { state protoimpl.MessageState @@ -455,7 +408,7 @@ type ListEnabledDBNodesRequest struct { func (x *ListEnabledDBNodesRequest) Reset() { *x = ListEnabledDBNodesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_db_node_proto_msgTypes[6] + mi := &file_service_db_node_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -468,7 +421,7 @@ func (x *ListEnabledDBNodesRequest) String() string { func (*ListEnabledDBNodesRequest) ProtoMessage() {} func (x *ListEnabledDBNodesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_db_node_proto_msgTypes[6] + mi := &file_service_db_node_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -481,7 +434,7 @@ func (x *ListEnabledDBNodesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledDBNodesRequest.ProtoReflect.Descriptor instead. func (*ListEnabledDBNodesRequest) Descriptor() ([]byte, []int) { - return file_service_db_node_proto_rawDescGZIP(), []int{6} + return file_service_db_node_proto_rawDescGZIP(), []int{5} } func (x *ListEnabledDBNodesRequest) GetOffset() int64 { @@ -509,7 +462,7 @@ type ListEnabledDBNodesResponse struct { func (x *ListEnabledDBNodesResponse) Reset() { *x = ListEnabledDBNodesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_db_node_proto_msgTypes[7] + mi := &file_service_db_node_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -522,7 +475,7 @@ func (x *ListEnabledDBNodesResponse) String() string { func (*ListEnabledDBNodesResponse) ProtoMessage() {} func (x *ListEnabledDBNodesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_db_node_proto_msgTypes[7] + mi := &file_service_db_node_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -535,7 +488,7 @@ func (x *ListEnabledDBNodesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledDBNodesResponse.ProtoReflect.Descriptor instead. func (*ListEnabledDBNodesResponse) Descriptor() ([]byte, []int) { - return file_service_db_node_proto_rawDescGZIP(), []int{7} + return file_service_db_node_proto_rawDescGZIP(), []int{6} } func (x *ListEnabledDBNodesResponse) GetNodes() []*DBNode { @@ -557,7 +510,7 @@ type FindEnabledDBNodeRequest struct { func (x *FindEnabledDBNodeRequest) Reset() { *x = FindEnabledDBNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_db_node_proto_msgTypes[8] + mi := &file_service_db_node_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -570,7 +523,7 @@ func (x *FindEnabledDBNodeRequest) String() string { func (*FindEnabledDBNodeRequest) ProtoMessage() {} func (x *FindEnabledDBNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_db_node_proto_msgTypes[8] + mi := &file_service_db_node_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -583,7 +536,7 @@ func (x *FindEnabledDBNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDBNodeRequest.ProtoReflect.Descriptor instead. func (*FindEnabledDBNodeRequest) Descriptor() ([]byte, []int) { - return file_service_db_node_proto_rawDescGZIP(), []int{8} + return file_service_db_node_proto_rawDescGZIP(), []int{7} } func (x *FindEnabledDBNodeRequest) GetNodeId() int64 { @@ -604,7 +557,7 @@ type FindEnabledDBNodeResponse struct { func (x *FindEnabledDBNodeResponse) Reset() { *x = FindEnabledDBNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_db_node_proto_msgTypes[9] + mi := &file_service_db_node_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -617,7 +570,7 @@ func (x *FindEnabledDBNodeResponse) String() string { func (*FindEnabledDBNodeResponse) ProtoMessage() {} func (x *FindEnabledDBNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_db_node_proto_msgTypes[9] + mi := &file_service_db_node_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -630,7 +583,7 @@ func (x *FindEnabledDBNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDBNodeResponse.ProtoReflect.Descriptor instead. func (*FindEnabledDBNodeResponse) Descriptor() ([]byte, []int) { - return file_service_db_node_proto_rawDescGZIP(), []int{9} + return file_service_db_node_proto_rawDescGZIP(), []int{8} } func (x *FindEnabledDBNodeResponse) GetNode() *DBNode { @@ -687,57 +640,53 @@ var file_service_db_node_proto_rawDesc = []byte{ 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x1e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, - 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, + 0x65, 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, 0x3e, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x32, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x19, 0x46, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, + 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xca, 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4e, 0x6f, 0x64, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x16, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 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, 0x53, 0x0a, 0x12, + 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, + 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 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, 0x3e, 0x0a, - 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, - 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, - 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x32, 0x0a, - 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, - 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x22, 0x3b, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, - 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, - 0x62, 0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0xd8, - 0x03, 0x0a, 0x0d, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x42, 0x4e, - 0x6f, 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, - 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, - 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, 0x4e, 0x6f, - 0x64, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x42, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x62, - 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, - 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 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 ( @@ -752,37 +701,37 @@ func file_service_db_node_proto_rawDescGZIP() []byte { return file_service_db_node_proto_rawDescData } -var file_service_db_node_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_service_db_node_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_service_db_node_proto_goTypes = []interface{}{ - (*CreateDBNodeRequest)(nil), // 0: pb.CreateDBNodeRequest - (*CreateDBNodeResponse)(nil), // 1: pb.CreateDBNodeResponse - (*UpdateDBNodeRequest)(nil), // 2: pb.UpdateDBNodeRequest - (*DeleteDBNodeRequest)(nil), // 3: pb.DeleteDBNodeRequest - (*CountAllEnabledDBNodesRequest)(nil), // 4: pb.CountAllEnabledDBNodesRequest - (*CountAllEnabledDBNodesResponse)(nil), // 5: pb.CountAllEnabledDBNodesResponse - (*ListEnabledDBNodesRequest)(nil), // 6: pb.ListEnabledDBNodesRequest - (*ListEnabledDBNodesResponse)(nil), // 7: pb.ListEnabledDBNodesResponse - (*FindEnabledDBNodeRequest)(nil), // 8: pb.FindEnabledDBNodeRequest - (*FindEnabledDBNodeResponse)(nil), // 9: pb.FindEnabledDBNodeResponse - (*DBNode)(nil), // 10: pb.DBNode - (*RPCUpdateSuccess)(nil), // 11: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 12: pb.RPCDeleteSuccess + (*CreateDBNodeRequest)(nil), // 0: pb.CreateDBNodeRequest + (*CreateDBNodeResponse)(nil), // 1: pb.CreateDBNodeResponse + (*UpdateDBNodeRequest)(nil), // 2: pb.UpdateDBNodeRequest + (*DeleteDBNodeRequest)(nil), // 3: pb.DeleteDBNodeRequest + (*CountAllEnabledDBNodesRequest)(nil), // 4: pb.CountAllEnabledDBNodesRequest + (*ListEnabledDBNodesRequest)(nil), // 5: pb.ListEnabledDBNodesRequest + (*ListEnabledDBNodesResponse)(nil), // 6: pb.ListEnabledDBNodesResponse + (*FindEnabledDBNodeRequest)(nil), // 7: pb.FindEnabledDBNodeRequest + (*FindEnabledDBNodeResponse)(nil), // 8: pb.FindEnabledDBNodeResponse + (*DBNode)(nil), // 9: pb.DBNode + (*RPCUpdateSuccess)(nil), // 10: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 11: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 12: pb.RPCCountResponse } var file_service_db_node_proto_depIdxs = []int32{ - 10, // 0: pb.ListEnabledDBNodesResponse.nodes:type_name -> pb.DBNode - 10, // 1: pb.FindEnabledDBNodeResponse.node:type_name -> pb.DBNode + 9, // 0: pb.ListEnabledDBNodesResponse.nodes:type_name -> pb.DBNode + 9, // 1: pb.FindEnabledDBNodeResponse.node:type_name -> pb.DBNode 0, // 2: pb.DBNodeService.createDBNode:input_type -> pb.CreateDBNodeRequest 2, // 3: pb.DBNodeService.updateDBNode:input_type -> pb.UpdateDBNodeRequest 3, // 4: pb.DBNodeService.deleteDBNode:input_type -> pb.DeleteDBNodeRequest 4, // 5: pb.DBNodeService.countAllEnabledDBNodes:input_type -> pb.CountAllEnabledDBNodesRequest - 6, // 6: pb.DBNodeService.listEnabledDBNodes:input_type -> pb.ListEnabledDBNodesRequest - 8, // 7: pb.DBNodeService.findEnabledDBNode:input_type -> pb.FindEnabledDBNodeRequest + 5, // 6: pb.DBNodeService.listEnabledDBNodes:input_type -> pb.ListEnabledDBNodesRequest + 7, // 7: pb.DBNodeService.findEnabledDBNode:input_type -> pb.FindEnabledDBNodeRequest 1, // 8: pb.DBNodeService.createDBNode:output_type -> pb.CreateDBNodeResponse - 11, // 9: pb.DBNodeService.updateDBNode:output_type -> pb.RPCUpdateSuccess - 12, // 10: pb.DBNodeService.deleteDBNode:output_type -> pb.RPCDeleteSuccess - 5, // 11: pb.DBNodeService.countAllEnabledDBNodes:output_type -> pb.CountAllEnabledDBNodesResponse - 7, // 12: pb.DBNodeService.listEnabledDBNodes:output_type -> pb.ListEnabledDBNodesResponse - 9, // 13: pb.DBNodeService.findEnabledDBNode:output_type -> pb.FindEnabledDBNodeResponse + 10, // 9: pb.DBNodeService.updateDBNode:output_type -> pb.RPCUpdateSuccess + 11, // 10: pb.DBNodeService.deleteDBNode:output_type -> pb.RPCDeleteSuccess + 12, // 11: pb.DBNodeService.countAllEnabledDBNodes:output_type -> pb.RPCCountResponse + 6, // 12: pb.DBNodeService.listEnabledDBNodes:output_type -> pb.ListEnabledDBNodesResponse + 8, // 13: pb.DBNodeService.findEnabledDBNode:output_type -> pb.FindEnabledDBNodeResponse 8, // [8:14] is the sub-list for method output_type 2, // [2:8] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -859,18 +808,6 @@ func file_service_db_node_proto_init() { } } file_service_db_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledDBNodesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_db_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledDBNodesRequest); i { case 0: return &v.state @@ -882,7 +819,7 @@ func file_service_db_node_proto_init() { return nil } } - file_service_db_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_service_db_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledDBNodesResponse); i { case 0: return &v.state @@ -894,7 +831,7 @@ func file_service_db_node_proto_init() { return nil } } - file_service_db_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_service_db_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledDBNodeRequest); i { case 0: return &v.state @@ -906,7 +843,7 @@ func file_service_db_node_proto_init() { return nil } } - file_service_db_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_db_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledDBNodeResponse); i { case 0: return &v.state @@ -925,7 +862,7 @@ func file_service_db_node_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_db_node_proto_rawDesc, NumEnums: 0, - NumMessages: 10, + NumMessages: 9, NumExtensions: 0, NumServices: 1, }, @@ -958,7 +895,7 @@ type DBNodeServiceClient interface { // 删除节点 DeleteDBNode(ctx context.Context, in *DeleteDBNodeRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) // 计算可用的数据库节点数量 - CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledDBNodesResponse, error) + CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页的数据库节点 ListEnabledDBNodes(ctx context.Context, in *ListEnabledDBNodesRequest, opts ...grpc.CallOption) (*ListEnabledDBNodesResponse, error) // 根据ID查找可用的数据库节点 @@ -1000,8 +937,8 @@ func (c *dBNodeServiceClient) DeleteDBNode(ctx context.Context, in *DeleteDBNode return out, nil } -func (c *dBNodeServiceClient) CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledDBNodesResponse, error) { - out := new(CountAllEnabledDBNodesResponse) +func (c *dBNodeServiceClient) CountAllEnabledDBNodes(ctx context.Context, in *CountAllEnabledDBNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.DBNodeService/countAllEnabledDBNodes", in, out, opts...) if err != nil { return nil, err @@ -1036,7 +973,7 @@ type DBNodeServiceServer interface { // 删除节点 DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error) // 计算可用的数据库节点数量 - CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*CountAllEnabledDBNodesResponse, error) + CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*RPCCountResponse, error) // 列出单页的数据库节点 ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error) // 根据ID查找可用的数据库节点 @@ -1056,7 +993,7 @@ func (*UnimplementedDBNodeServiceServer) UpdateDBNode(context.Context, *UpdateDB func (*UnimplementedDBNodeServiceServer) DeleteDBNode(context.Context, *DeleteDBNodeRequest) (*RPCDeleteSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDBNode not implemented") } -func (*UnimplementedDBNodeServiceServer) CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*CountAllEnabledDBNodesResponse, error) { +func (*UnimplementedDBNodeServiceServer) CountAllEnabledDBNodes(context.Context, *CountAllEnabledDBNodesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDBNodes not implemented") } func (*UnimplementedDBNodeServiceServer) ListEnabledDBNodes(context.Context, *ListEnabledDBNodesRequest) (*ListEnabledDBNodesResponse, error) { diff --git a/pkg/rpc/pb/service_dns_domain.pb.go b/pkg/rpc/pb/service_dns_domain.pb.go new file mode 100644 index 0000000..a606863 --- /dev/null +++ b/pkg/rpc/pb/service_dns_domain.pb.go @@ -0,0 +1,860 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: service_dns_domain.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 CreateDNSDomainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *CreateDNSDomainRequest) Reset() { + *x = CreateDNSDomainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDNSDomainRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDNSDomainRequest) ProtoMessage() {} + +func (x *CreateDNSDomainRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 CreateDNSDomainRequest.ProtoReflect.Descriptor instead. +func (*CreateDNSDomainRequest) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateDNSDomainRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +func (x *CreateDNSDomainRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type CreateDNSDomainResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"` +} + +func (x *CreateDNSDomainResponse) Reset() { + *x = CreateDNSDomainResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDNSDomainResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDNSDomainResponse) ProtoMessage() {} + +func (x *CreateDNSDomainResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 CreateDNSDomainResponse.ProtoReflect.Descriptor instead. +func (*CreateDNSDomainResponse) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{1} +} + +func (x *CreateDNSDomainResponse) GetDnsDomainId() int64 { + if x != nil { + return x.DnsDomainId + } + return 0 +} + +// 修改域名 +type UpdateDNSDomainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,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"` +} + +func (x *UpdateDNSDomainRequest) Reset() { + *x = UpdateDNSDomainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDNSDomainRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDNSDomainRequest) ProtoMessage() {} + +func (x *UpdateDNSDomainRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 UpdateDNSDomainRequest.ProtoReflect.Descriptor instead. +func (*UpdateDNSDomainRequest) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{2} +} + +func (x *UpdateDNSDomainRequest) GetDnsDomainId() int64 { + if x != nil { + return x.DnsDomainId + } + return 0 +} + +func (x *UpdateDNSDomainRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *UpdateDNSDomainRequest) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + +// 删除域名 +type DeleteDNSDomainRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"` +} + +func (x *DeleteDNSDomainRequest) Reset() { + *x = DeleteDNSDomainRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteDNSDomainRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteDNSDomainRequest) ProtoMessage() {} + +func (x *DeleteDNSDomainRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 DeleteDNSDomainRequest.ProtoReflect.Descriptor instead. +func (*DeleteDNSDomainRequest) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{3} +} + +func (x *DeleteDNSDomainRequest) GetDnsDomainId() int64 { + if x != nil { + return x.DnsDomainId + } + return 0 +} + +// 计算服务商下的域名数量 +type CountAllEnabledDNSDomainsWithDNSProviderIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` +} + +func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) Reset() { + *x = CountAllEnabledDNSDomainsWithDNSProviderIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoMessage() {} + +func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 CountAllEnabledDNSDomainsWithDNSProviderIdRequest.ProtoReflect.Descriptor instead. +func (*CountAllEnabledDNSDomainsWithDNSProviderIdRequest) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{4} +} + +func (x *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +// 列出服务商下的所有域名 +type FindAllEnabledDNSDomainsWithDNSProviderIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) Reset() { + *x = FindAllEnabledDNSDomainsWithDNSProviderIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoMessage() {} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_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 FindAllEnabledDNSDomainsWithDNSProviderIdRequest.ProtoReflect.Descriptor instead. +func (*FindAllEnabledDNSDomainsWithDNSProviderIdRequest) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{5} +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +type FindAllEnabledDNSDomainsWithDNSProviderIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsDomains []*DNSDomain `protobuf:"bytes,1,rep,name=dnsDomains,proto3" json:"dnsDomains,omitempty"` +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) Reset() { + *x = FindAllEnabledDNSDomainsWithDNSProviderIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_domain_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse) ProtoMessage() {} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_domain_proto_msgTypes[6] + 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 FindAllEnabledDNSDomainsWithDNSProviderIdResponse.ProtoReflect.Descriptor instead. +func (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse) Descriptor() ([]byte, []int) { + return file_service_dns_domain_proto_rawDescGZIP(), []int{6} +} + +func (x *FindAllEnabledDNSDomainsWithDNSProviderIdResponse) GetDnsDomains() []*DNSDomain { + if x != nil { + return x.DnsDomains + } + return nil +} + +var File_service_dns_domain_proto protoreflect.FileDescriptor + +var file_service_dns_domain_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, + 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, + 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x16, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, + 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x16, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 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, + 0x3a, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x59, 0x0a, 0x31, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, + 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x30, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, + 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x62, 0x0a, 0x31, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x0a, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x44, + 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x0a, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x73, 0x32, 0xfe, 0x03, 0x0a, 0x10, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e, 0x70, + 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1a, 0x2e, + 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x79, 0x0a, 0x2a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x35, 0x2e, + 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 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, 0x98, 0x01, 0x0a, 0x29, 0x66, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, + 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 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 ( + file_service_dns_domain_proto_rawDescOnce sync.Once + file_service_dns_domain_proto_rawDescData = file_service_dns_domain_proto_rawDesc +) + +func file_service_dns_domain_proto_rawDescGZIP() []byte { + file_service_dns_domain_proto_rawDescOnce.Do(func() { + file_service_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_dns_domain_proto_rawDescData) + }) + return file_service_dns_domain_proto_rawDescData +} + +var file_service_dns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_service_dns_domain_proto_goTypes = []interface{}{ + (*CreateDNSDomainRequest)(nil), // 0: pb.CreateDNSDomainRequest + (*CreateDNSDomainResponse)(nil), // 1: pb.CreateDNSDomainResponse + (*UpdateDNSDomainRequest)(nil), // 2: pb.UpdateDNSDomainRequest + (*DeleteDNSDomainRequest)(nil), // 3: pb.DeleteDNSDomainRequest + (*CountAllEnabledDNSDomainsWithDNSProviderIdRequest)(nil), // 4: pb.CountAllEnabledDNSDomainsWithDNSProviderIdRequest + (*FindAllEnabledDNSDomainsWithDNSProviderIdRequest)(nil), // 5: pb.FindAllEnabledDNSDomainsWithDNSProviderIdRequest + (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse)(nil), // 6: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse + (*DNSDomain)(nil), // 7: pb.DNSDomain + (*RPCUpdateSuccess)(nil), // 8: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 9: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 10: pb.RPCCountResponse +} +var file_service_dns_domain_proto_depIdxs = []int32{ + 7, // 0: pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse.dnsDomains:type_name -> pb.DNSDomain + 0, // 1: pb.DNSDomainService.createDNSDomain:input_type -> pb.CreateDNSDomainRequest + 2, // 2: pb.DNSDomainService.updateDNSDomain:input_type -> pb.UpdateDNSDomainRequest + 3, // 3: pb.DNSDomainService.deleteDNSDomain:input_type -> pb.DeleteDNSDomainRequest + 4, // 4: pb.DNSDomainService.countAllEnabledDNSDomainsWithDNSProviderId:input_type -> pb.CountAllEnabledDNSDomainsWithDNSProviderIdRequest + 5, // 5: pb.DNSDomainService.findAllEnabledDNSDomainsWithDNSProviderId:input_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderIdRequest + 1, // 6: pb.DNSDomainService.createDNSDomain:output_type -> pb.CreateDNSDomainResponse + 8, // 7: pb.DNSDomainService.updateDNSDomain:output_type -> pb.RPCUpdateSuccess + 9, // 8: pb.DNSDomainService.deleteDNSDomain:output_type -> pb.RPCDeleteSuccess + 10, // 9: pb.DNSDomainService.countAllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.RPCCountResponse + 6, // 10: pb.DNSDomainService.findAllEnabledDNSDomainsWithDNSProviderId:output_type -> pb.FindAllEnabledDNSDomainsWithDNSProviderIdResponse + 6, // [6:11] is the sub-list for method output_type + 1, // [1:6] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_service_dns_domain_proto_init() } +func file_service_dns_domain_proto_init() { + if File_service_dns_domain_proto != nil { + return + } + file_rpc_messages_proto_init() + file_model_dns_domain_proto_init() + if !protoimpl.UnsafeEnabled { + file_service_dns_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDNSDomainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDNSDomainResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDNSDomainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDNSDomainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountAllEnabledDNSDomainsWithDNSProviderIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllEnabledDNSDomainsWithDNSProviderIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_domain_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllEnabledDNSDomainsWithDNSProviderIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_service_dns_domain_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_service_dns_domain_proto_goTypes, + DependencyIndexes: file_service_dns_domain_proto_depIdxs, + MessageInfos: file_service_dns_domain_proto_msgTypes, + }.Build() + File_service_dns_domain_proto = out.File + file_service_dns_domain_proto_rawDesc = nil + file_service_dns_domain_proto_goTypes = nil + file_service_dns_domain_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 + +// DNSDomainServiceClient is the client API for DNSDomainService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DNSDomainServiceClient interface { + // 创建域名 + CreateDNSDomain(ctx context.Context, in *CreateDNSDomainRequest, opts ...grpc.CallOption) (*CreateDNSDomainResponse, error) + // 修改域名 + UpdateDNSDomain(ctx context.Context, in *UpdateDNSDomainRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) + // 删除域名 + DeleteDNSDomain(ctx context.Context, in *DeleteDNSDomainRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) + // 计算服务商下的域名数量 + CountAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *CountAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) + // 列出服务商下的所有域名 + FindAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *FindAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) +} + +type dNSDomainServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDNSDomainServiceClient(cc grpc.ClientConnInterface) DNSDomainServiceClient { + return &dNSDomainServiceClient{cc} +} + +func (c *dNSDomainServiceClient) CreateDNSDomain(ctx context.Context, in *CreateDNSDomainRequest, opts ...grpc.CallOption) (*CreateDNSDomainResponse, error) { + out := new(CreateDNSDomainResponse) + err := c.cc.Invoke(ctx, "/pb.DNSDomainService/createDNSDomain", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dNSDomainServiceClient) UpdateDNSDomain(ctx context.Context, in *UpdateDNSDomainRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) { + out := new(RPCUpdateSuccess) + err := c.cc.Invoke(ctx, "/pb.DNSDomainService/updateDNSDomain", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dNSDomainServiceClient) DeleteDNSDomain(ctx context.Context, in *DeleteDNSDomainRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) { + out := new(RPCDeleteSuccess) + err := c.cc.Invoke(ctx, "/pb.DNSDomainService/deleteDNSDomain", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dNSDomainServiceClient) CountAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *CountAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) + err := c.cc.Invoke(ctx, "/pb.DNSDomainService/countAllEnabledDNSDomainsWithDNSProviderId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dNSDomainServiceClient) FindAllEnabledDNSDomainsWithDNSProviderId(ctx context.Context, in *FindAllEnabledDNSDomainsWithDNSProviderIdRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) { + out := new(FindAllEnabledDNSDomainsWithDNSProviderIdResponse) + err := c.cc.Invoke(ctx, "/pb.DNSDomainService/findAllEnabledDNSDomainsWithDNSProviderId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DNSDomainServiceServer is the server API for DNSDomainService service. +type DNSDomainServiceServer interface { + // 创建域名 + CreateDNSDomain(context.Context, *CreateDNSDomainRequest) (*CreateDNSDomainResponse, error) + // 修改域名 + UpdateDNSDomain(context.Context, *UpdateDNSDomainRequest) (*RPCUpdateSuccess, error) + // 删除域名 + DeleteDNSDomain(context.Context, *DeleteDNSDomainRequest) (*RPCDeleteSuccess, error) + // 计算服务商下的域名数量 + CountAllEnabledDNSDomainsWithDNSProviderId(context.Context, *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) (*RPCCountResponse, error) + // 列出服务商下的所有域名 + FindAllEnabledDNSDomainsWithDNSProviderId(context.Context, *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) +} + +// UnimplementedDNSDomainServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDNSDomainServiceServer struct { +} + +func (*UnimplementedDNSDomainServiceServer) CreateDNSDomain(context.Context, *CreateDNSDomainRequest) (*CreateDNSDomainResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateDNSDomain not implemented") +} +func (*UnimplementedDNSDomainServiceServer) UpdateDNSDomain(context.Context, *UpdateDNSDomainRequest) (*RPCUpdateSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSDomain not implemented") +} +func (*UnimplementedDNSDomainServiceServer) DeleteDNSDomain(context.Context, *DeleteDNSDomainRequest) (*RPCDeleteSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteDNSDomain not implemented") +} +func (*UnimplementedDNSDomainServiceServer) CountAllEnabledDNSDomainsWithDNSProviderId(context.Context, *CountAllEnabledDNSDomainsWithDNSProviderIdRequest) (*RPCCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDNSDomainsWithDNSProviderId not implemented") +} +func (*UnimplementedDNSDomainServiceServer) FindAllEnabledDNSDomainsWithDNSProviderId(context.Context, *FindAllEnabledDNSDomainsWithDNSProviderIdRequest) (*FindAllEnabledDNSDomainsWithDNSProviderIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledDNSDomainsWithDNSProviderId not implemented") +} + +func RegisterDNSDomainServiceServer(s *grpc.Server, srv DNSDomainServiceServer) { + s.RegisterService(&_DNSDomainService_serviceDesc, srv) +} + +func _DNSDomainService_CreateDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDNSDomainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSDomainServiceServer).CreateDNSDomain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSDomainService/CreateDNSDomain", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSDomainServiceServer).CreateDNSDomain(ctx, req.(*CreateDNSDomainRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DNSDomainService_UpdateDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateDNSDomainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSDomainServiceServer).UpdateDNSDomain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSDomainService/UpdateDNSDomain", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSDomainServiceServer).UpdateDNSDomain(ctx, req.(*UpdateDNSDomainRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DNSDomainService_DeleteDNSDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDNSDomainRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSDomainServiceServer).DeleteDNSDomain(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSDomainService/DeleteDNSDomain", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSDomainServiceServer).DeleteDNSDomain(ctx, req.(*DeleteDNSDomainRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DNSDomainService_CountAllEnabledDNSDomainsWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountAllEnabledDNSDomainsWithDNSProviderIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSDomainServiceServer).CountAllEnabledDNSDomainsWithDNSProviderId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSDomainService/CountAllEnabledDNSDomainsWithDNSProviderId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSDomainServiceServer).CountAllEnabledDNSDomainsWithDNSProviderId(ctx, req.(*CountAllEnabledDNSDomainsWithDNSProviderIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DNSDomainService_FindAllEnabledDNSDomainsWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindAllEnabledDNSDomainsWithDNSProviderIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSDomainServiceServer).FindAllEnabledDNSDomainsWithDNSProviderId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSDomainService/FindAllEnabledDNSDomainsWithDNSProviderId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSDomainServiceServer).FindAllEnabledDNSDomainsWithDNSProviderId(ctx, req.(*FindAllEnabledDNSDomainsWithDNSProviderIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DNSDomainService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "pb.DNSDomainService", + HandlerType: (*DNSDomainServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "createDNSDomain", + Handler: _DNSDomainService_CreateDNSDomain_Handler, + }, + { + MethodName: "updateDNSDomain", + Handler: _DNSDomainService_UpdateDNSDomain_Handler, + }, + { + MethodName: "deleteDNSDomain", + Handler: _DNSDomainService_DeleteDNSDomain_Handler, + }, + { + MethodName: "countAllEnabledDNSDomainsWithDNSProviderId", + Handler: _DNSDomainService_CountAllEnabledDNSDomainsWithDNSProviderId_Handler, + }, + { + MethodName: "findAllEnabledDNSDomainsWithDNSProviderId", + Handler: _DNSDomainService_FindAllEnabledDNSDomainsWithDNSProviderId_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "service_dns_domain.proto", +} diff --git a/pkg/rpc/pb/service_dns_provider.pb.go b/pkg/rpc/pb/service_dns_provider.pb.go index e2fe1fa..352733a 100644 --- a/pkg/rpc/pb/service_dns_provider.pb.go +++ b/pkg/rpc/pb/service_dns_provider.pb.go @@ -38,7 +38,6 @@ type CreateDNSProviderRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"` - RoutesJSON []byte `protobuf:"bytes,4,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"` } func (x *CreateDNSProviderRequest) Reset() { @@ -94,13 +93,6 @@ func (x *CreateDNSProviderRequest) GetApiParamsJSON() []byte { return nil } -func (x *CreateDNSProviderRequest) GetRoutesJSON() []byte { - if x != nil { - return x.RoutesJSON - } - return nil -} - type CreateDNSProviderResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -157,7 +149,6 @@ type UpdateDNSProviderRequest struct { DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ApiParamsJSON []byte `protobuf:"bytes,3,opt,name=apiParamsJSON,proto3" json:"apiParamsJSON,omitempty"` - RoutesJSON []byte `protobuf:"bytes,4,opt,name=routesJSON,proto3" json:"routesJSON,omitempty"` } func (x *UpdateDNSProviderRequest) Reset() { @@ -213,13 +204,6 @@ func (x *UpdateDNSProviderRequest) GetApiParamsJSON() []byte { return nil } -func (x *UpdateDNSProviderRequest) GetRoutesJSON() []byte { - if x != nil { - return x.RoutesJSON - } - return nil -} - // 计算服务商数量 type CountAllEnabledDNSProvidersRequest struct { state protoimpl.MessageState @@ -259,53 +243,6 @@ func (*CountAllEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) { return file_service_dns_provider_proto_rawDescGZIP(), []int{3} } -type CountAllEnabledDNSProvidersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledDNSProvidersResponse) Reset() { - *x = CountAllEnabledDNSProvidersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledDNSProvidersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledDNSProvidersResponse) ProtoMessage() {} - -func (x *CountAllEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_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 CountAllEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{4} -} - -func (x *CountAllEnabledDNSProvidersResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的服务商信息 type ListEnabledDNSProvidersRequest struct { state protoimpl.MessageState @@ -319,7 +256,7 @@ type ListEnabledDNSProvidersRequest struct { func (x *ListEnabledDNSProvidersRequest) Reset() { *x = ListEnabledDNSProvidersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[5] + mi := &file_service_dns_provider_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -332,7 +269,7 @@ func (x *ListEnabledDNSProvidersRequest) String() string { func (*ListEnabledDNSProvidersRequest) ProtoMessage() {} func (x *ListEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[5] + mi := &file_service_dns_provider_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -345,7 +282,7 @@ func (x *ListEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledDNSProvidersRequest.ProtoReflect.Descriptor instead. func (*ListEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{5} + return file_service_dns_provider_proto_rawDescGZIP(), []int{4} } func (x *ListEnabledDNSProvidersRequest) GetOffset() int64 { @@ -373,7 +310,7 @@ type ListEnabledDNSProvidersResponse struct { func (x *ListEnabledDNSProvidersResponse) Reset() { *x = ListEnabledDNSProvidersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[6] + mi := &file_service_dns_provider_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -386,7 +323,7 @@ func (x *ListEnabledDNSProvidersResponse) String() string { func (*ListEnabledDNSProvidersResponse) ProtoMessage() {} func (x *ListEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[6] + mi := &file_service_dns_provider_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -399,7 +336,7 @@ func (x *ListEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead. func (*ListEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{6} + return file_service_dns_provider_proto_rawDescGZIP(), []int{5} } func (x *ListEnabledDNSProvidersResponse) GetDnsProviders() []*DNSProvider { @@ -421,7 +358,7 @@ type DeleteDNSProviderRequest struct { func (x *DeleteDNSProviderRequest) Reset() { *x = DeleteDNSProviderRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[7] + mi := &file_service_dns_provider_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -434,7 +371,7 @@ func (x *DeleteDNSProviderRequest) String() string { func (*DeleteDNSProviderRequest) ProtoMessage() {} func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[7] + mi := &file_service_dns_provider_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -447,7 +384,7 @@ func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDNSProviderRequest.ProtoReflect.Descriptor instead. func (*DeleteDNSProviderRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{7} + return file_service_dns_provider_proto_rawDescGZIP(), []int{6} } func (x *DeleteDNSProviderRequest) GetDnsProviderId() int64 { @@ -469,7 +406,7 @@ type FindEnabledDNSProviderRequest struct { func (x *FindEnabledDNSProviderRequest) Reset() { *x = FindEnabledDNSProviderRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[8] + mi := &file_service_dns_provider_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -482,7 +419,7 @@ func (x *FindEnabledDNSProviderRequest) String() string { func (*FindEnabledDNSProviderRequest) ProtoMessage() {} func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[8] + mi := &file_service_dns_provider_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -495,7 +432,7 @@ func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDNSProviderRequest.ProtoReflect.Descriptor instead. func (*FindEnabledDNSProviderRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{8} + return file_service_dns_provider_proto_rawDescGZIP(), []int{7} } func (x *FindEnabledDNSProviderRequest) GetDnsProviderId() int64 { @@ -516,7 +453,7 @@ type FindEnabledDNSProviderResponse struct { func (x *FindEnabledDNSProviderResponse) Reset() { *x = FindEnabledDNSProviderResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[9] + mi := &file_service_dns_provider_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -529,7 +466,7 @@ func (x *FindEnabledDNSProviderResponse) String() string { func (*FindEnabledDNSProviderResponse) ProtoMessage() {} func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[9] + mi := &file_service_dns_provider_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -542,7 +479,7 @@ func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDNSProviderResponse.ProtoReflect.Descriptor instead. func (*FindEnabledDNSProviderResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{9} + return file_service_dns_provider_proto_rawDescGZIP(), []int{8} } func (x *FindEnabledDNSProviderResponse) GetDnsProvider() *DNSProvider { @@ -562,7 +499,7 @@ type FindAllDNSProviderTypesRequest struct { func (x *FindAllDNSProviderTypesRequest) Reset() { *x = FindAllDNSProviderTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[10] + mi := &file_service_dns_provider_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -575,7 +512,7 @@ func (x *FindAllDNSProviderTypesRequest) String() string { func (*FindAllDNSProviderTypesRequest) ProtoMessage() {} func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[10] + mi := &file_service_dns_provider_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -588,7 +525,7 @@ func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllDNSProviderTypesRequest.ProtoReflect.Descriptor instead. func (*FindAllDNSProviderTypesRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{10} + return file_service_dns_provider_proto_rawDescGZIP(), []int{9} } type FindAllDNSProviderTypesResponse struct { @@ -602,7 +539,7 @@ type FindAllDNSProviderTypesResponse struct { func (x *FindAllDNSProviderTypesResponse) Reset() { *x = FindAllDNSProviderTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[11] + mi := &file_service_dns_provider_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -615,7 +552,7 @@ func (x *FindAllDNSProviderTypesResponse) String() string { func (*FindAllDNSProviderTypesResponse) ProtoMessage() {} func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[11] + mi := &file_service_dns_provider_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -628,7 +565,7 @@ func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllDNSProviderTypesResponse.ProtoReflect.Descriptor instead. func (*FindAllDNSProviderTypesResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{11} + return file_service_dns_provider_proto_rawDescGZIP(), []int{10} } func (x *FindAllDNSProviderTypesResponse) GetProviderTypes() []*DNSProviderType { @@ -650,7 +587,7 @@ type DNSProviderType struct { func (x *DNSProviderType) Reset() { *x = DNSProviderType{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[12] + mi := &file_service_dns_provider_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -663,7 +600,7 @@ func (x *DNSProviderType) String() string { func (*DNSProviderType) ProtoMessage() {} func (x *DNSProviderType) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[12] + mi := &file_service_dns_provider_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -676,7 +613,7 @@ func (x *DNSProviderType) ProtoReflect() protoreflect.Message { // Deprecated: Use DNSProviderType.ProtoReflect.Descriptor instead. func (*DNSProviderType) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{12} + return file_service_dns_provider_proto_rawDescGZIP(), []int{11} } func (x *DNSProviderType) GetName() string { @@ -693,6 +630,109 @@ func (x *DNSProviderType) GetCode() string { return "" } +// 更新数据 +type UpdateDNSProviderDataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` +} + +func (x *UpdateDNSProviderDataRequest) Reset() { + *x = UpdateDNSProviderDataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_provider_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDNSProviderDataRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDNSProviderDataRequest) ProtoMessage() {} + +func (x *UpdateDNSProviderDataRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_provider_proto_msgTypes[12] + 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 UpdateDNSProviderDataRequest.ProtoReflect.Descriptor instead. +func (*UpdateDNSProviderDataRequest) Descriptor() ([]byte, []int) { + return file_service_dns_provider_proto_rawDescGZIP(), []int{12} +} + +func (x *UpdateDNSProviderDataRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +type UpdateDNSProviderDataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *UpdateDNSProviderDataResponse) Reset() { + *x = UpdateDNSProviderDataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_provider_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDNSProviderDataResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDNSProviderDataResponse) ProtoMessage() {} + +func (x *UpdateDNSProviderDataResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_provider_proto_msgTypes[13] + 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 UpdateDNSProviderDataResponse.ProtoReflect.Descriptor instead. +func (*UpdateDNSProviderDataResponse) Descriptor() ([]byte, []int) { + return file_service_dns_provider_proto_rawDescGZIP(), []int{13} +} + +func (x *UpdateDNSProviderDataResponse) GetIsOk() bool { + if x != nil { + return x.IsOk + } + return false +} + +func (x *UpdateDNSProviderDataResponse) GetError() string { + if x != nil { + return x.Error + } + return "" +} + var File_service_dns_provider_proto protoreflect.FileDescriptor var file_service_dns_provider_proto_rawDesc = []byte{ @@ -700,114 +740,120 @@ var file_service_dns_provider_proto_rawDesc = []byte{ 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, - 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 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, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75, - 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, - 0x6f, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, - 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, - 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 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, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x6f, 0x75, - 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, - 0x6f, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x3b, 0x0a, 0x23, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x1e, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 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, 0x56, 0x0a, 0x1f, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, - 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, - 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, + 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 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, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, + 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, - 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, 0x46, - 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, - 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, - 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x32, 0x91, 0x05, 0x0a, 0x12, - 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, - 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, + 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6e, 0x0a, - 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, - 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, - 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 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, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, + 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, 0x0a, + 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 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, 0x56, 0x0a, 0x1f, 0x4c, + 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, + 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, + 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, + 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, + 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x44, 0x0a, 0x1c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, + 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x64, 0x22, 0x49, 0x0a, 0x1d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xdc, 0x05, + 0x0a, 0x12, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 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, 0x62, 0x0a, 0x17, + 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, + 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 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, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, + 0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x44, 0x61, 0x74, 0x61, 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 ( @@ -822,45 +868,49 @@ func file_service_dns_provider_proto_rawDescGZIP() []byte { return file_service_dns_provider_proto_rawDescData } -var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_service_dns_provider_proto_goTypes = []interface{}{ - (*CreateDNSProviderRequest)(nil), // 0: pb.CreateDNSProviderRequest - (*CreateDNSProviderResponse)(nil), // 1: pb.CreateDNSProviderResponse - (*UpdateDNSProviderRequest)(nil), // 2: pb.UpdateDNSProviderRequest - (*CountAllEnabledDNSProvidersRequest)(nil), // 3: pb.CountAllEnabledDNSProvidersRequest - (*CountAllEnabledDNSProvidersResponse)(nil), // 4: pb.CountAllEnabledDNSProvidersResponse - (*ListEnabledDNSProvidersRequest)(nil), // 5: pb.ListEnabledDNSProvidersRequest - (*ListEnabledDNSProvidersResponse)(nil), // 6: pb.ListEnabledDNSProvidersResponse - (*DeleteDNSProviderRequest)(nil), // 7: pb.DeleteDNSProviderRequest - (*FindEnabledDNSProviderRequest)(nil), // 8: pb.FindEnabledDNSProviderRequest - (*FindEnabledDNSProviderResponse)(nil), // 9: pb.FindEnabledDNSProviderResponse - (*FindAllDNSProviderTypesRequest)(nil), // 10: pb.FindAllDNSProviderTypesRequest - (*FindAllDNSProviderTypesResponse)(nil), // 11: pb.FindAllDNSProviderTypesResponse - (*DNSProviderType)(nil), // 12: pb.DNSProviderType - (*DNSProvider)(nil), // 13: pb.DNSProvider - (*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 15: pb.RPCDeleteSuccess + (*CreateDNSProviderRequest)(nil), // 0: pb.CreateDNSProviderRequest + (*CreateDNSProviderResponse)(nil), // 1: pb.CreateDNSProviderResponse + (*UpdateDNSProviderRequest)(nil), // 2: pb.UpdateDNSProviderRequest + (*CountAllEnabledDNSProvidersRequest)(nil), // 3: pb.CountAllEnabledDNSProvidersRequest + (*ListEnabledDNSProvidersRequest)(nil), // 4: pb.ListEnabledDNSProvidersRequest + (*ListEnabledDNSProvidersResponse)(nil), // 5: pb.ListEnabledDNSProvidersResponse + (*DeleteDNSProviderRequest)(nil), // 6: pb.DeleteDNSProviderRequest + (*FindEnabledDNSProviderRequest)(nil), // 7: pb.FindEnabledDNSProviderRequest + (*FindEnabledDNSProviderResponse)(nil), // 8: pb.FindEnabledDNSProviderResponse + (*FindAllDNSProviderTypesRequest)(nil), // 9: pb.FindAllDNSProviderTypesRequest + (*FindAllDNSProviderTypesResponse)(nil), // 10: pb.FindAllDNSProviderTypesResponse + (*DNSProviderType)(nil), // 11: pb.DNSProviderType + (*UpdateDNSProviderDataRequest)(nil), // 12: pb.UpdateDNSProviderDataRequest + (*UpdateDNSProviderDataResponse)(nil), // 13: pb.UpdateDNSProviderDataResponse + (*DNSProvider)(nil), // 14: pb.DNSProvider + (*RPCUpdateSuccess)(nil), // 15: pb.RPCUpdateSuccess + (*RPCCountResponse)(nil), // 16: pb.RPCCountResponse + (*RPCDeleteSuccess)(nil), // 17: pb.RPCDeleteSuccess } var file_service_dns_provider_proto_depIdxs = []int32{ - 13, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider - 13, // 1: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider - 12, // 2: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType + 14, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider + 14, // 1: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider + 11, // 2: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType 0, // 3: pb.DNSProviderService.createDNSProvider:input_type -> pb.CreateDNSProviderRequest 2, // 4: pb.DNSProviderService.updateDNSProvider:input_type -> pb.UpdateDNSProviderRequest 3, // 5: pb.DNSProviderService.countAllEnabledDNSProviders:input_type -> pb.CountAllEnabledDNSProvidersRequest - 5, // 6: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest - 7, // 7: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest - 8, // 8: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest - 10, // 9: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest - 1, // 10: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse - 14, // 11: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCUpdateSuccess - 4, // 12: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.CountAllEnabledDNSProvidersResponse - 6, // 13: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse - 15, // 14: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCDeleteSuccess - 9, // 15: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse - 11, // 16: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse - 10, // [10:17] is the sub-list for method output_type - 3, // [3:10] is the sub-list for method input_type + 4, // 6: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest + 6, // 7: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest + 7, // 8: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest + 9, // 9: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest + 12, // 10: pb.DNSProviderService.updateDNSProviderData:input_type -> pb.UpdateDNSProviderDataRequest + 1, // 11: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse + 15, // 12: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCUpdateSuccess + 16, // 13: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.RPCCountResponse + 5, // 14: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse + 17, // 15: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCDeleteSuccess + 8, // 16: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse + 10, // 17: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse + 13, // 18: pb.DNSProviderService.updateDNSProviderData:output_type -> pb.UpdateDNSProviderDataResponse + 11, // [11:19] is the sub-list for method output_type + 3, // [3:11] 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 @@ -923,18 +973,6 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledDNSProvidersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_dns_provider_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledDNSProvidersRequest); i { case 0: return &v.state @@ -946,7 +984,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledDNSProvidersResponse); i { case 0: return &v.state @@ -958,7 +996,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteDNSProviderRequest); i { case 0: return &v.state @@ -970,7 +1008,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledDNSProviderRequest); i { case 0: return &v.state @@ -982,7 +1020,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledDNSProviderResponse); i { case 0: return &v.state @@ -994,7 +1032,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllDNSProviderTypesRequest); i { case 0: return &v.state @@ -1006,7 +1044,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllDNSProviderTypesResponse); i { case 0: return &v.state @@ -1018,7 +1056,7 @@ func file_service_dns_provider_proto_init() { return nil } } - file_service_dns_provider_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_service_dns_provider_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DNSProviderType); i { case 0: return &v.state @@ -1030,6 +1068,30 @@ func file_service_dns_provider_proto_init() { return nil } } + file_service_dns_provider_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDNSProviderDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_provider_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDNSProviderDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1037,7 +1099,7 @@ func file_service_dns_provider_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_dns_provider_proto_rawDesc, NumEnums: 0, - NumMessages: 13, + NumMessages: 14, NumExtensions: 0, NumServices: 1, }, @@ -1068,7 +1130,7 @@ type DNSProviderServiceClient interface { // 修改服务商 UpdateDNSProvider(ctx context.Context, in *UpdateDNSProviderRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 计算服务商数量 - CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*CountAllEnabledDNSProvidersResponse, error) + CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页服务商信息 ListEnabledDNSProviders(ctx context.Context, in *ListEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*ListEnabledDNSProvidersResponse, error) // 删除服务商 @@ -1077,6 +1139,8 @@ type DNSProviderServiceClient interface { FindEnabledDNSProvider(ctx context.Context, in *FindEnabledDNSProviderRequest, opts ...grpc.CallOption) (*FindEnabledDNSProviderResponse, error) // 取得所有服务商类型 FindAllDNSProviderTypes(ctx context.Context, in *FindAllDNSProviderTypesRequest, opts ...grpc.CallOption) (*FindAllDNSProviderTypesResponse, error) + // 更新数据 + UpdateDNSProviderData(ctx context.Context, in *UpdateDNSProviderDataRequest, opts ...grpc.CallOption) (*UpdateDNSProviderDataResponse, error) } type dNSProviderServiceClient struct { @@ -1105,8 +1169,8 @@ func (c *dNSProviderServiceClient) UpdateDNSProvider(ctx context.Context, in *Up return out, nil } -func (c *dNSProviderServiceClient) CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*CountAllEnabledDNSProvidersResponse, error) { - out := new(CountAllEnabledDNSProvidersResponse) +func (c *dNSProviderServiceClient) CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.DNSProviderService/countAllEnabledDNSProviders", in, out, opts...) if err != nil { return nil, err @@ -1150,6 +1214,15 @@ func (c *dNSProviderServiceClient) FindAllDNSProviderTypes(ctx context.Context, return out, nil } +func (c *dNSProviderServiceClient) UpdateDNSProviderData(ctx context.Context, in *UpdateDNSProviderDataRequest, opts ...grpc.CallOption) (*UpdateDNSProviderDataResponse, error) { + out := new(UpdateDNSProviderDataResponse) + err := c.cc.Invoke(ctx, "/pb.DNSProviderService/updateDNSProviderData", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DNSProviderServiceServer is the server API for DNSProviderService service. type DNSProviderServiceServer interface { // 创建服务商 @@ -1157,7 +1230,7 @@ type DNSProviderServiceServer interface { // 修改服务商 UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error) // 计算服务商数量 - CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*CountAllEnabledDNSProvidersResponse, error) + CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*RPCCountResponse, error) // 列出单页服务商信息 ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) // 删除服务商 @@ -1166,6 +1239,8 @@ type DNSProviderServiceServer interface { FindEnabledDNSProvider(context.Context, *FindEnabledDNSProviderRequest) (*FindEnabledDNSProviderResponse, error) // 取得所有服务商类型 FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error) + // 更新数据 + UpdateDNSProviderData(context.Context, *UpdateDNSProviderDataRequest) (*UpdateDNSProviderDataResponse, error) } // UnimplementedDNSProviderServiceServer can be embedded to have forward compatible implementations. @@ -1178,7 +1253,7 @@ func (*UnimplementedDNSProviderServiceServer) CreateDNSProvider(context.Context, func (*UnimplementedDNSProviderServiceServer) UpdateDNSProvider(context.Context, *UpdateDNSProviderRequest) (*RPCUpdateSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSProvider not implemented") } -func (*UnimplementedDNSProviderServiceServer) CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*CountAllEnabledDNSProvidersResponse, error) { +func (*UnimplementedDNSProviderServiceServer) CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledDNSProviders not implemented") } func (*UnimplementedDNSProviderServiceServer) ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) { @@ -1193,6 +1268,9 @@ func (*UnimplementedDNSProviderServiceServer) FindEnabledDNSProvider(context.Con func (*UnimplementedDNSProviderServiceServer) FindAllDNSProviderTypes(context.Context, *FindAllDNSProviderTypesRequest) (*FindAllDNSProviderTypesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllDNSProviderTypes not implemented") } +func (*UnimplementedDNSProviderServiceServer) UpdateDNSProviderData(context.Context, *UpdateDNSProviderDataRequest) (*UpdateDNSProviderDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateDNSProviderData not implemented") +} func RegisterDNSProviderServiceServer(s *grpc.Server, srv DNSProviderServiceServer) { s.RegisterService(&_DNSProviderService_serviceDesc, srv) @@ -1324,6 +1402,24 @@ func _DNSProviderService_FindAllDNSProviderTypes_Handler(srv interface{}, ctx co return interceptor(ctx, in, info, handler) } +func _DNSProviderService_UpdateDNSProviderData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateDNSProviderDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSProviderServiceServer).UpdateDNSProviderData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSProviderService/UpdateDNSProviderData", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSProviderServiceServer).UpdateDNSProviderData(ctx, req.(*UpdateDNSProviderDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DNSProviderService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.DNSProviderService", HandlerType: (*DNSProviderServiceServer)(nil), @@ -1356,6 +1452,10 @@ var _DNSProviderService_serviceDesc = grpc.ServiceDesc{ MethodName: "findAllDNSProviderTypes", Handler: _DNSProviderService_FindAllDNSProviderTypes_Handler, }, + { + MethodName: "updateDNSProviderData", + Handler: _DNSProviderService_UpdateDNSProviderData_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_dns_provider.proto", diff --git a/pkg/rpc/pb/service_http_cache_policy.pb.go b/pkg/rpc/pb/service_http_cache_policy.pb.go index 67f9d83..85c7be4 100644 --- a/pkg/rpc/pb/service_http_cache_policy.pb.go +++ b/pkg/rpc/pb/service_http_cache_policy.pb.go @@ -465,53 +465,6 @@ func (*CountAllEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) { return file_service_http_cache_policy_proto_rawDescGZIP(), []int{6} } -type CountAllEnabledHTTPCachePoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledHTTPCachePoliciesResponse) Reset() { - *x = CountAllEnabledHTTPCachePoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_http_cache_policy_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledHTTPCachePoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledHTTPCachePoliciesResponse) ProtoMessage() {} - -func (x *CountAllEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_cache_policy_proto_msgTypes[7] - 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 CountAllEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) { - return file_service_http_cache_policy_proto_rawDescGZIP(), []int{7} -} - -func (x *CountAllEnabledHTTPCachePoliciesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的缓存策略 type ListEnabledHTTPCachePoliciesRequest struct { state protoimpl.MessageState @@ -525,7 +478,7 @@ type ListEnabledHTTPCachePoliciesRequest struct { func (x *ListEnabledHTTPCachePoliciesRequest) Reset() { *x = ListEnabledHTTPCachePoliciesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_cache_policy_proto_msgTypes[8] + mi := &file_service_http_cache_policy_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -538,7 +491,7 @@ func (x *ListEnabledHTTPCachePoliciesRequest) String() string { func (*ListEnabledHTTPCachePoliciesRequest) ProtoMessage() {} func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_cache_policy_proto_msgTypes[8] + mi := &file_service_http_cache_policy_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -551,7 +504,7 @@ func (x *ListEnabledHTTPCachePoliciesRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use ListEnabledHTTPCachePoliciesRequest.ProtoReflect.Descriptor instead. func (*ListEnabledHTTPCachePoliciesRequest) Descriptor() ([]byte, []int) { - return file_service_http_cache_policy_proto_rawDescGZIP(), []int{8} + return file_service_http_cache_policy_proto_rawDescGZIP(), []int{7} } func (x *ListEnabledHTTPCachePoliciesRequest) GetOffset() int64 { @@ -579,7 +532,7 @@ type ListEnabledHTTPCachePoliciesResponse struct { func (x *ListEnabledHTTPCachePoliciesResponse) Reset() { *x = ListEnabledHTTPCachePoliciesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_cache_policy_proto_msgTypes[9] + mi := &file_service_http_cache_policy_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -592,7 +545,7 @@ func (x *ListEnabledHTTPCachePoliciesResponse) String() string { func (*ListEnabledHTTPCachePoliciesResponse) ProtoMessage() {} func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_cache_policy_proto_msgTypes[9] + mi := &file_service_http_cache_policy_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -605,7 +558,7 @@ func (x *ListEnabledHTTPCachePoliciesResponse) ProtoReflect() protoreflect.Messa // Deprecated: Use ListEnabledHTTPCachePoliciesResponse.ProtoReflect.Descriptor instead. func (*ListEnabledHTTPCachePoliciesResponse) Descriptor() ([]byte, []int) { - return file_service_http_cache_policy_proto_rawDescGZIP(), []int{9} + return file_service_http_cache_policy_proto_rawDescGZIP(), []int{8} } func (x *ListEnabledHTTPCachePoliciesResponse) GetCachePoliciesJSON() []byte { @@ -627,7 +580,7 @@ type FindEnabledHTTPCachePolicyConfigRequest struct { func (x *FindEnabledHTTPCachePolicyConfigRequest) Reset() { *x = FindEnabledHTTPCachePolicyConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_cache_policy_proto_msgTypes[10] + mi := &file_service_http_cache_policy_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -640,7 +593,7 @@ func (x *FindEnabledHTTPCachePolicyConfigRequest) String() string { func (*FindEnabledHTTPCachePolicyConfigRequest) ProtoMessage() {} func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_cache_policy_proto_msgTypes[10] + mi := &file_service_http_cache_policy_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -653,7 +606,7 @@ func (x *FindEnabledHTTPCachePolicyConfigRequest) ProtoReflect() protoreflect.Me // Deprecated: Use FindEnabledHTTPCachePolicyConfigRequest.ProtoReflect.Descriptor instead. func (*FindEnabledHTTPCachePolicyConfigRequest) Descriptor() ([]byte, []int) { - return file_service_http_cache_policy_proto_rawDescGZIP(), []int{10} + return file_service_http_cache_policy_proto_rawDescGZIP(), []int{9} } func (x *FindEnabledHTTPCachePolicyConfigRequest) GetCachePolicyId() int64 { @@ -674,7 +627,7 @@ type FindEnabledHTTPCachePolicyConfigResponse struct { func (x *FindEnabledHTTPCachePolicyConfigResponse) Reset() { *x = FindEnabledHTTPCachePolicyConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_cache_policy_proto_msgTypes[11] + mi := &file_service_http_cache_policy_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -687,7 +640,7 @@ func (x *FindEnabledHTTPCachePolicyConfigResponse) String() string { func (*FindEnabledHTTPCachePolicyConfigResponse) ProtoMessage() {} func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_cache_policy_proto_msgTypes[11] + mi := &file_service_http_cache_policy_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -700,7 +653,7 @@ func (x *FindEnabledHTTPCachePolicyConfigResponse) ProtoReflect() protoreflect.M // Deprecated: Use FindEnabledHTTPCachePolicyConfigResponse.ProtoReflect.Descriptor instead. func (*FindEnabledHTTPCachePolicyConfigResponse) Descriptor() ([]byte, []int) { - return file_service_http_cache_policy_proto_rawDescGZIP(), []int{11} + return file_service_http_cache_policy_proto_rawDescGZIP(), []int{10} } func (x *FindEnabledHTTPCachePolicyConfigResponse) GetCachePolicyJSON() []byte { @@ -773,82 +726,76 @@ var file_service_http_cache_policy_proto_rawDesc = []byte{ 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x29, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x40, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x51, 0x0a, 0x23, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 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, 0x54, 0x0a, - 0x24, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a, - 0x53, 0x4f, 0x4e, 0x22, 0x4f, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, - 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, - 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0x85, 0x06, 0x0a, 0x16, 0x48, - 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4f, 0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, - 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, - 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x4f, 0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x7d, 0x0a, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, - 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x71, 0x0a, 0x1c, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, - 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x4c, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 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, 0x54, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, - 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, + 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x4a, 0x53, 0x4f, + 0x4e, 0x22, 0x4f, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x49, 0x64, 0x22, 0x54, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, + 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xed, 0x05, 0x0a, 0x16, 0x48, 0x54, 0x54, + 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, + 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5c, 0x0a, 0x15, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, + 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, + 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, + 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4f, + 0x0a, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x65, 0x0a, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x69, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 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, 0x71, 0x0a, 0x1c, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, + 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, + 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x43, + 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 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 ( @@ -863,7 +810,7 @@ func file_service_http_cache_policy_proto_rawDescGZIP() []byte { return file_service_http_cache_policy_proto_rawDescData } -var file_service_http_cache_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_service_http_cache_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_service_http_cache_policy_proto_goTypes = []interface{}{ (*FindAllEnabledHTTPCachePoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPCachePoliciesRequest (*FindAllEnabledHTTPCachePoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPCachePoliciesResponse @@ -872,31 +819,31 @@ var file_service_http_cache_policy_proto_goTypes = []interface{}{ (*UpdateHTTPCachePolicyRequest)(nil), // 4: pb.UpdateHTTPCachePolicyRequest (*DeleteHTTPCachePolicyRequest)(nil), // 5: pb.DeleteHTTPCachePolicyRequest (*CountAllEnabledHTTPCachePoliciesRequest)(nil), // 6: pb.CountAllEnabledHTTPCachePoliciesRequest - (*CountAllEnabledHTTPCachePoliciesResponse)(nil), // 7: pb.CountAllEnabledHTTPCachePoliciesResponse - (*ListEnabledHTTPCachePoliciesRequest)(nil), // 8: pb.ListEnabledHTTPCachePoliciesRequest - (*ListEnabledHTTPCachePoliciesResponse)(nil), // 9: pb.ListEnabledHTTPCachePoliciesResponse - (*FindEnabledHTTPCachePolicyConfigRequest)(nil), // 10: pb.FindEnabledHTTPCachePolicyConfigRequest - (*FindEnabledHTTPCachePolicyConfigResponse)(nil), // 11: pb.FindEnabledHTTPCachePolicyConfigResponse - (*HTTPCachePolicy)(nil), // 12: pb.HTTPCachePolicy - (*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess + (*ListEnabledHTTPCachePoliciesRequest)(nil), // 7: pb.ListEnabledHTTPCachePoliciesRequest + (*ListEnabledHTTPCachePoliciesResponse)(nil), // 8: pb.ListEnabledHTTPCachePoliciesResponse + (*FindEnabledHTTPCachePolicyConfigRequest)(nil), // 9: pb.FindEnabledHTTPCachePolicyConfigRequest + (*FindEnabledHTTPCachePolicyConfigResponse)(nil), // 10: pb.FindEnabledHTTPCachePolicyConfigResponse + (*HTTPCachePolicy)(nil), // 11: pb.HTTPCachePolicy + (*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 13: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 14: pb.RPCCountResponse } var file_service_http_cache_policy_proto_depIdxs = []int32{ - 12, // 0: pb.FindAllEnabledHTTPCachePoliciesResponse.cachePolicies:type_name -> pb.HTTPCachePolicy + 11, // 0: pb.FindAllEnabledHTTPCachePoliciesResponse.cachePolicies:type_name -> pb.HTTPCachePolicy 0, // 1: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:input_type -> pb.FindAllEnabledHTTPCachePoliciesRequest 2, // 2: pb.HTTPCachePolicyService.createHTTPCachePolicy:input_type -> pb.CreateHTTPCachePolicyRequest 4, // 3: pb.HTTPCachePolicyService.updateHTTPCachePolicy:input_type -> pb.UpdateHTTPCachePolicyRequest 5, // 4: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:input_type -> pb.DeleteHTTPCachePolicyRequest 6, // 5: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:input_type -> pb.CountAllEnabledHTTPCachePoliciesRequest - 8, // 6: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:input_type -> pb.ListEnabledHTTPCachePoliciesRequest - 10, // 7: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:input_type -> pb.FindEnabledHTTPCachePolicyConfigRequest + 7, // 6: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:input_type -> pb.ListEnabledHTTPCachePoliciesRequest + 9, // 7: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:input_type -> pb.FindEnabledHTTPCachePolicyConfigRequest 1, // 8: pb.HTTPCachePolicyService.findAllEnabledHTTPCachePolicies:output_type -> pb.FindAllEnabledHTTPCachePoliciesResponse 3, // 9: pb.HTTPCachePolicyService.createHTTPCachePolicy:output_type -> pb.CreateHTTPCachePolicyResponse - 13, // 10: pb.HTTPCachePolicyService.updateHTTPCachePolicy:output_type -> pb.RPCUpdateSuccess - 14, // 11: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:output_type -> pb.RPCDeleteSuccess - 7, // 12: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:output_type -> pb.CountAllEnabledHTTPCachePoliciesResponse - 9, // 13: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:output_type -> pb.ListEnabledHTTPCachePoliciesResponse - 11, // 14: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:output_type -> pb.FindEnabledHTTPCachePolicyConfigResponse + 12, // 10: pb.HTTPCachePolicyService.updateHTTPCachePolicy:output_type -> pb.RPCUpdateSuccess + 13, // 11: pb.HTTPCachePolicyService.deleteHTTPCachePolicy:output_type -> pb.RPCDeleteSuccess + 14, // 12: pb.HTTPCachePolicyService.countAllEnabledHTTPCachePolicies:output_type -> pb.RPCCountResponse + 8, // 13: pb.HTTPCachePolicyService.listEnabledHTTPCachePolicies:output_type -> pb.ListEnabledHTTPCachePoliciesResponse + 10, // 14: pb.HTTPCachePolicyService.findEnabledHTTPCachePolicyConfig:output_type -> pb.FindEnabledHTTPCachePolicyConfigResponse 8, // [8:15] is the sub-list for method output_type 1, // [1:8] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -997,18 +944,6 @@ func file_service_http_cache_policy_proto_init() { } } file_service_http_cache_policy_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledHTTPCachePoliciesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_http_cache_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledHTTPCachePoliciesRequest); i { case 0: return &v.state @@ -1020,7 +955,7 @@ func file_service_http_cache_policy_proto_init() { return nil } } - file_service_http_cache_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_http_cache_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledHTTPCachePoliciesResponse); i { case 0: return &v.state @@ -1032,7 +967,7 @@ func file_service_http_cache_policy_proto_init() { return nil } } - file_service_http_cache_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_http_cache_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledHTTPCachePolicyConfigRequest); i { case 0: return &v.state @@ -1044,7 +979,7 @@ func file_service_http_cache_policy_proto_init() { return nil } } - file_service_http_cache_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_http_cache_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledHTTPCachePolicyConfigResponse); i { case 0: return &v.state @@ -1063,7 +998,7 @@ func file_service_http_cache_policy_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_http_cache_policy_proto_rawDesc, NumEnums: 0, - NumMessages: 12, + NumMessages: 11, NumExtensions: 0, NumServices: 1, }, @@ -1098,7 +1033,7 @@ type HTTPCachePolicyServiceClient interface { // 删除缓存策略 DeleteHTTPCachePolicy(ctx context.Context, in *DeleteHTTPCachePolicyRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) // 计算缓存策略数量 - CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledHTTPCachePoliciesResponse, error) + CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页的缓存策略 ListEnabledHTTPCachePolicies(ctx context.Context, in *ListEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*ListEnabledHTTPCachePoliciesResponse, error) // 查找单个缓存策略配置 @@ -1149,8 +1084,8 @@ func (c *hTTPCachePolicyServiceClient) DeleteHTTPCachePolicy(ctx context.Context return out, nil } -func (c *hTTPCachePolicyServiceClient) CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledHTTPCachePoliciesResponse, error) { - out := new(CountAllEnabledHTTPCachePoliciesResponse) +func (c *hTTPCachePolicyServiceClient) CountAllEnabledHTTPCachePolicies(ctx context.Context, in *CountAllEnabledHTTPCachePoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.HTTPCachePolicyService/countAllEnabledHTTPCachePolicies", in, out, opts...) if err != nil { return nil, err @@ -1187,7 +1122,7 @@ type HTTPCachePolicyServiceServer interface { // 删除缓存策略 DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error) // 计算缓存策略数量 - CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*CountAllEnabledHTTPCachePoliciesResponse, error) + CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*RPCCountResponse, error) // 列出单页的缓存策略 ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error) // 查找单个缓存策略配置 @@ -1210,7 +1145,7 @@ func (*UnimplementedHTTPCachePolicyServiceServer) UpdateHTTPCachePolicy(context. func (*UnimplementedHTTPCachePolicyServiceServer) DeleteHTTPCachePolicy(context.Context, *DeleteHTTPCachePolicyRequest) (*RPCDeleteSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteHTTPCachePolicy not implemented") } -func (*UnimplementedHTTPCachePolicyServiceServer) CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*CountAllEnabledHTTPCachePoliciesResponse, error) { +func (*UnimplementedHTTPCachePolicyServiceServer) CountAllEnabledHTTPCachePolicies(context.Context, *CountAllEnabledHTTPCachePoliciesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledHTTPCachePolicies not implemented") } func (*UnimplementedHTTPCachePolicyServiceServer) ListEnabledHTTPCachePolicies(context.Context, *ListEnabledHTTPCachePoliciesRequest) (*ListEnabledHTTPCachePoliciesResponse, error) { diff --git a/pkg/rpc/pb/service_http_firewall_policy.pb.go b/pkg/rpc/pb/service_http_firewall_policy.pb.go index f4523b7..b8ae7f8 100644 --- a/pkg/rpc/pb/service_http_firewall_policy.pb.go +++ b/pkg/rpc/pb/service_http_firewall_policy.pb.go @@ -473,53 +473,6 @@ func (*CountAllEnabledFirewallPoliciesRequest) Descriptor() ([]byte, []int) { return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{7} } -type CountAllEnabledFirewallPoliciesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledFirewallPoliciesResponse) Reset() { - *x = CountAllEnabledFirewallPoliciesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledFirewallPoliciesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledFirewallPoliciesResponse) ProtoMessage() {} - -func (x *CountAllEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[8] - 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 CountAllEnabledFirewallPoliciesResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledFirewallPoliciesResponse) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{8} -} - -func (x *CountAllEnabledFirewallPoliciesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的防火墙策略 type ListEnabledFirewallPoliciesRequest struct { state protoimpl.MessageState @@ -533,7 +486,7 @@ type ListEnabledFirewallPoliciesRequest struct { func (x *ListEnabledFirewallPoliciesRequest) Reset() { *x = ListEnabledFirewallPoliciesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[9] + mi := &file_service_http_firewall_policy_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -546,7 +499,7 @@ func (x *ListEnabledFirewallPoliciesRequest) String() string { func (*ListEnabledFirewallPoliciesRequest) ProtoMessage() {} func (x *ListEnabledFirewallPoliciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[9] + mi := &file_service_http_firewall_policy_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -559,7 +512,7 @@ func (x *ListEnabledFirewallPoliciesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use ListEnabledFirewallPoliciesRequest.ProtoReflect.Descriptor instead. func (*ListEnabledFirewallPoliciesRequest) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{9} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{8} } func (x *ListEnabledFirewallPoliciesRequest) GetOffset() int64 { @@ -587,7 +540,7 @@ type ListEnabledFirewallPoliciesResponse struct { func (x *ListEnabledFirewallPoliciesResponse) Reset() { *x = ListEnabledFirewallPoliciesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[10] + mi := &file_service_http_firewall_policy_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -600,7 +553,7 @@ func (x *ListEnabledFirewallPoliciesResponse) String() string { func (*ListEnabledFirewallPoliciesResponse) ProtoMessage() {} func (x *ListEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[10] + mi := &file_service_http_firewall_policy_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -613,7 +566,7 @@ func (x *ListEnabledFirewallPoliciesResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use ListEnabledFirewallPoliciesResponse.ProtoReflect.Descriptor instead. func (*ListEnabledFirewallPoliciesResponse) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{10} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{9} } func (x *ListEnabledFirewallPoliciesResponse) GetFirewallPolicies() []*HTTPFirewallPolicy { @@ -635,7 +588,7 @@ type DeleteFirewallPolicyRequest struct { func (x *DeleteFirewallPolicyRequest) Reset() { *x = DeleteFirewallPolicyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[11] + mi := &file_service_http_firewall_policy_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -648,7 +601,7 @@ func (x *DeleteFirewallPolicyRequest) String() string { func (*DeleteFirewallPolicyRequest) ProtoMessage() {} func (x *DeleteFirewallPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[11] + mi := &file_service_http_firewall_policy_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -661,7 +614,7 @@ func (x *DeleteFirewallPolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFirewallPolicyRequest.ProtoReflect.Descriptor instead. func (*DeleteFirewallPolicyRequest) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{11} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{10} } func (x *DeleteFirewallPolicyRequest) GetFirewallPolicyId() int64 { @@ -683,7 +636,7 @@ type FindEnabledFirewallPolicyConfigRequest struct { func (x *FindEnabledFirewallPolicyConfigRequest) Reset() { *x = FindEnabledFirewallPolicyConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[12] + mi := &file_service_http_firewall_policy_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -696,7 +649,7 @@ func (x *FindEnabledFirewallPolicyConfigRequest) String() string { func (*FindEnabledFirewallPolicyConfigRequest) ProtoMessage() {} func (x *FindEnabledFirewallPolicyConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[12] + mi := &file_service_http_firewall_policy_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -709,7 +662,7 @@ func (x *FindEnabledFirewallPolicyConfigRequest) ProtoReflect() protoreflect.Mes // Deprecated: Use FindEnabledFirewallPolicyConfigRequest.ProtoReflect.Descriptor instead. func (*FindEnabledFirewallPolicyConfigRequest) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{12} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{11} } func (x *FindEnabledFirewallPolicyConfigRequest) GetFirewallPolicyId() int64 { @@ -730,7 +683,7 @@ type FindEnabledFirewallPolicyConfigResponse struct { func (x *FindEnabledFirewallPolicyConfigResponse) Reset() { *x = FindEnabledFirewallPolicyConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[13] + mi := &file_service_http_firewall_policy_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -743,7 +696,7 @@ func (x *FindEnabledFirewallPolicyConfigResponse) String() string { func (*FindEnabledFirewallPolicyConfigResponse) ProtoMessage() {} func (x *FindEnabledFirewallPolicyConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[13] + mi := &file_service_http_firewall_policy_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -756,7 +709,7 @@ func (x *FindEnabledFirewallPolicyConfigResponse) ProtoReflect() protoreflect.Me // Deprecated: Use FindEnabledFirewallPolicyConfigResponse.ProtoReflect.Descriptor instead. func (*FindEnabledFirewallPolicyConfigResponse) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{13} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{12} } func (x *FindEnabledFirewallPolicyConfigResponse) GetFirewallPolicyJSON() []byte { @@ -778,7 +731,7 @@ type FindEnabledFirewallPolicyRequest struct { func (x *FindEnabledFirewallPolicyRequest) Reset() { *x = FindEnabledFirewallPolicyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[14] + mi := &file_service_http_firewall_policy_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -791,7 +744,7 @@ func (x *FindEnabledFirewallPolicyRequest) String() string { func (*FindEnabledFirewallPolicyRequest) ProtoMessage() {} func (x *FindEnabledFirewallPolicyRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[14] + mi := &file_service_http_firewall_policy_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -804,7 +757,7 @@ func (x *FindEnabledFirewallPolicyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledFirewallPolicyRequest.ProtoReflect.Descriptor instead. func (*FindEnabledFirewallPolicyRequest) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{14} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{13} } func (x *FindEnabledFirewallPolicyRequest) GetFirewallPolicyId() int64 { @@ -825,7 +778,7 @@ type FindEnabledFirewallPolicyResponse struct { func (x *FindEnabledFirewallPolicyResponse) Reset() { *x = FindEnabledFirewallPolicyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_http_firewall_policy_proto_msgTypes[15] + mi := &file_service_http_firewall_policy_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -838,7 +791,7 @@ func (x *FindEnabledFirewallPolicyResponse) String() string { func (*FindEnabledFirewallPolicyResponse) ProtoMessage() {} func (x *FindEnabledFirewallPolicyResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_http_firewall_policy_proto_msgTypes[15] + mi := &file_service_http_firewall_policy_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -851,7 +804,7 @@ func (x *FindEnabledFirewallPolicyResponse) ProtoReflect() protoreflect.Message // Deprecated: Use FindEnabledFirewallPolicyResponse.ProtoReflect.Descriptor instead. func (*FindEnabledFirewallPolicyResponse) Descriptor() ([]byte, []int) { - return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{15} + return file_service_http_firewall_policy_proto_rawDescGZIP(), []int{14} } func (x *FindEnabledFirewallPolicyResponse) GetFirewallPolicy() *HTTPFirewallPolicy { @@ -927,119 +880,114 @@ var file_service_http_firewall_policy_proto_rawDesc = []byte{ 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x28, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x50, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x69, 0x65, 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, 0x69, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, - 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, - 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, - 0x73, 0x22, 0x49, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, + 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, + 0x65, 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, 0x69, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x10, + 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, + 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x10, + 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, + 0x22, 0x49, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, + 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x26, 0x46, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, + 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, + 0x64, 0x22, 0x59, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x12, + 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, + 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, 0x20, + 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, - 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x26, + 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, - 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, - 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x49, 0x64, 0x22, 0x59, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, - 0x12, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, - 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x66, 0x69, 0x72, 0x65, 0x77, - 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, - 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, - 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, - 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x63, 0x0a, - 0x21, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, - 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, - 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x32, 0xc8, 0x08, 0x0a, 0x19, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, - 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, - 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, + 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x32, 0xb1, 0x08, 0x0a, 0x19, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, - 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, - 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, - 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, - 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, - 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, + 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, + 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, + 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x62, - 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, - 0x6c, 0x6c, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, + 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x18, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x61, 0x0a, 0x1e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, + 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x62, 0x6f, + 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, + 0x6c, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, + 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x69, 0x65, 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, 0x6e, 0x0a, 0x1b, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, - 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, - 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x69, 0x73, 0x74, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, - 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, - 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, - 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4d, 0x0a, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x7a, 0x0a, 0x1f, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, + 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, + 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, + 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, + 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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 ( @@ -1054,7 +1002,7 @@ func file_service_http_firewall_policy_proto_rawDescGZIP() []byte { return file_service_http_firewall_policy_proto_rawDescData } -var file_service_http_firewall_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_service_http_firewall_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_service_http_firewall_policy_proto_goTypes = []interface{}{ (*FindAllEnabledHTTPFirewallPoliciesRequest)(nil), // 0: pb.FindAllEnabledHTTPFirewallPoliciesRequest (*FindAllEnabledHTTPFirewallPoliciesResponse)(nil), // 1: pb.FindAllEnabledHTTPFirewallPoliciesResponse @@ -1064,42 +1012,42 @@ var file_service_http_firewall_policy_proto_goTypes = []interface{}{ (*UpdateHTTPFirewallPolicyGroupsRequest)(nil), // 5: pb.UpdateHTTPFirewallPolicyGroupsRequest (*UpdateHTTPFirewallInboundConfigRequest)(nil), // 6: pb.UpdateHTTPFirewallInboundConfigRequest (*CountAllEnabledFirewallPoliciesRequest)(nil), // 7: pb.CountAllEnabledFirewallPoliciesRequest - (*CountAllEnabledFirewallPoliciesResponse)(nil), // 8: pb.CountAllEnabledFirewallPoliciesResponse - (*ListEnabledFirewallPoliciesRequest)(nil), // 9: pb.ListEnabledFirewallPoliciesRequest - (*ListEnabledFirewallPoliciesResponse)(nil), // 10: pb.ListEnabledFirewallPoliciesResponse - (*DeleteFirewallPolicyRequest)(nil), // 11: pb.DeleteFirewallPolicyRequest - (*FindEnabledFirewallPolicyConfigRequest)(nil), // 12: pb.FindEnabledFirewallPolicyConfigRequest - (*FindEnabledFirewallPolicyConfigResponse)(nil), // 13: pb.FindEnabledFirewallPolicyConfigResponse - (*FindEnabledFirewallPolicyRequest)(nil), // 14: pb.FindEnabledFirewallPolicyRequest - (*FindEnabledFirewallPolicyResponse)(nil), // 15: pb.FindEnabledFirewallPolicyResponse - (*HTTPFirewallPolicy)(nil), // 16: pb.HTTPFirewallPolicy - (*RPCUpdateSuccess)(nil), // 17: pb.RPCUpdateSuccess + (*ListEnabledFirewallPoliciesRequest)(nil), // 8: pb.ListEnabledFirewallPoliciesRequest + (*ListEnabledFirewallPoliciesResponse)(nil), // 9: pb.ListEnabledFirewallPoliciesResponse + (*DeleteFirewallPolicyRequest)(nil), // 10: pb.DeleteFirewallPolicyRequest + (*FindEnabledFirewallPolicyConfigRequest)(nil), // 11: pb.FindEnabledFirewallPolicyConfigRequest + (*FindEnabledFirewallPolicyConfigResponse)(nil), // 12: pb.FindEnabledFirewallPolicyConfigResponse + (*FindEnabledFirewallPolicyRequest)(nil), // 13: pb.FindEnabledFirewallPolicyRequest + (*FindEnabledFirewallPolicyResponse)(nil), // 14: pb.FindEnabledFirewallPolicyResponse + (*HTTPFirewallPolicy)(nil), // 15: pb.HTTPFirewallPolicy + (*RPCUpdateSuccess)(nil), // 16: pb.RPCUpdateSuccess + (*RPCCountResponse)(nil), // 17: pb.RPCCountResponse (*RPCDeleteSuccess)(nil), // 18: pb.RPCDeleteSuccess } var file_service_http_firewall_policy_proto_depIdxs = []int32{ - 16, // 0: pb.FindAllEnabledHTTPFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy - 16, // 1: pb.ListEnabledFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy - 16, // 2: pb.FindEnabledFirewallPolicyResponse.firewallPolicy:type_name -> pb.HTTPFirewallPolicy + 15, // 0: pb.FindAllEnabledHTTPFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy + 15, // 1: pb.ListEnabledFirewallPoliciesResponse.firewallPolicies:type_name -> pb.HTTPFirewallPolicy + 15, // 2: pb.FindEnabledFirewallPolicyResponse.firewallPolicy:type_name -> pb.HTTPFirewallPolicy 0, // 3: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:input_type -> pb.FindAllEnabledHTTPFirewallPoliciesRequest 2, // 4: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:input_type -> pb.CreateHTTPFirewallPolicyRequest 4, // 5: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:input_type -> pb.UpdateHTTPFirewallPolicyRequest 5, // 6: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:input_type -> pb.UpdateHTTPFirewallPolicyGroupsRequest 6, // 7: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:input_type -> pb.UpdateHTTPFirewallInboundConfigRequest 7, // 8: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:input_type -> pb.CountAllEnabledFirewallPoliciesRequest - 9, // 9: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:input_type -> pb.ListEnabledFirewallPoliciesRequest - 11, // 10: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:input_type -> pb.DeleteFirewallPolicyRequest - 12, // 11: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:input_type -> pb.FindEnabledFirewallPolicyConfigRequest - 14, // 12: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:input_type -> pb.FindEnabledFirewallPolicyRequest + 8, // 9: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:input_type -> pb.ListEnabledFirewallPoliciesRequest + 10, // 10: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:input_type -> pb.DeleteFirewallPolicyRequest + 11, // 11: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:input_type -> pb.FindEnabledFirewallPolicyConfigRequest + 13, // 12: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:input_type -> pb.FindEnabledFirewallPolicyRequest 1, // 13: pb.HTTPFirewallPolicyService.findAllEnabledHTTPFirewallPolicies:output_type -> pb.FindAllEnabledHTTPFirewallPoliciesResponse 3, // 14: pb.HTTPFirewallPolicyService.createHTTPFirewallPolicy:output_type -> pb.CreateHTTPFirewallPolicyResponse - 17, // 15: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:output_type -> pb.RPCUpdateSuccess - 17, // 16: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:output_type -> pb.RPCUpdateSuccess - 17, // 17: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:output_type -> pb.RPCUpdateSuccess - 8, // 18: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:output_type -> pb.CountAllEnabledFirewallPoliciesResponse - 10, // 19: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:output_type -> pb.ListEnabledFirewallPoliciesResponse + 16, // 15: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicy:output_type -> pb.RPCUpdateSuccess + 16, // 16: pb.HTTPFirewallPolicyService.updateHTTPFirewallPolicyGroups:output_type -> pb.RPCUpdateSuccess + 16, // 17: pb.HTTPFirewallPolicyService.updateHTTPFirewallInboundConfig:output_type -> pb.RPCUpdateSuccess + 17, // 18: pb.HTTPFirewallPolicyService.countAllEnabledFirewallPolicies:output_type -> pb.RPCCountResponse + 9, // 19: pb.HTTPFirewallPolicyService.listEnabledFirewallPolicies:output_type -> pb.ListEnabledFirewallPoliciesResponse 18, // 20: pb.HTTPFirewallPolicyService.deleteFirewallPolicy:output_type -> pb.RPCDeleteSuccess - 13, // 21: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:output_type -> pb.FindEnabledFirewallPolicyConfigResponse - 15, // 22: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:output_type -> pb.FindEnabledFirewallPolicyResponse + 12, // 21: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicyConfig:output_type -> pb.FindEnabledFirewallPolicyConfigResponse + 14, // 22: pb.HTTPFirewallPolicyService.findEnabledFirewallPolicy:output_type -> pb.FindEnabledFirewallPolicyResponse 13, // [13:23] is the sub-list for method output_type 3, // [3:13] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -1212,18 +1160,6 @@ func file_service_http_firewall_policy_proto_init() { } } file_service_http_firewall_policy_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledFirewallPoliciesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_http_firewall_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledFirewallPoliciesRequest); i { case 0: return &v.state @@ -1235,7 +1171,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledFirewallPoliciesResponse); i { case 0: return &v.state @@ -1247,7 +1183,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteFirewallPolicyRequest); i { case 0: return &v.state @@ -1259,7 +1195,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledFirewallPolicyConfigRequest); i { case 0: return &v.state @@ -1271,7 +1207,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledFirewallPolicyConfigResponse); i { case 0: return &v.state @@ -1283,7 +1219,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledFirewallPolicyRequest); i { case 0: return &v.state @@ -1295,7 +1231,7 @@ func file_service_http_firewall_policy_proto_init() { return nil } } - file_service_http_firewall_policy_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_service_http_firewall_policy_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledFirewallPolicyResponse); i { case 0: return &v.state @@ -1314,7 +1250,7 @@ func file_service_http_firewall_policy_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_http_firewall_policy_proto_rawDesc, NumEnums: 0, - NumMessages: 16, + NumMessages: 15, NumExtensions: 0, NumServices: 1, }, @@ -1351,7 +1287,7 @@ type HTTPFirewallPolicyServiceClient interface { // 修改inbound信息 UpdateHTTPFirewallInboundConfig(ctx context.Context, in *UpdateHTTPFirewallInboundConfigRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 计算可用的防火墙策略数量 - CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledFirewallPoliciesResponse, error) + CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页的防火墙策略 ListEnabledFirewallPolicies(ctx context.Context, in *ListEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*ListEnabledFirewallPoliciesResponse, error) // 删除某个防火墙策略 @@ -1415,8 +1351,8 @@ func (c *hTTPFirewallPolicyServiceClient) UpdateHTTPFirewallInboundConfig(ctx co return out, nil } -func (c *hTTPFirewallPolicyServiceClient) CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*CountAllEnabledFirewallPoliciesResponse, error) { - out := new(CountAllEnabledFirewallPoliciesResponse) +func (c *hTTPFirewallPolicyServiceClient) CountAllEnabledFirewallPolicies(ctx context.Context, in *CountAllEnabledFirewallPoliciesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.HTTPFirewallPolicyService/countAllEnabledFirewallPolicies", in, out, opts...) if err != nil { return nil, err @@ -1473,7 +1409,7 @@ type HTTPFirewallPolicyServiceServer interface { // 修改inbound信息 UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error) // 计算可用的防火墙策略数量 - CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*CountAllEnabledFirewallPoliciesResponse, error) + CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*RPCCountResponse, error) // 列出单页的防火墙策略 ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error) // 删除某个防火墙策略 @@ -1503,7 +1439,7 @@ func (*UnimplementedHTTPFirewallPolicyServiceServer) UpdateHTTPFirewallPolicyGro func (*UnimplementedHTTPFirewallPolicyServiceServer) UpdateHTTPFirewallInboundConfig(context.Context, *UpdateHTTPFirewallInboundConfigRequest) (*RPCUpdateSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateHTTPFirewallInboundConfig not implemented") } -func (*UnimplementedHTTPFirewallPolicyServiceServer) CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*CountAllEnabledFirewallPoliciesResponse, error) { +func (*UnimplementedHTTPFirewallPolicyServiceServer) CountAllEnabledFirewallPolicies(context.Context, *CountAllEnabledFirewallPoliciesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledFirewallPolicies not implemented") } func (*UnimplementedHTTPFirewallPolicyServiceServer) ListEnabledFirewallPolicies(context.Context, *ListEnabledFirewallPoliciesRequest) (*ListEnabledFirewallPoliciesResponse, error) { diff --git a/pkg/rpc/pb/service_ip_item.pb.go b/pkg/rpc/pb/service_ip_item.pb.go index ae78352..32474ae 100644 --- a/pkg/rpc/pb/service_ip_item.pb.go +++ b/pkg/rpc/pb/service_ip_item.pb.go @@ -332,53 +332,6 @@ func (x *CountIPItemsWithListIdRequest) GetIpListId() int64 { return 0 } -type CountIPItemsWithListIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountIPItemsWithListIdResponse) Reset() { - *x = CountIPItemsWithListIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountIPItemsWithListIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountIPItemsWithListIdResponse) ProtoMessage() {} - -func (x *CountIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_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 CountIPItemsWithListIdResponse.ProtoReflect.Descriptor instead. -func (*CountIPItemsWithListIdResponse) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{5} -} - -func (x *CountIPItemsWithListIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页的IP type ListIPItemsWithListIdRequest struct { state protoimpl.MessageState @@ -393,7 +346,7 @@ type ListIPItemsWithListIdRequest struct { func (x *ListIPItemsWithListIdRequest) Reset() { *x = ListIPItemsWithListIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[6] + mi := &file_service_ip_item_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -406,7 +359,7 @@ func (x *ListIPItemsWithListIdRequest) String() string { func (*ListIPItemsWithListIdRequest) ProtoMessage() {} func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[6] + mi := &file_service_ip_item_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -419,7 +372,7 @@ func (x *ListIPItemsWithListIdRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIPItemsWithListIdRequest.ProtoReflect.Descriptor instead. func (*ListIPItemsWithListIdRequest) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{6} + return file_service_ip_item_proto_rawDescGZIP(), []int{5} } func (x *ListIPItemsWithListIdRequest) GetIpListId() int64 { @@ -454,7 +407,7 @@ type ListIPItemsWithListIdResponse struct { func (x *ListIPItemsWithListIdResponse) Reset() { *x = ListIPItemsWithListIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[7] + mi := &file_service_ip_item_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -467,7 +420,7 @@ func (x *ListIPItemsWithListIdResponse) String() string { func (*ListIPItemsWithListIdResponse) ProtoMessage() {} func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[7] + mi := &file_service_ip_item_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -480,7 +433,7 @@ func (x *ListIPItemsWithListIdResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIPItemsWithListIdResponse.ProtoReflect.Descriptor instead. func (*ListIPItemsWithListIdResponse) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{7} + return file_service_ip_item_proto_rawDescGZIP(), []int{6} } func (x *ListIPItemsWithListIdResponse) GetIpItems() []*IPItem { @@ -502,7 +455,7 @@ type FindEnabledIPItemRequest struct { func (x *FindEnabledIPItemRequest) Reset() { *x = FindEnabledIPItemRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[8] + mi := &file_service_ip_item_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -515,7 +468,7 @@ func (x *FindEnabledIPItemRequest) String() string { func (*FindEnabledIPItemRequest) ProtoMessage() {} func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[8] + mi := &file_service_ip_item_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -528,7 +481,7 @@ func (x *FindEnabledIPItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledIPItemRequest.ProtoReflect.Descriptor instead. func (*FindEnabledIPItemRequest) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{8} + return file_service_ip_item_proto_rawDescGZIP(), []int{7} } func (x *FindEnabledIPItemRequest) GetIpItemId() int64 { @@ -549,7 +502,7 @@ type FindEnabledIPItemResponse struct { func (x *FindEnabledIPItemResponse) Reset() { *x = FindEnabledIPItemResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[9] + mi := &file_service_ip_item_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -562,7 +515,7 @@ func (x *FindEnabledIPItemResponse) String() string { func (*FindEnabledIPItemResponse) ProtoMessage() {} func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[9] + mi := &file_service_ip_item_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -575,7 +528,7 @@ func (x *FindEnabledIPItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledIPItemResponse.ProtoReflect.Descriptor instead. func (*FindEnabledIPItemResponse) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{9} + return file_service_ip_item_proto_rawDescGZIP(), []int{8} } func (x *FindEnabledIPItemResponse) GetIpItem() *IPItem { @@ -598,7 +551,7 @@ type ListIPItemsAfterVersionRequest struct { func (x *ListIPItemsAfterVersionRequest) Reset() { *x = ListIPItemsAfterVersionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[10] + mi := &file_service_ip_item_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -611,7 +564,7 @@ func (x *ListIPItemsAfterVersionRequest) String() string { func (*ListIPItemsAfterVersionRequest) ProtoMessage() {} func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[10] + mi := &file_service_ip_item_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -624,7 +577,7 @@ func (x *ListIPItemsAfterVersionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIPItemsAfterVersionRequest.ProtoReflect.Descriptor instead. func (*ListIPItemsAfterVersionRequest) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{10} + return file_service_ip_item_proto_rawDescGZIP(), []int{9} } func (x *ListIPItemsAfterVersionRequest) GetVersion() int64 { @@ -652,7 +605,7 @@ type ListIPItemsAfterVersionResponse struct { func (x *ListIPItemsAfterVersionResponse) Reset() { *x = ListIPItemsAfterVersionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_ip_item_proto_msgTypes[11] + mi := &file_service_ip_item_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -665,7 +618,7 @@ func (x *ListIPItemsAfterVersionResponse) String() string { func (*ListIPItemsAfterVersionResponse) ProtoMessage() {} func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ip_item_proto_msgTypes[11] + mi := &file_service_ip_item_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -678,7 +631,7 @@ func (x *ListIPItemsAfterVersionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListIPItemsAfterVersionResponse.ProtoReflect.Descriptor instead. func (*ListIPItemsAfterVersionResponse) Descriptor() ([]byte, []int) { - return file_service_ip_item_proto_rawDescGZIP(), []int{11} + return file_service_ip_item_proto_rawDescGZIP(), []int{10} } func (x *ListIPItemsAfterVersionResponse) GetIpItems() []*IPItem { @@ -724,76 +677,71 @@ var file_service_ip_item_proto_rawDesc = []byte{ 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x66, 0x0a, 0x1c, + 0x73, 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, + 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, - 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, - 0x69, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x22, 0x45, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, - 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46, + 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, + 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, + 0x65, 0x6d, 0x73, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, - 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x70, 0x49, 0x74, 0x65, - 0x6d, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70, - 0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, - 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, - 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xc5, 0x04, - 0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, - 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, - 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, - 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, - 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, - 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, - 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, - 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, - 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, - 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, - 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, - 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x69, 0x70, 0x49, 0x74, + 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x22, 0x4e, 0x0a, 0x1e, + 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x47, 0x0a, 0x1f, + 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x24, 0x0a, 0x07, 0x69, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x07, 0x69, 0x70, + 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0xb7, 0x04, 0x0a, 0x0d, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x49, + 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 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, 0x5c, 0x0a, 0x15, 0x6c, + 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, + 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x49, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, + 0x50, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x49, 0x50, 0x49, + 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, + 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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 ( @@ -808,42 +756,42 @@ func file_service_ip_item_proto_rawDescGZIP() []byte { return file_service_ip_item_proto_rawDescData } -var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_service_ip_item_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_service_ip_item_proto_goTypes = []interface{}{ (*CreateIPItemRequest)(nil), // 0: pb.CreateIPItemRequest (*CreateIPItemResponse)(nil), // 1: pb.CreateIPItemResponse (*UpdateIPItemRequest)(nil), // 2: pb.UpdateIPItemRequest (*DeleteIPItemRequest)(nil), // 3: pb.DeleteIPItemRequest (*CountIPItemsWithListIdRequest)(nil), // 4: pb.CountIPItemsWithListIdRequest - (*CountIPItemsWithListIdResponse)(nil), // 5: pb.CountIPItemsWithListIdResponse - (*ListIPItemsWithListIdRequest)(nil), // 6: pb.ListIPItemsWithListIdRequest - (*ListIPItemsWithListIdResponse)(nil), // 7: pb.ListIPItemsWithListIdResponse - (*FindEnabledIPItemRequest)(nil), // 8: pb.FindEnabledIPItemRequest - (*FindEnabledIPItemResponse)(nil), // 9: pb.FindEnabledIPItemResponse - (*ListIPItemsAfterVersionRequest)(nil), // 10: pb.ListIPItemsAfterVersionRequest - (*ListIPItemsAfterVersionResponse)(nil), // 11: pb.ListIPItemsAfterVersionResponse - (*IPItem)(nil), // 12: pb.IPItem - (*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 14: pb.RPCDeleteSuccess + (*ListIPItemsWithListIdRequest)(nil), // 5: pb.ListIPItemsWithListIdRequest + (*ListIPItemsWithListIdResponse)(nil), // 6: pb.ListIPItemsWithListIdResponse + (*FindEnabledIPItemRequest)(nil), // 7: pb.FindEnabledIPItemRequest + (*FindEnabledIPItemResponse)(nil), // 8: pb.FindEnabledIPItemResponse + (*ListIPItemsAfterVersionRequest)(nil), // 9: pb.ListIPItemsAfterVersionRequest + (*ListIPItemsAfterVersionResponse)(nil), // 10: pb.ListIPItemsAfterVersionResponse + (*IPItem)(nil), // 11: pb.IPItem + (*RPCUpdateSuccess)(nil), // 12: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 13: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 14: pb.RPCCountResponse } var file_service_ip_item_proto_depIdxs = []int32{ - 12, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem - 12, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem - 12, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem + 11, // 0: pb.ListIPItemsWithListIdResponse.ipItems:type_name -> pb.IPItem + 11, // 1: pb.FindEnabledIPItemResponse.ipItem:type_name -> pb.IPItem + 11, // 2: pb.ListIPItemsAfterVersionResponse.ipItems:type_name -> pb.IPItem 0, // 3: pb.IPItemService.createIPItem:input_type -> pb.CreateIPItemRequest 2, // 4: pb.IPItemService.updateIPItem:input_type -> pb.UpdateIPItemRequest 3, // 5: pb.IPItemService.deleteIPItem:input_type -> pb.DeleteIPItemRequest 4, // 6: pb.IPItemService.countIPItemsWithListId:input_type -> pb.CountIPItemsWithListIdRequest - 6, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest - 8, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest - 10, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest + 5, // 7: pb.IPItemService.listIPItemsWithListId:input_type -> pb.ListIPItemsWithListIdRequest + 7, // 8: pb.IPItemService.findEnabledIPItem:input_type -> pb.FindEnabledIPItemRequest + 9, // 9: pb.IPItemService.listIPItemsAfterVersion:input_type -> pb.ListIPItemsAfterVersionRequest 1, // 10: pb.IPItemService.createIPItem:output_type -> pb.CreateIPItemResponse - 13, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess - 14, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess - 5, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.CountIPItemsWithListIdResponse - 7, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse - 9, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse - 11, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse + 12, // 11: pb.IPItemService.updateIPItem:output_type -> pb.RPCUpdateSuccess + 13, // 12: pb.IPItemService.deleteIPItem:output_type -> pb.RPCDeleteSuccess + 14, // 13: pb.IPItemService.countIPItemsWithListId:output_type -> pb.RPCCountResponse + 6, // 14: pb.IPItemService.listIPItemsWithListId:output_type -> pb.ListIPItemsWithListIdResponse + 8, // 15: pb.IPItemService.findEnabledIPItem:output_type -> pb.FindEnabledIPItemResponse + 10, // 16: pb.IPItemService.listIPItemsAfterVersion:output_type -> pb.ListIPItemsAfterVersionResponse 10, // [10:17] is the sub-list for method output_type 3, // [3:10] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -920,18 +868,6 @@ func file_service_ip_item_proto_init() { } } file_service_ip_item_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountIPItemsWithListIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIPItemsWithListIdRequest); i { case 0: return &v.state @@ -943,7 +879,7 @@ func file_service_ip_item_proto_init() { return nil } } - file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_service_ip_item_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIPItemsWithListIdResponse); i { case 0: return &v.state @@ -955,7 +891,7 @@ func file_service_ip_item_proto_init() { return nil } } - file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_service_ip_item_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledIPItemRequest); i { case 0: return &v.state @@ -967,7 +903,7 @@ func file_service_ip_item_proto_init() { return nil } } - file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_ip_item_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledIPItemResponse); i { case 0: return &v.state @@ -979,7 +915,7 @@ func file_service_ip_item_proto_init() { return nil } } - file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_ip_item_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIPItemsAfterVersionRequest); i { case 0: return &v.state @@ -991,7 +927,7 @@ func file_service_ip_item_proto_init() { return nil } } - file_service_ip_item_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_ip_item_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListIPItemsAfterVersionResponse); i { case 0: return &v.state @@ -1010,7 +946,7 @@ func file_service_ip_item_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_ip_item_proto_rawDesc, NumEnums: 0, - NumMessages: 12, + NumMessages: 11, NumExtensions: 0, NumServices: 1, }, @@ -1043,7 +979,7 @@ type IPItemServiceClient interface { // 删除IP DeleteIPItem(ctx context.Context, in *DeleteIPItemRequest, opts ...grpc.CallOption) (*RPCDeleteSuccess, error) // 计算IP数量 - CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error) + CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页的IP ListIPItemsWithListId(ctx context.Context, in *ListIPItemsWithListIdRequest, opts ...grpc.CallOption) (*ListIPItemsWithListIdResponse, error) // 查找单个IP @@ -1087,8 +1023,8 @@ func (c *iPItemServiceClient) DeleteIPItem(ctx context.Context, in *DeleteIPItem return out, nil } -func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*CountIPItemsWithListIdResponse, error) { - out := new(CountIPItemsWithListIdResponse) +func (c *iPItemServiceClient) CountIPItemsWithListId(ctx context.Context, in *CountIPItemsWithListIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.IPItemService/countIPItemsWithListId", in, out, opts...) if err != nil { return nil, err @@ -1132,7 +1068,7 @@ type IPItemServiceServer interface { // 删除IP DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error) // 计算IP数量 - CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error) + CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error) // 列出单页的IP ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error) // 查找单个IP @@ -1154,7 +1090,7 @@ func (*UnimplementedIPItemServiceServer) UpdateIPItem(context.Context, *UpdateIP func (*UnimplementedIPItemServiceServer) DeleteIPItem(context.Context, *DeleteIPItemRequest) (*RPCDeleteSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteIPItem not implemented") } -func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*CountIPItemsWithListIdResponse, error) { +func (*UnimplementedIPItemServiceServer) CountIPItemsWithListId(context.Context, *CountIPItemsWithListIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountIPItemsWithListId not implemented") } func (*UnimplementedIPItemServiceServer) ListIPItemsWithListId(context.Context, *ListIPItemsWithListIdRequest) (*ListIPItemsWithListIdResponse, error) { diff --git a/pkg/rpc/pb/service_log.pb.go b/pkg/rpc/pb/service_log.pb.go index 2d0c944..89ec733 100644 --- a/pkg/rpc/pb/service_log.pb.go +++ b/pkg/rpc/pb/service_log.pb.go @@ -178,53 +178,6 @@ func (*CountLogRequest) Descriptor() ([]byte, []int) { return file_service_log_proto_rawDescGZIP(), []int{2} } -type CountLogResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountLogResponse) Reset() { - *x = CountLogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_log_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountLogResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountLogResponse) ProtoMessage() {} - -func (x *CountLogResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_log_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 CountLogResponse.ProtoReflect.Descriptor instead. -func (*CountLogResponse) Descriptor() ([]byte, []int) { - return file_service_log_proto_rawDescGZIP(), []int{3} -} - -func (x *CountLogResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页日志 type ListLogsRequest struct { state protoimpl.MessageState @@ -238,7 +191,7 @@ type ListLogsRequest struct { func (x *ListLogsRequest) Reset() { *x = ListLogsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_log_proto_msgTypes[4] + mi := &file_service_log_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -251,7 +204,7 @@ func (x *ListLogsRequest) String() string { func (*ListLogsRequest) ProtoMessage() {} func (x *ListLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_log_proto_msgTypes[4] + mi := &file_service_log_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -264,7 +217,7 @@ func (x *ListLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLogsRequest.ProtoReflect.Descriptor instead. func (*ListLogsRequest) Descriptor() ([]byte, []int) { - return file_service_log_proto_rawDescGZIP(), []int{4} + return file_service_log_proto_rawDescGZIP(), []int{3} } func (x *ListLogsRequest) GetOffset() int64 { @@ -292,7 +245,7 @@ type ListLogsResponse struct { func (x *ListLogsResponse) Reset() { *x = ListLogsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_log_proto_msgTypes[5] + mi := &file_service_log_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -305,7 +258,7 @@ func (x *ListLogsResponse) String() string { func (*ListLogsResponse) ProtoMessage() {} func (x *ListLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_log_proto_msgTypes[5] + mi := &file_service_log_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -318,7 +271,7 @@ func (x *ListLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLogsResponse.ProtoReflect.Descriptor instead. func (*ListLogsResponse) Descriptor() ([]byte, []int) { - return file_service_log_proto_rawDescGZIP(), []int{5} + return file_service_log_proto_rawDescGZIP(), []int{4} } func (x *ListLogsResponse) GetLogs() []*Log { @@ -332,40 +285,38 @@ var File_service_log_proto protoreflect.FileDescriptor var file_service_log_proto_rawDesc = []byte{ 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c, - 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, - 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x13, 0x0a, 0x11, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x10, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3d, - 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 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, 0x2f, 0x0a, - 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x07, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0xb5, - 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, + 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, - 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 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, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, + 0x22, 0x13, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, + 0x4c, 0x6f, 0x67, 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, 0x2f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4c, + 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x70, 0x62, 0x2e, 0x4c, + 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0xb5, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 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, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x73, + 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, + 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x67, 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 ( @@ -380,24 +331,24 @@ func file_service_log_proto_rawDescGZIP() []byte { return file_service_log_proto_rawDescData } -var file_service_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_service_log_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_service_log_proto_goTypes = []interface{}{ (*CreateLogRequest)(nil), // 0: pb.CreateLogRequest (*CreateLogResponse)(nil), // 1: pb.CreateLogResponse (*CountLogRequest)(nil), // 2: pb.CountLogRequest - (*CountLogResponse)(nil), // 3: pb.CountLogResponse - (*ListLogsRequest)(nil), // 4: pb.ListLogsRequest - (*ListLogsResponse)(nil), // 5: pb.ListLogsResponse - (*Log)(nil), // 6: pb.Log + (*ListLogsRequest)(nil), // 3: pb.ListLogsRequest + (*ListLogsResponse)(nil), // 4: pb.ListLogsResponse + (*Log)(nil), // 5: pb.Log + (*RPCCountResponse)(nil), // 6: pb.RPCCountResponse } var file_service_log_proto_depIdxs = []int32{ - 6, // 0: pb.ListLogsResponse.logs:type_name -> pb.Log + 5, // 0: pb.ListLogsResponse.logs:type_name -> pb.Log 0, // 1: pb.LogService.createLog:input_type -> pb.CreateLogRequest 2, // 2: pb.LogService.countLogs:input_type -> pb.CountLogRequest - 4, // 3: pb.LogService.listLogs:input_type -> pb.ListLogsRequest + 3, // 3: pb.LogService.listLogs:input_type -> pb.ListLogsRequest 1, // 4: pb.LogService.createLog:output_type -> pb.CreateLogResponse - 3, // 5: pb.LogService.countLogs:output_type -> pb.CountLogResponse - 5, // 6: pb.LogService.listLogs:output_type -> pb.ListLogsResponse + 6, // 5: pb.LogService.countLogs:output_type -> pb.RPCCountResponse + 4, // 6: pb.LogService.listLogs:output_type -> pb.ListLogsResponse 4, // [4:7] is the sub-list for method output_type 1, // [1:4] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -410,6 +361,7 @@ func file_service_log_proto_init() { if File_service_log_proto != nil { return } + file_rpc_messages_proto_init() file_model_log_proto_init() if !protoimpl.UnsafeEnabled { file_service_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -449,18 +401,6 @@ func file_service_log_proto_init() { } } file_service_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountLogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListLogsRequest); i { case 0: return &v.state @@ -472,7 +412,7 @@ func file_service_log_proto_init() { return nil } } - file_service_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_service_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListLogsResponse); i { case 0: return &v.state @@ -491,7 +431,7 @@ func file_service_log_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_log_proto_rawDesc, NumEnums: 0, - NumMessages: 6, + NumMessages: 5, NumExtensions: 0, NumServices: 1, }, @@ -520,7 +460,7 @@ type LogServiceClient interface { // 创建日志 CreateLog(ctx context.Context, in *CreateLogRequest, opts ...grpc.CallOption) (*CreateLogResponse, error) // 计算日志数量 - CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*CountLogResponse, error) + CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页日志 ListLogs(ctx context.Context, in *ListLogsRequest, opts ...grpc.CallOption) (*ListLogsResponse, error) } @@ -542,8 +482,8 @@ func (c *logServiceClient) CreateLog(ctx context.Context, in *CreateLogRequest, return out, nil } -func (c *logServiceClient) CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*CountLogResponse, error) { - out := new(CountLogResponse) +func (c *logServiceClient) CountLogs(ctx context.Context, in *CountLogRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.LogService/countLogs", in, out, opts...) if err != nil { return nil, err @@ -565,7 +505,7 @@ type LogServiceServer interface { // 创建日志 CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error) // 计算日志数量 - CountLogs(context.Context, *CountLogRequest) (*CountLogResponse, error) + CountLogs(context.Context, *CountLogRequest) (*RPCCountResponse, error) // 列出单页日志 ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error) } @@ -577,7 +517,7 @@ type UnimplementedLogServiceServer struct { func (*UnimplementedLogServiceServer) CreateLog(context.Context, *CreateLogRequest) (*CreateLogResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateLog not implemented") } -func (*UnimplementedLogServiceServer) CountLogs(context.Context, *CountLogRequest) (*CountLogResponse, error) { +func (*UnimplementedLogServiceServer) CountLogs(context.Context, *CountLogRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountLogs not implemented") } func (*UnimplementedLogServiceServer) ListLogs(context.Context, *ListLogsRequest) (*ListLogsResponse, error) { diff --git a/pkg/rpc/pb/service_message.pb.go b/pkg/rpc/pb/service_message.pb.go index e04d171..cba62ab 100644 --- a/pkg/rpc/pb/service_message.pb.go +++ b/pkg/rpc/pb/service_message.pb.go @@ -68,53 +68,6 @@ func (*CountUnreadMessagesRequest) Descriptor() ([]byte, []int) { return file_service_message_proto_rawDescGZIP(), []int{0} } -type CountUnreadMessagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountUnreadMessagesResponse) Reset() { - *x = CountUnreadMessagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountUnreadMessagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountUnreadMessagesResponse) ProtoMessage() {} - -func (x *CountUnreadMessagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_message_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 CountUnreadMessagesResponse.ProtoReflect.Descriptor instead. -func (*CountUnreadMessagesResponse) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{1} -} - -func (x *CountUnreadMessagesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页未读消息 type ListUnreadMessagesRequest struct { state protoimpl.MessageState @@ -128,7 +81,7 @@ type ListUnreadMessagesRequest struct { func (x *ListUnreadMessagesRequest) Reset() { *x = ListUnreadMessagesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[2] + mi := &file_service_message_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -141,7 +94,7 @@ func (x *ListUnreadMessagesRequest) String() string { func (*ListUnreadMessagesRequest) ProtoMessage() {} func (x *ListUnreadMessagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_message_proto_msgTypes[2] + mi := &file_service_message_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -154,7 +107,7 @@ func (x *ListUnreadMessagesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUnreadMessagesRequest.ProtoReflect.Descriptor instead. func (*ListUnreadMessagesRequest) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{2} + return file_service_message_proto_rawDescGZIP(), []int{1} } func (x *ListUnreadMessagesRequest) GetOffset() int64 { @@ -182,7 +135,7 @@ type ListUnreadMessagesResponse struct { func (x *ListUnreadMessagesResponse) Reset() { *x = ListUnreadMessagesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[3] + mi := &file_service_message_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -195,7 +148,7 @@ func (x *ListUnreadMessagesResponse) String() string { func (*ListUnreadMessagesResponse) ProtoMessage() {} func (x *ListUnreadMessagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_message_proto_msgTypes[3] + mi := &file_service_message_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -208,7 +161,7 @@ func (x *ListUnreadMessagesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUnreadMessagesResponse.ProtoReflect.Descriptor instead. func (*ListUnreadMessagesResponse) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{3} + return file_service_message_proto_rawDescGZIP(), []int{2} } func (x *ListUnreadMessagesResponse) GetMessages() []*Message { @@ -231,7 +184,7 @@ type UpdateMessageReadRequest struct { func (x *UpdateMessageReadRequest) Reset() { *x = UpdateMessageReadRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[4] + mi := &file_service_message_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -244,7 +197,7 @@ func (x *UpdateMessageReadRequest) String() string { func (*UpdateMessageReadRequest) ProtoMessage() {} func (x *UpdateMessageReadRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_message_proto_msgTypes[4] + mi := &file_service_message_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -257,7 +210,7 @@ func (x *UpdateMessageReadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMessageReadRequest.ProtoReflect.Descriptor instead. func (*UpdateMessageReadRequest) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{4} + return file_service_message_proto_rawDescGZIP(), []int{3} } func (x *UpdateMessageReadRequest) GetMessageId() int64 { @@ -287,7 +240,7 @@ type UpdateMessagesReadRequest struct { func (x *UpdateMessagesReadRequest) Reset() { *x = UpdateMessagesReadRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[5] + mi := &file_service_message_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -300,7 +253,7 @@ func (x *UpdateMessagesReadRequest) String() string { func (*UpdateMessagesReadRequest) ProtoMessage() {} func (x *UpdateMessagesReadRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_message_proto_msgTypes[5] + mi := &file_service_message_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -313,7 +266,7 @@ func (x *UpdateMessagesReadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMessagesReadRequest.ProtoReflect.Descriptor instead. func (*UpdateMessagesReadRequest) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{5} + return file_service_message_proto_rawDescGZIP(), []int{4} } func (x *UpdateMessagesReadRequest) GetMessageIds() []int64 { @@ -340,7 +293,7 @@ type UpdateAllMessagesReadRequest struct { func (x *UpdateAllMessagesReadRequest) Reset() { *x = UpdateAllMessagesReadRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_message_proto_msgTypes[6] + mi := &file_service_message_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -353,7 +306,7 @@ func (x *UpdateAllMessagesReadRequest) String() string { func (*UpdateAllMessagesReadRequest) ProtoMessage() {} func (x *UpdateAllMessagesReadRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_message_proto_msgTypes[6] + mi := &file_service_message_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -366,7 +319,7 @@ func (x *UpdateAllMessagesReadRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateAllMessagesReadRequest.ProtoReflect.Descriptor instead. func (*UpdateAllMessagesReadRequest) Descriptor() ([]byte, []int) { - return file_service_message_proto_rawDescGZIP(), []int{6} + return file_service_message_proto_rawDescGZIP(), []int{5} } var File_service_message_proto protoreflect.FileDescriptor @@ -378,38 +331,34 @@ var file_service_message_proto_rawDesc = []byte{ 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x33, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, - 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x55, - 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 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, 0x45, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, - 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, - 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x53, 0x0a, 0x19, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x1e, - 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0xa2, - 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x56, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73, + 0x73, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 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, 0x45, 0x0a, 0x1a, 0x4c, + 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, + 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x22, 0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, + 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, + 0x52, 0x65, 0x61, 0x64, 0x22, 0x53, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, + 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0x97, 0x03, 0x0a, 0x0e, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x13, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x6e, + 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 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, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, @@ -445,27 +394,27 @@ func file_service_message_proto_rawDescGZIP() []byte { return file_service_message_proto_rawDescData } -var file_service_message_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_service_message_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_service_message_proto_goTypes = []interface{}{ (*CountUnreadMessagesRequest)(nil), // 0: pb.CountUnreadMessagesRequest - (*CountUnreadMessagesResponse)(nil), // 1: pb.CountUnreadMessagesResponse - (*ListUnreadMessagesRequest)(nil), // 2: pb.ListUnreadMessagesRequest - (*ListUnreadMessagesResponse)(nil), // 3: pb.ListUnreadMessagesResponse - (*UpdateMessageReadRequest)(nil), // 4: pb.UpdateMessageReadRequest - (*UpdateMessagesReadRequest)(nil), // 5: pb.UpdateMessagesReadRequest - (*UpdateAllMessagesReadRequest)(nil), // 6: pb.UpdateAllMessagesReadRequest - (*Message)(nil), // 7: pb.Message + (*ListUnreadMessagesRequest)(nil), // 1: pb.ListUnreadMessagesRequest + (*ListUnreadMessagesResponse)(nil), // 2: pb.ListUnreadMessagesResponse + (*UpdateMessageReadRequest)(nil), // 3: pb.UpdateMessageReadRequest + (*UpdateMessagesReadRequest)(nil), // 4: pb.UpdateMessagesReadRequest + (*UpdateAllMessagesReadRequest)(nil), // 5: pb.UpdateAllMessagesReadRequest + (*Message)(nil), // 6: pb.Message + (*RPCCountResponse)(nil), // 7: pb.RPCCountResponse (*RPCUpdateSuccess)(nil), // 8: pb.RPCUpdateSuccess } var file_service_message_proto_depIdxs = []int32{ - 7, // 0: pb.ListUnreadMessagesResponse.messages:type_name -> pb.Message + 6, // 0: pb.ListUnreadMessagesResponse.messages:type_name -> pb.Message 0, // 1: pb.MessageService.countUnreadMessages:input_type -> pb.CountUnreadMessagesRequest - 2, // 2: pb.MessageService.listUnreadMessages:input_type -> pb.ListUnreadMessagesRequest - 4, // 3: pb.MessageService.updateMessageRead:input_type -> pb.UpdateMessageReadRequest - 5, // 4: pb.MessageService.updateMessagesRead:input_type -> pb.UpdateMessagesReadRequest - 6, // 5: pb.MessageService.updateAllMessagesRead:input_type -> pb.UpdateAllMessagesReadRequest - 1, // 6: pb.MessageService.countUnreadMessages:output_type -> pb.CountUnreadMessagesResponse - 3, // 7: pb.MessageService.listUnreadMessages:output_type -> pb.ListUnreadMessagesResponse + 1, // 2: pb.MessageService.listUnreadMessages:input_type -> pb.ListUnreadMessagesRequest + 3, // 3: pb.MessageService.updateMessageRead:input_type -> pb.UpdateMessageReadRequest + 4, // 4: pb.MessageService.updateMessagesRead:input_type -> pb.UpdateMessagesReadRequest + 5, // 5: pb.MessageService.updateAllMessagesRead:input_type -> pb.UpdateAllMessagesReadRequest + 7, // 6: pb.MessageService.countUnreadMessages:output_type -> pb.RPCCountResponse + 2, // 7: pb.MessageService.listUnreadMessages:output_type -> pb.ListUnreadMessagesResponse 8, // 8: pb.MessageService.updateMessageRead:output_type -> pb.RPCUpdateSuccess 8, // 9: pb.MessageService.updateMessagesRead:output_type -> pb.RPCUpdateSuccess 8, // 10: pb.MessageService.updateAllMessagesRead:output_type -> pb.RPCUpdateSuccess @@ -497,18 +446,6 @@ func file_service_message_proto_init() { } } file_service_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountUnreadMessagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUnreadMessagesRequest); i { case 0: return &v.state @@ -520,7 +457,7 @@ func file_service_message_proto_init() { return nil } } - file_service_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_service_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListUnreadMessagesResponse); i { case 0: return &v.state @@ -532,7 +469,7 @@ func file_service_message_proto_init() { return nil } } - file_service_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_service_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateMessageReadRequest); i { case 0: return &v.state @@ -544,7 +481,7 @@ func file_service_message_proto_init() { return nil } } - file_service_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_service_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateMessagesReadRequest); i { case 0: return &v.state @@ -556,7 +493,7 @@ func file_service_message_proto_init() { return nil } } - file_service_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_service_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAllMessagesReadRequest); i { case 0: return &v.state @@ -575,7 +512,7 @@ func file_service_message_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_message_proto_rawDesc, NumEnums: 0, - NumMessages: 7, + NumMessages: 6, NumExtensions: 0, NumServices: 1, }, @@ -602,7 +539,7 @@ const _ = grpc.SupportPackageIsVersion6 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MessageServiceClient interface { // 计算未读消息数 - CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*CountUnreadMessagesResponse, error) + CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页未读消息 ListUnreadMessages(ctx context.Context, in *ListUnreadMessagesRequest, opts ...grpc.CallOption) (*ListUnreadMessagesResponse, error) // 设置消息已读状态 @@ -621,8 +558,8 @@ func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient { return &messageServiceClient{cc} } -func (c *messageServiceClient) CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*CountUnreadMessagesResponse, error) { - out := new(CountUnreadMessagesResponse) +func (c *messageServiceClient) CountUnreadMessages(ctx context.Context, in *CountUnreadMessagesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.MessageService/countUnreadMessages", in, out, opts...) if err != nil { return nil, err @@ -669,7 +606,7 @@ func (c *messageServiceClient) UpdateAllMessagesRead(ctx context.Context, in *Up // MessageServiceServer is the server API for MessageService service. type MessageServiceServer interface { // 计算未读消息数 - CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*CountUnreadMessagesResponse, error) + CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*RPCCountResponse, error) // 列出单页未读消息 ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error) // 设置消息已读状态 @@ -684,7 +621,7 @@ type MessageServiceServer interface { type UnimplementedMessageServiceServer struct { } -func (*UnimplementedMessageServiceServer) CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*CountUnreadMessagesResponse, error) { +func (*UnimplementedMessageServiceServer) CountUnreadMessages(context.Context, *CountUnreadMessagesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountUnreadMessages not implemented") } func (*UnimplementedMessageServiceServer) ListUnreadMessages(context.Context, *ListUnreadMessagesRequest) (*ListUnreadMessagesResponse, error) { diff --git a/pkg/rpc/pb/service_node.pb.go b/pkg/rpc/pb/service_node.pb.go index 4220b82..9ec6e30 100644 --- a/pkg/rpc/pb/service_node.pb.go +++ b/pkg/rpc/pb/service_node.pb.go @@ -298,53 +298,6 @@ func (*CountAllEnabledNodesRequest) Descriptor() ([]byte, []int) { return file_service_node_proto_rawDescGZIP(), []int{4} } -type CountAllEnabledNodesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodesResponse) Reset() { - *x = CountAllEnabledNodesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodesResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_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 CountAllEnabledNodesResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodesResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{5} -} - -func (x *CountAllEnabledNodesResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页节点 type ListEnabledNodesMatchRequest struct { state protoimpl.MessageState @@ -363,7 +316,7 @@ type ListEnabledNodesMatchRequest struct { func (x *ListEnabledNodesMatchRequest) Reset() { *x = ListEnabledNodesMatchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[6] + mi := &file_service_node_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -376,7 +329,7 @@ func (x *ListEnabledNodesMatchRequest) String() string { func (*ListEnabledNodesMatchRequest) ProtoMessage() {} func (x *ListEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[6] + mi := &file_service_node_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -389,7 +342,7 @@ func (x *ListEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodesMatchRequest.ProtoReflect.Descriptor instead. func (*ListEnabledNodesMatchRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{6} + return file_service_node_proto_rawDescGZIP(), []int{5} } func (x *ListEnabledNodesMatchRequest) GetOffset() int64 { @@ -452,7 +405,7 @@ type ListEnabledNodesMatchResponse struct { func (x *ListEnabledNodesMatchResponse) Reset() { *x = ListEnabledNodesMatchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[7] + mi := &file_service_node_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -465,7 +418,7 @@ func (x *ListEnabledNodesMatchResponse) String() string { func (*ListEnabledNodesMatchResponse) ProtoMessage() {} func (x *ListEnabledNodesMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[7] + mi := &file_service_node_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -478,7 +431,7 @@ func (x *ListEnabledNodesMatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodesMatchResponse.ProtoReflect.Descriptor instead. func (*ListEnabledNodesMatchResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{7} + return file_service_node_proto_rawDescGZIP(), []int{6} } func (x *ListEnabledNodesMatchResponse) GetNodes() []*Node { @@ -500,7 +453,7 @@ type FindAllEnabledNodesWithClusterIdRequest struct { func (x *FindAllEnabledNodesWithClusterIdRequest) Reset() { *x = FindAllEnabledNodesWithClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[8] + mi := &file_service_node_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -513,7 +466,7 @@ func (x *FindAllEnabledNodesWithClusterIdRequest) String() string { func (*FindAllEnabledNodesWithClusterIdRequest) ProtoMessage() {} func (x *FindAllEnabledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[8] + mi := &file_service_node_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -526,7 +479,7 @@ func (x *FindAllEnabledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Me // Deprecated: Use FindAllEnabledNodesWithClusterIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodesWithClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{8} + return file_service_node_proto_rawDescGZIP(), []int{7} } func (x *FindAllEnabledNodesWithClusterIdRequest) GetClusterId() int64 { @@ -547,7 +500,7 @@ type FindAllEnabledNodesWithClusterIdResponse struct { func (x *FindAllEnabledNodesWithClusterIdResponse) Reset() { *x = FindAllEnabledNodesWithClusterIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[9] + mi := &file_service_node_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -560,7 +513,7 @@ func (x *FindAllEnabledNodesWithClusterIdResponse) String() string { func (*FindAllEnabledNodesWithClusterIdResponse) ProtoMessage() {} func (x *FindAllEnabledNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[9] + mi := &file_service_node_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -573,7 +526,7 @@ func (x *FindAllEnabledNodesWithClusterIdResponse) ProtoReflect() protoreflect.M // Deprecated: Use FindAllEnabledNodesWithClusterIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodesWithClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{9} + return file_service_node_proto_rawDescGZIP(), []int{8} } func (x *FindAllEnabledNodesWithClusterIdResponse) GetNodes() []*Node { @@ -595,7 +548,7 @@ type DisableNodeRequest struct { func (x *DisableNodeRequest) Reset() { *x = DisableNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[10] + mi := &file_service_node_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -608,7 +561,7 @@ func (x *DisableNodeRequest) String() string { func (*DisableNodeRequest) ProtoMessage() {} func (x *DisableNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[10] + mi := &file_service_node_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -621,7 +574,7 @@ func (x *DisableNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableNodeRequest.ProtoReflect.Descriptor instead. func (*DisableNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{10} + return file_service_node_proto_rawDescGZIP(), []int{9} } func (x *DisableNodeRequest) GetNodeId() int64 { @@ -640,7 +593,7 @@ type DisableNodeResponse struct { func (x *DisableNodeResponse) Reset() { *x = DisableNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[11] + mi := &file_service_node_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -653,7 +606,7 @@ func (x *DisableNodeResponse) String() string { func (*DisableNodeResponse) ProtoMessage() {} func (x *DisableNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[11] + mi := &file_service_node_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -666,7 +619,7 @@ func (x *DisableNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableNodeResponse.ProtoReflect.Descriptor instead. func (*DisableNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{11} + return file_service_node_proto_rawDescGZIP(), []int{10} } // 修改节点 @@ -687,7 +640,7 @@ type UpdateNodeRequest struct { func (x *UpdateNodeRequest) Reset() { *x = UpdateNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[12] + mi := &file_service_node_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -700,7 +653,7 @@ func (x *UpdateNodeRequest) String() string { func (*UpdateNodeRequest) ProtoMessage() {} func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[12] + mi := &file_service_node_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -713,7 +666,7 @@ func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{12} + return file_service_node_proto_rawDescGZIP(), []int{11} } func (x *UpdateNodeRequest) GetNodeId() int64 { @@ -777,7 +730,7 @@ type FindEnabledNodeRequest struct { func (x *FindEnabledNodeRequest) Reset() { *x = FindEnabledNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[13] + mi := &file_service_node_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -790,7 +743,7 @@ func (x *FindEnabledNodeRequest) String() string { func (*FindEnabledNodeRequest) ProtoMessage() {} func (x *FindEnabledNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[13] + mi := &file_service_node_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -803,7 +756,7 @@ func (x *FindEnabledNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledNodeRequest.ProtoReflect.Descriptor instead. func (*FindEnabledNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{13} + return file_service_node_proto_rawDescGZIP(), []int{12} } func (x *FindEnabledNodeRequest) GetNodeId() int64 { @@ -824,7 +777,7 @@ type FindEnabledNodeResponse struct { func (x *FindEnabledNodeResponse) Reset() { *x = FindEnabledNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[14] + mi := &file_service_node_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -837,7 +790,7 @@ func (x *FindEnabledNodeResponse) String() string { func (*FindEnabledNodeResponse) ProtoMessage() {} func (x *FindEnabledNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[14] + mi := &file_service_node_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -850,7 +803,7 @@ func (x *FindEnabledNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledNodeResponse.ProtoReflect.Descriptor instead. func (*FindEnabledNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{14} + return file_service_node_proto_rawDescGZIP(), []int{13} } func (x *FindEnabledNodeResponse) GetNode() *Node { @@ -870,7 +823,7 @@ type FindCurrentNodeConfigRequest struct { func (x *FindCurrentNodeConfigRequest) Reset() { *x = FindCurrentNodeConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[15] + mi := &file_service_node_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -883,7 +836,7 @@ func (x *FindCurrentNodeConfigRequest) String() string { func (*FindCurrentNodeConfigRequest) ProtoMessage() {} func (x *FindCurrentNodeConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[15] + mi := &file_service_node_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -896,7 +849,7 @@ func (x *FindCurrentNodeConfigRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindCurrentNodeConfigRequest.ProtoReflect.Descriptor instead. func (*FindCurrentNodeConfigRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{15} + return file_service_node_proto_rawDescGZIP(), []int{14} } type FindCurrentNodeConfigResponse struct { @@ -910,7 +863,7 @@ type FindCurrentNodeConfigResponse struct { func (x *FindCurrentNodeConfigResponse) Reset() { *x = FindCurrentNodeConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[16] + mi := &file_service_node_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -923,7 +876,7 @@ func (x *FindCurrentNodeConfigResponse) String() string { func (*FindCurrentNodeConfigResponse) ProtoMessage() {} func (x *FindCurrentNodeConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[16] + mi := &file_service_node_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -936,7 +889,7 @@ func (x *FindCurrentNodeConfigResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindCurrentNodeConfigResponse.ProtoReflect.Descriptor instead. func (*FindCurrentNodeConfigResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{16} + return file_service_node_proto_rawDescGZIP(), []int{15} } func (x *FindCurrentNodeConfigResponse) GetNodeJSON() []byte { @@ -964,7 +917,7 @@ type NodeStreamMessage struct { func (x *NodeStreamMessage) Reset() { *x = NodeStreamMessage{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[17] + mi := &file_service_node_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -977,7 +930,7 @@ func (x *NodeStreamMessage) String() string { func (*NodeStreamMessage) ProtoMessage() {} func (x *NodeStreamMessage) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[17] + mi := &file_service_node_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -990,7 +943,7 @@ func (x *NodeStreamMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeStreamMessage.ProtoReflect.Descriptor instead. func (*NodeStreamMessage) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{17} + return file_service_node_proto_rawDescGZIP(), []int{16} } func (x *NodeStreamMessage) GetNodeId() int64 { @@ -1055,7 +1008,7 @@ type UpdateNodeStatusRequest struct { func (x *UpdateNodeStatusRequest) Reset() { *x = UpdateNodeStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[18] + mi := &file_service_node_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1068,7 +1021,7 @@ func (x *UpdateNodeStatusRequest) String() string { func (*UpdateNodeStatusRequest) ProtoMessage() {} func (x *UpdateNodeStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[18] + mi := &file_service_node_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1081,7 +1034,7 @@ func (x *UpdateNodeStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateNodeStatusRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeStatusRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{18} + return file_service_node_proto_rawDescGZIP(), []int{17} } func (x *UpdateNodeStatusRequest) GetNodeId() int64 { @@ -1110,7 +1063,7 @@ type SyncNodesVersionWithClusterRequest struct { func (x *SyncNodesVersionWithClusterRequest) Reset() { *x = SyncNodesVersionWithClusterRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[19] + mi := &file_service_node_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1123,7 +1076,7 @@ func (x *SyncNodesVersionWithClusterRequest) String() string { func (*SyncNodesVersionWithClusterRequest) ProtoMessage() {} func (x *SyncNodesVersionWithClusterRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[19] + mi := &file_service_node_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1136,7 +1089,7 @@ func (x *SyncNodesVersionWithClusterRequest) ProtoReflect() protoreflect.Message // Deprecated: Use SyncNodesVersionWithClusterRequest.ProtoReflect.Descriptor instead. func (*SyncNodesVersionWithClusterRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{19} + return file_service_node_proto_rawDescGZIP(), []int{18} } func (x *SyncNodesVersionWithClusterRequest) GetClusterId() int64 { @@ -1155,7 +1108,7 @@ type SyncNodesVersionWithClusterResponse struct { func (x *SyncNodesVersionWithClusterResponse) Reset() { *x = SyncNodesVersionWithClusterResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[20] + mi := &file_service_node_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1168,7 +1121,7 @@ func (x *SyncNodesVersionWithClusterResponse) String() string { func (*SyncNodesVersionWithClusterResponse) ProtoMessage() {} func (x *SyncNodesVersionWithClusterResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[20] + mi := &file_service_node_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1181,7 +1134,7 @@ func (x *SyncNodesVersionWithClusterResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use SyncNodesVersionWithClusterResponse.ProtoReflect.Descriptor instead. func (*SyncNodesVersionWithClusterResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{20} + return file_service_node_proto_rawDescGZIP(), []int{19} } // 计算匹配的节点数量 @@ -1200,7 +1153,7 @@ type CountAllEnabledNodesMatchRequest struct { func (x *CountAllEnabledNodesMatchRequest) Reset() { *x = CountAllEnabledNodesMatchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[21] + mi := &file_service_node_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1213,7 +1166,7 @@ func (x *CountAllEnabledNodesMatchRequest) String() string { func (*CountAllEnabledNodesMatchRequest) ProtoMessage() {} func (x *CountAllEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[21] + mi := &file_service_node_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1226,7 +1179,7 @@ func (x *CountAllEnabledNodesMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CountAllEnabledNodesMatchRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodesMatchRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{21} + return file_service_node_proto_rawDescGZIP(), []int{20} } func (x *CountAllEnabledNodesMatchRequest) GetClusterId() int64 { @@ -1264,53 +1217,6 @@ func (x *CountAllEnabledNodesMatchRequest) GetGroupId() int64 { return 0 } -type CountAllEnabledNodesMatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodesMatchResponse) Reset() { - *x = CountAllEnabledNodesMatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodesMatchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodesMatchResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodesMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_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 CountAllEnabledNodesMatchResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodesMatchResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{22} -} - -func (x *CountAllEnabledNodesMatchResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 修改节点安装状态 type UpdateNodeIsInstalledRequest struct { state protoimpl.MessageState @@ -1324,7 +1230,7 @@ type UpdateNodeIsInstalledRequest struct { func (x *UpdateNodeIsInstalledRequest) Reset() { *x = UpdateNodeIsInstalledRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[23] + mi := &file_service_node_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1337,7 +1243,7 @@ func (x *UpdateNodeIsInstalledRequest) String() string { func (*UpdateNodeIsInstalledRequest) ProtoMessage() {} func (x *UpdateNodeIsInstalledRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[23] + mi := &file_service_node_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1350,7 +1256,7 @@ func (x *UpdateNodeIsInstalledRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateNodeIsInstalledRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeIsInstalledRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{23} + return file_service_node_proto_rawDescGZIP(), []int{21} } func (x *UpdateNodeIsInstalledRequest) GetNodeId() int64 { @@ -1379,7 +1285,7 @@ type InstallNodeRequest struct { func (x *InstallNodeRequest) Reset() { *x = InstallNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[24] + mi := &file_service_node_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1392,7 +1298,7 @@ func (x *InstallNodeRequest) String() string { func (*InstallNodeRequest) ProtoMessage() {} func (x *InstallNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[24] + mi := &file_service_node_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1405,7 +1311,7 @@ func (x *InstallNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallNodeRequest.ProtoReflect.Descriptor instead. func (*InstallNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{24} + return file_service_node_proto_rawDescGZIP(), []int{22} } func (x *InstallNodeRequest) GetNodeId() int64 { @@ -1424,7 +1330,7 @@ type InstallNodeResponse struct { func (x *InstallNodeResponse) Reset() { *x = InstallNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[25] + mi := &file_service_node_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1437,7 +1343,7 @@ func (x *InstallNodeResponse) String() string { func (*InstallNodeResponse) ProtoMessage() {} func (x *InstallNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[25] + mi := &file_service_node_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1450,7 +1356,7 @@ func (x *InstallNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use InstallNodeResponse.ProtoReflect.Descriptor instead. func (*InstallNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{25} + return file_service_node_proto_rawDescGZIP(), []int{23} } // 升级节点 @@ -1465,7 +1371,7 @@ type UpgradeNodeRequest struct { func (x *UpgradeNodeRequest) Reset() { *x = UpgradeNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[26] + mi := &file_service_node_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1478,7 +1384,7 @@ func (x *UpgradeNodeRequest) String() string { func (*UpgradeNodeRequest) ProtoMessage() {} func (x *UpgradeNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[26] + mi := &file_service_node_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1491,7 +1397,7 @@ func (x *UpgradeNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpgradeNodeRequest.ProtoReflect.Descriptor instead. func (*UpgradeNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{26} + return file_service_node_proto_rawDescGZIP(), []int{24} } func (x *UpgradeNodeRequest) GetNodeId() int64 { @@ -1510,7 +1416,7 @@ type UpgradeNodeResponse struct { func (x *UpgradeNodeResponse) Reset() { *x = UpgradeNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[27] + mi := &file_service_node_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1523,7 +1429,7 @@ func (x *UpgradeNodeResponse) String() string { func (*UpgradeNodeResponse) ProtoMessage() {} func (x *UpgradeNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[27] + mi := &file_service_node_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1536,7 +1442,7 @@ func (x *UpgradeNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpgradeNodeResponse.ProtoReflect.Descriptor instead. func (*UpgradeNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{27} + return file_service_node_proto_rawDescGZIP(), []int{25} } // 启动节点 @@ -1551,7 +1457,7 @@ type StartNodeRequest struct { func (x *StartNodeRequest) Reset() { *x = StartNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[28] + mi := &file_service_node_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1564,7 +1470,7 @@ func (x *StartNodeRequest) String() string { func (*StartNodeRequest) ProtoMessage() {} func (x *StartNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[28] + mi := &file_service_node_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1577,7 +1483,7 @@ func (x *StartNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StartNodeRequest.ProtoReflect.Descriptor instead. func (*StartNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{28} + return file_service_node_proto_rawDescGZIP(), []int{26} } func (x *StartNodeRequest) GetNodeId() int64 { @@ -1599,7 +1505,7 @@ type StartNodeResponse struct { func (x *StartNodeResponse) Reset() { *x = StartNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[29] + mi := &file_service_node_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1612,7 +1518,7 @@ func (x *StartNodeResponse) String() string { func (*StartNodeResponse) ProtoMessage() {} func (x *StartNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[29] + mi := &file_service_node_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1625,7 +1531,7 @@ func (x *StartNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StartNodeResponse.ProtoReflect.Descriptor instead. func (*StartNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{29} + return file_service_node_proto_rawDescGZIP(), []int{27} } func (x *StartNodeResponse) GetIsOk() bool { @@ -1654,7 +1560,7 @@ type StopNodeRequest struct { func (x *StopNodeRequest) Reset() { *x = StopNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[30] + mi := &file_service_node_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1667,7 +1573,7 @@ func (x *StopNodeRequest) String() string { func (*StopNodeRequest) ProtoMessage() {} func (x *StopNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[30] + mi := &file_service_node_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1680,7 +1586,7 @@ func (x *StopNodeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StopNodeRequest.ProtoReflect.Descriptor instead. func (*StopNodeRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{30} + return file_service_node_proto_rawDescGZIP(), []int{28} } func (x *StopNodeRequest) GetNodeId() int64 { @@ -1702,7 +1608,7 @@ type StopNodeResponse struct { func (x *StopNodeResponse) Reset() { *x = StopNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[31] + mi := &file_service_node_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1715,7 +1621,7 @@ func (x *StopNodeResponse) String() string { func (*StopNodeResponse) ProtoMessage() {} func (x *StopNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[31] + mi := &file_service_node_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1728,7 +1634,7 @@ func (x *StopNodeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StopNodeResponse.ProtoReflect.Descriptor instead. func (*StopNodeResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{31} + return file_service_node_proto_rawDescGZIP(), []int{29} } func (x *StopNodeResponse) GetIsOk() bool { @@ -1757,7 +1663,7 @@ type UpdateNodeConnectedAPINodesRequest struct { func (x *UpdateNodeConnectedAPINodesRequest) Reset() { *x = UpdateNodeConnectedAPINodesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[32] + mi := &file_service_node_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1770,7 +1676,7 @@ func (x *UpdateNodeConnectedAPINodesRequest) String() string { func (*UpdateNodeConnectedAPINodesRequest) ProtoMessage() {} func (x *UpdateNodeConnectedAPINodesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[32] + mi := &file_service_node_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1783,7 +1689,7 @@ func (x *UpdateNodeConnectedAPINodesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use UpdateNodeConnectedAPINodesRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeConnectedAPINodesRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{32} + return file_service_node_proto_rawDescGZIP(), []int{30} } func (x *UpdateNodeConnectedAPINodesRequest) GetApiNodeIds() []int64 { @@ -1805,7 +1711,7 @@ type CountAllEnabledNodesWithGrantIdRequest struct { func (x *CountAllEnabledNodesWithGrantIdRequest) Reset() { *x = CountAllEnabledNodesWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[33] + mi := &file_service_node_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1818,7 +1724,7 @@ func (x *CountAllEnabledNodesWithGrantIdRequest) String() string { func (*CountAllEnabledNodesWithGrantIdRequest) ProtoMessage() {} func (x *CountAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[33] + mi := &file_service_node_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1831,7 +1737,7 @@ func (x *CountAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Mes // Deprecated: Use CountAllEnabledNodesWithGrantIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodesWithGrantIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{33} + return file_service_node_proto_rawDescGZIP(), []int{31} } func (x *CountAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 { @@ -1841,53 +1747,6 @@ func (x *CountAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 { return 0 } -type CountAllEnabledNodesWithGrantIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodesWithGrantIdResponse) Reset() { - *x = CountAllEnabledNodesWithGrantIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodesWithGrantIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodesWithGrantIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_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 CountAllEnabledNodesWithGrantIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodesWithGrantIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{34} -} - -func (x *CountAllEnabledNodesWithGrantIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 查找使用某个认证的所有节点 type FindAllEnabledNodesWithGrantIdRequest struct { state protoimpl.MessageState @@ -1900,7 +1759,7 @@ type FindAllEnabledNodesWithGrantIdRequest struct { func (x *FindAllEnabledNodesWithGrantIdRequest) Reset() { *x = FindAllEnabledNodesWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[35] + mi := &file_service_node_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1913,7 +1772,7 @@ func (x *FindAllEnabledNodesWithGrantIdRequest) String() string { func (*FindAllEnabledNodesWithGrantIdRequest) ProtoMessage() {} func (x *FindAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[35] + mi := &file_service_node_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1926,7 +1785,7 @@ func (x *FindAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Mess // Deprecated: Use FindAllEnabledNodesWithGrantIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodesWithGrantIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{35} + return file_service_node_proto_rawDescGZIP(), []int{32} } func (x *FindAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 { @@ -1947,7 +1806,7 @@ type FindAllEnabledNodesWithGrantIdResponse struct { func (x *FindAllEnabledNodesWithGrantIdResponse) Reset() { *x = FindAllEnabledNodesWithGrantIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[36] + mi := &file_service_node_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1960,7 +1819,7 @@ func (x *FindAllEnabledNodesWithGrantIdResponse) String() string { func (*FindAllEnabledNodesWithGrantIdResponse) ProtoMessage() {} func (x *FindAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[36] + mi := &file_service_node_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1973,7 +1832,7 @@ func (x *FindAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Mes // Deprecated: Use FindAllEnabledNodesWithGrantIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodesWithGrantIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{36} + return file_service_node_proto_rawDescGZIP(), []int{33} } func (x *FindAllEnabledNodesWithGrantIdResponse) GetNodes() []*Node { @@ -1995,7 +1854,7 @@ type FindAllNotInstalledNodesWithClusterIdRequest struct { func (x *FindAllNotInstalledNodesWithClusterIdRequest) Reset() { *x = FindAllNotInstalledNodesWithClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[37] + mi := &file_service_node_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2008,7 +1867,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdRequest) String() string { func (*FindAllNotInstalledNodesWithClusterIdRequest) ProtoMessage() {} func (x *FindAllNotInstalledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[37] + mi := &file_service_node_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2021,7 +1880,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdRequest) ProtoReflect() protorefle // Deprecated: Use FindAllNotInstalledNodesWithClusterIdRequest.ProtoReflect.Descriptor instead. func (*FindAllNotInstalledNodesWithClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{37} + return file_service_node_proto_rawDescGZIP(), []int{34} } func (x *FindAllNotInstalledNodesWithClusterIdRequest) GetClusterId() int64 { @@ -2042,7 +1901,7 @@ type FindAllNotInstalledNodesWithClusterIdResponse struct { func (x *FindAllNotInstalledNodesWithClusterIdResponse) Reset() { *x = FindAllNotInstalledNodesWithClusterIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[38] + mi := &file_service_node_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2055,7 +1914,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdResponse) String() string { func (*FindAllNotInstalledNodesWithClusterIdResponse) ProtoMessage() {} func (x *FindAllNotInstalledNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[38] + mi := &file_service_node_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2068,7 +1927,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdResponse) ProtoReflect() protorefl // Deprecated: Use FindAllNotInstalledNodesWithClusterIdResponse.ProtoReflect.Descriptor instead. func (*FindAllNotInstalledNodesWithClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{38} + return file_service_node_proto_rawDescGZIP(), []int{35} } func (x *FindAllNotInstalledNodesWithClusterIdResponse) GetNodes() []*Node { @@ -2090,7 +1949,7 @@ type FindAllUpgradeNodesWithClusterIdRequest struct { func (x *FindAllUpgradeNodesWithClusterIdRequest) Reset() { *x = FindAllUpgradeNodesWithClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[39] + mi := &file_service_node_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2103,7 +1962,7 @@ func (x *FindAllUpgradeNodesWithClusterIdRequest) String() string { func (*FindAllUpgradeNodesWithClusterIdRequest) ProtoMessage() {} func (x *FindAllUpgradeNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[39] + mi := &file_service_node_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2116,7 +1975,7 @@ func (x *FindAllUpgradeNodesWithClusterIdRequest) ProtoReflect() protoreflect.Me // Deprecated: Use FindAllUpgradeNodesWithClusterIdRequest.ProtoReflect.Descriptor instead. func (*FindAllUpgradeNodesWithClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{39} + return file_service_node_proto_rawDescGZIP(), []int{36} } func (x *FindAllUpgradeNodesWithClusterIdRequest) GetClusterId() int64 { @@ -2137,7 +1996,7 @@ type FindAllUpgradeNodesWithClusterIdResponse struct { func (x *FindAllUpgradeNodesWithClusterIdResponse) Reset() { *x = FindAllUpgradeNodesWithClusterIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[40] + mi := &file_service_node_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2150,7 +2009,7 @@ func (x *FindAllUpgradeNodesWithClusterIdResponse) String() string { func (*FindAllUpgradeNodesWithClusterIdResponse) ProtoMessage() {} func (x *FindAllUpgradeNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[40] + mi := &file_service_node_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2163,7 +2022,7 @@ func (x *FindAllUpgradeNodesWithClusterIdResponse) ProtoReflect() protoreflect.M // Deprecated: Use FindAllUpgradeNodesWithClusterIdResponse.ProtoReflect.Descriptor instead. func (*FindAllUpgradeNodesWithClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{40} + return file_service_node_proto_rawDescGZIP(), []int{37} } func (x *FindAllUpgradeNodesWithClusterIdResponse) GetNodes() []*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade { @@ -2185,7 +2044,7 @@ type FindNodeInstallStatusRequest struct { func (x *FindNodeInstallStatusRequest) Reset() { *x = FindNodeInstallStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[41] + mi := &file_service_node_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2198,7 +2057,7 @@ func (x *FindNodeInstallStatusRequest) String() string { func (*FindNodeInstallStatusRequest) ProtoMessage() {} func (x *FindNodeInstallStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[41] + mi := &file_service_node_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2211,7 +2070,7 @@ func (x *FindNodeInstallStatusRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindNodeInstallStatusRequest.ProtoReflect.Descriptor instead. func (*FindNodeInstallStatusRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{41} + return file_service_node_proto_rawDescGZIP(), []int{38} } func (x *FindNodeInstallStatusRequest) GetNodeId() int64 { @@ -2232,7 +2091,7 @@ type FindNodeInstallStatusResponse struct { func (x *FindNodeInstallStatusResponse) Reset() { *x = FindNodeInstallStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[42] + mi := &file_service_node_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2245,7 +2104,7 @@ func (x *FindNodeInstallStatusResponse) String() string { func (*FindNodeInstallStatusResponse) ProtoMessage() {} func (x *FindNodeInstallStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[42] + mi := &file_service_node_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2258,7 +2117,7 @@ func (x *FindNodeInstallStatusResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindNodeInstallStatusResponse.ProtoReflect.Descriptor instead. func (*FindNodeInstallStatusResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{42} + return file_service_node_proto_rawDescGZIP(), []int{39} } func (x *FindNodeInstallStatusResponse) GetInstallStatus() *NodeInstallStatus { @@ -2281,7 +2140,7 @@ type UpdateNodeLoginRequest struct { func (x *UpdateNodeLoginRequest) Reset() { *x = UpdateNodeLoginRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[43] + mi := &file_service_node_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2294,7 +2153,7 @@ func (x *UpdateNodeLoginRequest) String() string { func (*UpdateNodeLoginRequest) ProtoMessage() {} func (x *UpdateNodeLoginRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[43] + mi := &file_service_node_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2307,7 +2166,7 @@ func (x *UpdateNodeLoginRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateNodeLoginRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeLoginRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{43} + return file_service_node_proto_rawDescGZIP(), []int{40} } func (x *UpdateNodeLoginRequest) GetNodeId() int64 { @@ -2336,7 +2195,7 @@ type CountAllEnabledNodesWithGroupIdRequest struct { func (x *CountAllEnabledNodesWithGroupIdRequest) Reset() { *x = CountAllEnabledNodesWithGroupIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[44] + mi := &file_service_node_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2349,7 +2208,7 @@ func (x *CountAllEnabledNodesWithGroupIdRequest) String() string { func (*CountAllEnabledNodesWithGroupIdRequest) ProtoMessage() {} func (x *CountAllEnabledNodesWithGroupIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[44] + mi := &file_service_node_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2362,7 +2221,7 @@ func (x *CountAllEnabledNodesWithGroupIdRequest) ProtoReflect() protoreflect.Mes // Deprecated: Use CountAllEnabledNodesWithGroupIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodesWithGroupIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{44} + return file_service_node_proto_rawDescGZIP(), []int{41} } func (x *CountAllEnabledNodesWithGroupIdRequest) GetGroupId() int64 { @@ -2372,53 +2231,6 @@ func (x *CountAllEnabledNodesWithGroupIdRequest) GetGroupId() int64 { return 0 } -type CountAllEnabledNodesWithGroupIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodesWithGroupIdResponse) Reset() { - *x = CountAllEnabledNodesWithGroupIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodesWithGroupIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodesWithGroupIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodesWithGroupIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[45] - 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 CountAllEnabledNodesWithGroupIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodesWithGroupIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{45} -} - -func (x *CountAllEnabledNodesWithGroupIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - type FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2434,7 +2246,7 @@ type FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade struct { func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Reset() { *x = FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[46] + mi := &file_service_node_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2447,7 +2259,7 @@ func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) String() string { func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoMessage() {} func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[46] + mi := &file_service_node_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2460,7 +2272,7 @@ func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoReflect() pr // Deprecated: Use FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade.ProtoReflect.Descriptor instead. func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{40, 0} + return file_service_node_proto_rawDescGZIP(), []int{37, 0} } func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetNode() *Node { @@ -2531,234 +2343,217 @@ var file_service_node_proto_rawDesc = []byte{ 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x34, - 0x0a, 0x1c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xe2, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, - 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x6e, 0x6f, - 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x27, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, - 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, - 0x2c, 0x0a, 0x12, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, - 0x13, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, - 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, - 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, - 0x69, 0x6e, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78, - 0x43, 0x50, 0x55, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50, - 0x55, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, - 0x30, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, - 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x22, 0x37, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, - 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69, - 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x1d, 0x46, 0x69, - 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, - 0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, - 0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0xcf, 0x01, 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, - 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, - 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, - 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04, 0x69, - 0x73, 0x4f, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, - 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x51, 0x0a, 0x17, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x42, 0x0a, 0x22, - 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x22, 0x25, 0x0a, 0x23, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x22, 0x2c, 0x0a, 0x12, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, - 0x0a, 0x12, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, - 0x3d, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, - 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x10, 0x53, 0x74, 0x6f, - 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, - 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, - 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, - 0x0a, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x22, 0x42, 0x0a, - 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, - 0x64, 0x22, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, - 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x41, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, - 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, - 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, - 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, - 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, - 0x4c, 0x0a, 0x2c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe2, + 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, + 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4f, 0x0a, - 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, - 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, - 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47, - 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8c, 0x02, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x8f, 0x01, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67, - 0x72, 0x61, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, - 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x6c, 0x64, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, - 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x5c, - 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3b, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x55, 0x0a, 0x16, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x23, - 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4a, 0x0a, + 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x12, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, + 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, + 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x05, 0x4c, 0x6f, - 0x67, 0x69, 0x6e, 0x22, 0x42, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x27, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xe4, 0x12, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, - 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x70, - 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, - 0x62, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x14, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, + 0x67, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x12, 0x12, 0x0a, 0x04, 0x69, + 0x73, 0x4f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x16, 0x46, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x37, 0x0a, 0x17, 0x46, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, + 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4a, 0x53, 0x4f, + 0x4e, 0x22, 0xcf, 0x01, 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, + 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, + 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x64, 0x61, 0x74, + 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x51, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x42, 0x0a, 0x22, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x23, 0x53, 0x79, + 0x6e, 0x63, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x57, 0x69, + 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xba, 0x01, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, + 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, + 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x58, + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x22, 0x2c, 0x0a, 0x12, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, + 0x12, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x2a, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3d, + 0x0a, 0x11, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x29, 0x0a, + 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x70, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, + 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, + 0x52, 0x0a, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x22, 0x42, 0x0a, 0x26, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, + 0x22, 0x41, 0x0a, 0x25, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, + 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, + 0x74, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, + 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, + 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x4c, 0x0a, + 0x2c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, + 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4f, 0x0a, 0x2d, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x05, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x27, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8c, 0x02, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, + 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, + 0x65, 0x73, 0x1a, 0x8f, 0x01, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x61, 0x72, 0x63, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x6c, 0x64, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x77, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x1d, + 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, + 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x55, 0x0a, 0x16, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x05, + 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x05, 0x4c, 0x6f, 0x67, 0x69, + 0x6e, 0x22, 0x42, 0x0a, 0x26, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x32, 0x99, 0x12, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x14, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, + 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 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, 0x57, 0x0a, 0x19, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, - 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x6f, 0x64, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, @@ -2836,58 +2631,56 @@ var file_service_node_proto_rawDesc = []byte{ 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, - 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x1e, 0x66, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, - 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, - 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, - 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, - 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, - 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, - 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, - 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, - 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, - 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, - 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x12, 0x7a, 0x0a, 0x1f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6e, 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, 0x77, 0x0a, 0x1e, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, + 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2b, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, + 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1f, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, + 0x2a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, + 0x75, 0x70, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -2902,126 +2695,123 @@ func file_service_node_proto_rawDescGZIP() []byte { return file_service_node_proto_rawDescData } -var file_service_node_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_service_node_proto_msgTypes = make([]protoimpl.MessageInfo, 43) var file_service_node_proto_goTypes = []interface{}{ (*CreateNodeRequest)(nil), // 0: pb.CreateNodeRequest (*CreateNodeResponse)(nil), // 1: pb.CreateNodeResponse (*RegisterClusterNodeRequest)(nil), // 2: pb.RegisterClusterNodeRequest (*RegisterClusterNodeResponse)(nil), // 3: pb.RegisterClusterNodeResponse (*CountAllEnabledNodesRequest)(nil), // 4: pb.CountAllEnabledNodesRequest - (*CountAllEnabledNodesResponse)(nil), // 5: pb.CountAllEnabledNodesResponse - (*ListEnabledNodesMatchRequest)(nil), // 6: pb.ListEnabledNodesMatchRequest - (*ListEnabledNodesMatchResponse)(nil), // 7: pb.ListEnabledNodesMatchResponse - (*FindAllEnabledNodesWithClusterIdRequest)(nil), // 8: pb.FindAllEnabledNodesWithClusterIdRequest - (*FindAllEnabledNodesWithClusterIdResponse)(nil), // 9: pb.FindAllEnabledNodesWithClusterIdResponse - (*DisableNodeRequest)(nil), // 10: pb.DisableNodeRequest - (*DisableNodeResponse)(nil), // 11: pb.DisableNodeResponse - (*UpdateNodeRequest)(nil), // 12: pb.UpdateNodeRequest - (*FindEnabledNodeRequest)(nil), // 13: pb.FindEnabledNodeRequest - (*FindEnabledNodeResponse)(nil), // 14: pb.FindEnabledNodeResponse - (*FindCurrentNodeConfigRequest)(nil), // 15: pb.FindCurrentNodeConfigRequest - (*FindCurrentNodeConfigResponse)(nil), // 16: pb.FindCurrentNodeConfigResponse - (*NodeStreamMessage)(nil), // 17: pb.NodeStreamMessage - (*UpdateNodeStatusRequest)(nil), // 18: pb.UpdateNodeStatusRequest - (*SyncNodesVersionWithClusterRequest)(nil), // 19: pb.SyncNodesVersionWithClusterRequest - (*SyncNodesVersionWithClusterResponse)(nil), // 20: pb.SyncNodesVersionWithClusterResponse - (*CountAllEnabledNodesMatchRequest)(nil), // 21: pb.CountAllEnabledNodesMatchRequest - (*CountAllEnabledNodesMatchResponse)(nil), // 22: pb.CountAllEnabledNodesMatchResponse - (*UpdateNodeIsInstalledRequest)(nil), // 23: pb.UpdateNodeIsInstalledRequest - (*InstallNodeRequest)(nil), // 24: pb.InstallNodeRequest - (*InstallNodeResponse)(nil), // 25: pb.InstallNodeResponse - (*UpgradeNodeRequest)(nil), // 26: pb.UpgradeNodeRequest - (*UpgradeNodeResponse)(nil), // 27: pb.UpgradeNodeResponse - (*StartNodeRequest)(nil), // 28: pb.StartNodeRequest - (*StartNodeResponse)(nil), // 29: pb.StartNodeResponse - (*StopNodeRequest)(nil), // 30: pb.StopNodeRequest - (*StopNodeResponse)(nil), // 31: pb.StopNodeResponse - (*UpdateNodeConnectedAPINodesRequest)(nil), // 32: pb.UpdateNodeConnectedAPINodesRequest - (*CountAllEnabledNodesWithGrantIdRequest)(nil), // 33: pb.CountAllEnabledNodesWithGrantIdRequest - (*CountAllEnabledNodesWithGrantIdResponse)(nil), // 34: pb.CountAllEnabledNodesWithGrantIdResponse - (*FindAllEnabledNodesWithGrantIdRequest)(nil), // 35: pb.FindAllEnabledNodesWithGrantIdRequest - (*FindAllEnabledNodesWithGrantIdResponse)(nil), // 36: pb.FindAllEnabledNodesWithGrantIdResponse - (*FindAllNotInstalledNodesWithClusterIdRequest)(nil), // 37: pb.FindAllNotInstalledNodesWithClusterIdRequest - (*FindAllNotInstalledNodesWithClusterIdResponse)(nil), // 38: pb.FindAllNotInstalledNodesWithClusterIdResponse - (*FindAllUpgradeNodesWithClusterIdRequest)(nil), // 39: pb.FindAllUpgradeNodesWithClusterIdRequest - (*FindAllUpgradeNodesWithClusterIdResponse)(nil), // 40: pb.FindAllUpgradeNodesWithClusterIdResponse - (*FindNodeInstallStatusRequest)(nil), // 41: pb.FindNodeInstallStatusRequest - (*FindNodeInstallStatusResponse)(nil), // 42: pb.FindNodeInstallStatusResponse - (*UpdateNodeLoginRequest)(nil), // 43: pb.UpdateNodeLoginRequest - (*CountAllEnabledNodesWithGroupIdRequest)(nil), // 44: pb.CountAllEnabledNodesWithGroupIdRequest - (*CountAllEnabledNodesWithGroupIdResponse)(nil), // 45: pb.CountAllEnabledNodesWithGroupIdResponse - (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade)(nil), // 46: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade - (*NodeLogin)(nil), // 47: pb.NodeLogin - (*Node)(nil), // 48: pb.Node - (*NodeInstallStatus)(nil), // 49: pb.NodeInstallStatus - (*RPCUpdateSuccess)(nil), // 50: pb.RPCUpdateSuccess + (*ListEnabledNodesMatchRequest)(nil), // 5: pb.ListEnabledNodesMatchRequest + (*ListEnabledNodesMatchResponse)(nil), // 6: pb.ListEnabledNodesMatchResponse + (*FindAllEnabledNodesWithClusterIdRequest)(nil), // 7: pb.FindAllEnabledNodesWithClusterIdRequest + (*FindAllEnabledNodesWithClusterIdResponse)(nil), // 8: pb.FindAllEnabledNodesWithClusterIdResponse + (*DisableNodeRequest)(nil), // 9: pb.DisableNodeRequest + (*DisableNodeResponse)(nil), // 10: pb.DisableNodeResponse + (*UpdateNodeRequest)(nil), // 11: pb.UpdateNodeRequest + (*FindEnabledNodeRequest)(nil), // 12: pb.FindEnabledNodeRequest + (*FindEnabledNodeResponse)(nil), // 13: pb.FindEnabledNodeResponse + (*FindCurrentNodeConfigRequest)(nil), // 14: pb.FindCurrentNodeConfigRequest + (*FindCurrentNodeConfigResponse)(nil), // 15: pb.FindCurrentNodeConfigResponse + (*NodeStreamMessage)(nil), // 16: pb.NodeStreamMessage + (*UpdateNodeStatusRequest)(nil), // 17: pb.UpdateNodeStatusRequest + (*SyncNodesVersionWithClusterRequest)(nil), // 18: pb.SyncNodesVersionWithClusterRequest + (*SyncNodesVersionWithClusterResponse)(nil), // 19: pb.SyncNodesVersionWithClusterResponse + (*CountAllEnabledNodesMatchRequest)(nil), // 20: pb.CountAllEnabledNodesMatchRequest + (*UpdateNodeIsInstalledRequest)(nil), // 21: pb.UpdateNodeIsInstalledRequest + (*InstallNodeRequest)(nil), // 22: pb.InstallNodeRequest + (*InstallNodeResponse)(nil), // 23: pb.InstallNodeResponse + (*UpgradeNodeRequest)(nil), // 24: pb.UpgradeNodeRequest + (*UpgradeNodeResponse)(nil), // 25: pb.UpgradeNodeResponse + (*StartNodeRequest)(nil), // 26: pb.StartNodeRequest + (*StartNodeResponse)(nil), // 27: pb.StartNodeResponse + (*StopNodeRequest)(nil), // 28: pb.StopNodeRequest + (*StopNodeResponse)(nil), // 29: pb.StopNodeResponse + (*UpdateNodeConnectedAPINodesRequest)(nil), // 30: pb.UpdateNodeConnectedAPINodesRequest + (*CountAllEnabledNodesWithGrantIdRequest)(nil), // 31: pb.CountAllEnabledNodesWithGrantIdRequest + (*FindAllEnabledNodesWithGrantIdRequest)(nil), // 32: pb.FindAllEnabledNodesWithGrantIdRequest + (*FindAllEnabledNodesWithGrantIdResponse)(nil), // 33: pb.FindAllEnabledNodesWithGrantIdResponse + (*FindAllNotInstalledNodesWithClusterIdRequest)(nil), // 34: pb.FindAllNotInstalledNodesWithClusterIdRequest + (*FindAllNotInstalledNodesWithClusterIdResponse)(nil), // 35: pb.FindAllNotInstalledNodesWithClusterIdResponse + (*FindAllUpgradeNodesWithClusterIdRequest)(nil), // 36: pb.FindAllUpgradeNodesWithClusterIdRequest + (*FindAllUpgradeNodesWithClusterIdResponse)(nil), // 37: pb.FindAllUpgradeNodesWithClusterIdResponse + (*FindNodeInstallStatusRequest)(nil), // 38: pb.FindNodeInstallStatusRequest + (*FindNodeInstallStatusResponse)(nil), // 39: pb.FindNodeInstallStatusResponse + (*UpdateNodeLoginRequest)(nil), // 40: pb.UpdateNodeLoginRequest + (*CountAllEnabledNodesWithGroupIdRequest)(nil), // 41: pb.CountAllEnabledNodesWithGroupIdRequest + (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade)(nil), // 42: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade + (*NodeLogin)(nil), // 43: pb.NodeLogin + (*Node)(nil), // 44: pb.Node + (*NodeInstallStatus)(nil), // 45: pb.NodeInstallStatus + (*RPCCountResponse)(nil), // 46: pb.RPCCountResponse + (*RPCUpdateSuccess)(nil), // 47: pb.RPCUpdateSuccess } var file_service_node_proto_depIdxs = []int32{ - 47, // 0: pb.CreateNodeRequest.Login:type_name -> pb.NodeLogin - 48, // 1: pb.ListEnabledNodesMatchResponse.nodes:type_name -> pb.Node - 48, // 2: pb.FindAllEnabledNodesWithClusterIdResponse.nodes:type_name -> pb.Node - 47, // 3: pb.UpdateNodeRequest.Login:type_name -> pb.NodeLogin - 48, // 4: pb.FindEnabledNodeResponse.node:type_name -> pb.Node - 48, // 5: pb.FindAllEnabledNodesWithGrantIdResponse.nodes:type_name -> pb.Node - 48, // 6: pb.FindAllNotInstalledNodesWithClusterIdResponse.nodes:type_name -> pb.Node - 46, // 7: pb.FindAllUpgradeNodesWithClusterIdResponse.nodes:type_name -> pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade - 49, // 8: pb.FindNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus - 47, // 9: pb.UpdateNodeLoginRequest.Login:type_name -> pb.NodeLogin - 48, // 10: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade.node:type_name -> pb.Node + 43, // 0: pb.CreateNodeRequest.Login:type_name -> pb.NodeLogin + 44, // 1: pb.ListEnabledNodesMatchResponse.nodes:type_name -> pb.Node + 44, // 2: pb.FindAllEnabledNodesWithClusterIdResponse.nodes:type_name -> pb.Node + 43, // 3: pb.UpdateNodeRequest.Login:type_name -> pb.NodeLogin + 44, // 4: pb.FindEnabledNodeResponse.node:type_name -> pb.Node + 44, // 5: pb.FindAllEnabledNodesWithGrantIdResponse.nodes:type_name -> pb.Node + 44, // 6: pb.FindAllNotInstalledNodesWithClusterIdResponse.nodes:type_name -> pb.Node + 42, // 7: pb.FindAllUpgradeNodesWithClusterIdResponse.nodes:type_name -> pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade + 45, // 8: pb.FindNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus + 43, // 9: pb.UpdateNodeLoginRequest.Login:type_name -> pb.NodeLogin + 44, // 10: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade.node:type_name -> pb.Node 0, // 11: pb.NodeService.createNode:input_type -> pb.CreateNodeRequest 2, // 12: pb.NodeService.registerClusterNode:input_type -> pb.RegisterClusterNodeRequest 4, // 13: pb.NodeService.countAllEnabledNodes:input_type -> pb.CountAllEnabledNodesRequest - 21, // 14: pb.NodeService.countAllEnabledNodesMatch:input_type -> pb.CountAllEnabledNodesMatchRequest - 6, // 15: pb.NodeService.listEnabledNodesMatch:input_type -> pb.ListEnabledNodesMatchRequest - 8, // 16: pb.NodeService.findAllEnabledNodesWithClusterId:input_type -> pb.FindAllEnabledNodesWithClusterIdRequest - 10, // 17: pb.NodeService.disableNode:input_type -> pb.DisableNodeRequest - 12, // 18: pb.NodeService.updateNode:input_type -> pb.UpdateNodeRequest - 13, // 19: pb.NodeService.findEnabledNode:input_type -> pb.FindEnabledNodeRequest - 15, // 20: pb.NodeService.findCurrentNodeConfig:input_type -> pb.FindCurrentNodeConfigRequest - 17, // 21: pb.NodeService.nodeStream:input_type -> pb.NodeStreamMessage - 17, // 22: pb.NodeService.sendCommandToNode:input_type -> pb.NodeStreamMessage - 18, // 23: pb.NodeService.updateNodeStatus:input_type -> pb.UpdateNodeStatusRequest - 19, // 24: pb.NodeService.syncNodesVersionWithCluster:input_type -> pb.SyncNodesVersionWithClusterRequest - 23, // 25: pb.NodeService.updateNodeIsInstalled:input_type -> pb.UpdateNodeIsInstalledRequest - 24, // 26: pb.NodeService.installNode:input_type -> pb.InstallNodeRequest - 26, // 27: pb.NodeService.upgradeNode:input_type -> pb.UpgradeNodeRequest - 28, // 28: pb.NodeService.startNode:input_type -> pb.StartNodeRequest - 30, // 29: pb.NodeService.stopNode:input_type -> pb.StopNodeRequest - 32, // 30: pb.NodeService.updateNodeConnectedAPINodes:input_type -> pb.UpdateNodeConnectedAPINodesRequest - 33, // 31: pb.NodeService.countAllEnabledNodesWithGrantId:input_type -> pb.CountAllEnabledNodesWithGrantIdRequest - 35, // 32: pb.NodeService.findAllEnabledNodesWithGrantId:input_type -> pb.FindAllEnabledNodesWithGrantIdRequest - 37, // 33: pb.NodeService.findAllNotInstalledNodesWithClusterId:input_type -> pb.FindAllNotInstalledNodesWithClusterIdRequest - 39, // 34: pb.NodeService.findAllUpgradeNodesWithClusterId:input_type -> pb.FindAllUpgradeNodesWithClusterIdRequest - 41, // 35: pb.NodeService.findNodeInstallStatus:input_type -> pb.FindNodeInstallStatusRequest - 43, // 36: pb.NodeService.updateNodeLogin:input_type -> pb.UpdateNodeLoginRequest - 44, // 37: pb.NodeService.countAllEnabledNodesWithGroupId:input_type -> pb.CountAllEnabledNodesWithGroupIdRequest + 20, // 14: pb.NodeService.countAllEnabledNodesMatch:input_type -> pb.CountAllEnabledNodesMatchRequest + 5, // 15: pb.NodeService.listEnabledNodesMatch:input_type -> pb.ListEnabledNodesMatchRequest + 7, // 16: pb.NodeService.findAllEnabledNodesWithClusterId:input_type -> pb.FindAllEnabledNodesWithClusterIdRequest + 9, // 17: pb.NodeService.disableNode:input_type -> pb.DisableNodeRequest + 11, // 18: pb.NodeService.updateNode:input_type -> pb.UpdateNodeRequest + 12, // 19: pb.NodeService.findEnabledNode:input_type -> pb.FindEnabledNodeRequest + 14, // 20: pb.NodeService.findCurrentNodeConfig:input_type -> pb.FindCurrentNodeConfigRequest + 16, // 21: pb.NodeService.nodeStream:input_type -> pb.NodeStreamMessage + 16, // 22: pb.NodeService.sendCommandToNode:input_type -> pb.NodeStreamMessage + 17, // 23: pb.NodeService.updateNodeStatus:input_type -> pb.UpdateNodeStatusRequest + 18, // 24: pb.NodeService.syncNodesVersionWithCluster:input_type -> pb.SyncNodesVersionWithClusterRequest + 21, // 25: pb.NodeService.updateNodeIsInstalled:input_type -> pb.UpdateNodeIsInstalledRequest + 22, // 26: pb.NodeService.installNode:input_type -> pb.InstallNodeRequest + 24, // 27: pb.NodeService.upgradeNode:input_type -> pb.UpgradeNodeRequest + 26, // 28: pb.NodeService.startNode:input_type -> pb.StartNodeRequest + 28, // 29: pb.NodeService.stopNode:input_type -> pb.StopNodeRequest + 30, // 30: pb.NodeService.updateNodeConnectedAPINodes:input_type -> pb.UpdateNodeConnectedAPINodesRequest + 31, // 31: pb.NodeService.countAllEnabledNodesWithGrantId:input_type -> pb.CountAllEnabledNodesWithGrantIdRequest + 32, // 32: pb.NodeService.findAllEnabledNodesWithGrantId:input_type -> pb.FindAllEnabledNodesWithGrantIdRequest + 34, // 33: pb.NodeService.findAllNotInstalledNodesWithClusterId:input_type -> pb.FindAllNotInstalledNodesWithClusterIdRequest + 36, // 34: pb.NodeService.findAllUpgradeNodesWithClusterId:input_type -> pb.FindAllUpgradeNodesWithClusterIdRequest + 38, // 35: pb.NodeService.findNodeInstallStatus:input_type -> pb.FindNodeInstallStatusRequest + 40, // 36: pb.NodeService.updateNodeLogin:input_type -> pb.UpdateNodeLoginRequest + 41, // 37: pb.NodeService.countAllEnabledNodesWithGroupId:input_type -> pb.CountAllEnabledNodesWithGroupIdRequest 1, // 38: pb.NodeService.createNode:output_type -> pb.CreateNodeResponse 3, // 39: pb.NodeService.registerClusterNode:output_type -> pb.RegisterClusterNodeResponse - 5, // 40: pb.NodeService.countAllEnabledNodes:output_type -> pb.CountAllEnabledNodesResponse - 22, // 41: pb.NodeService.countAllEnabledNodesMatch:output_type -> pb.CountAllEnabledNodesMatchResponse - 7, // 42: pb.NodeService.listEnabledNodesMatch:output_type -> pb.ListEnabledNodesMatchResponse - 9, // 43: pb.NodeService.findAllEnabledNodesWithClusterId:output_type -> pb.FindAllEnabledNodesWithClusterIdResponse - 11, // 44: pb.NodeService.disableNode:output_type -> pb.DisableNodeResponse - 50, // 45: pb.NodeService.updateNode:output_type -> pb.RPCUpdateSuccess - 14, // 46: pb.NodeService.findEnabledNode:output_type -> pb.FindEnabledNodeResponse - 16, // 47: pb.NodeService.findCurrentNodeConfig:output_type -> pb.FindCurrentNodeConfigResponse - 17, // 48: pb.NodeService.nodeStream:output_type -> pb.NodeStreamMessage - 17, // 49: pb.NodeService.sendCommandToNode:output_type -> pb.NodeStreamMessage - 50, // 50: pb.NodeService.updateNodeStatus:output_type -> pb.RPCUpdateSuccess - 20, // 51: pb.NodeService.syncNodesVersionWithCluster:output_type -> pb.SyncNodesVersionWithClusterResponse - 50, // 52: pb.NodeService.updateNodeIsInstalled:output_type -> pb.RPCUpdateSuccess - 25, // 53: pb.NodeService.installNode:output_type -> pb.InstallNodeResponse - 27, // 54: pb.NodeService.upgradeNode:output_type -> pb.UpgradeNodeResponse - 29, // 55: pb.NodeService.startNode:output_type -> pb.StartNodeResponse - 31, // 56: pb.NodeService.stopNode:output_type -> pb.StopNodeResponse - 50, // 57: pb.NodeService.updateNodeConnectedAPINodes:output_type -> pb.RPCUpdateSuccess - 34, // 58: pb.NodeService.countAllEnabledNodesWithGrantId:output_type -> pb.CountAllEnabledNodesWithGrantIdResponse - 36, // 59: pb.NodeService.findAllEnabledNodesWithGrantId:output_type -> pb.FindAllEnabledNodesWithGrantIdResponse - 38, // 60: pb.NodeService.findAllNotInstalledNodesWithClusterId:output_type -> pb.FindAllNotInstalledNodesWithClusterIdResponse - 40, // 61: pb.NodeService.findAllUpgradeNodesWithClusterId:output_type -> pb.FindAllUpgradeNodesWithClusterIdResponse - 42, // 62: pb.NodeService.findNodeInstallStatus:output_type -> pb.FindNodeInstallStatusResponse - 50, // 63: pb.NodeService.updateNodeLogin:output_type -> pb.RPCUpdateSuccess - 45, // 64: pb.NodeService.countAllEnabledNodesWithGroupId:output_type -> pb.CountAllEnabledNodesWithGroupIdResponse + 46, // 40: pb.NodeService.countAllEnabledNodes:output_type -> pb.RPCCountResponse + 46, // 41: pb.NodeService.countAllEnabledNodesMatch:output_type -> pb.RPCCountResponse + 6, // 42: pb.NodeService.listEnabledNodesMatch:output_type -> pb.ListEnabledNodesMatchResponse + 8, // 43: pb.NodeService.findAllEnabledNodesWithClusterId:output_type -> pb.FindAllEnabledNodesWithClusterIdResponse + 10, // 44: pb.NodeService.disableNode:output_type -> pb.DisableNodeResponse + 47, // 45: pb.NodeService.updateNode:output_type -> pb.RPCUpdateSuccess + 13, // 46: pb.NodeService.findEnabledNode:output_type -> pb.FindEnabledNodeResponse + 15, // 47: pb.NodeService.findCurrentNodeConfig:output_type -> pb.FindCurrentNodeConfigResponse + 16, // 48: pb.NodeService.nodeStream:output_type -> pb.NodeStreamMessage + 16, // 49: pb.NodeService.sendCommandToNode:output_type -> pb.NodeStreamMessage + 47, // 50: pb.NodeService.updateNodeStatus:output_type -> pb.RPCUpdateSuccess + 19, // 51: pb.NodeService.syncNodesVersionWithCluster:output_type -> pb.SyncNodesVersionWithClusterResponse + 47, // 52: pb.NodeService.updateNodeIsInstalled:output_type -> pb.RPCUpdateSuccess + 23, // 53: pb.NodeService.installNode:output_type -> pb.InstallNodeResponse + 25, // 54: pb.NodeService.upgradeNode:output_type -> pb.UpgradeNodeResponse + 27, // 55: pb.NodeService.startNode:output_type -> pb.StartNodeResponse + 29, // 56: pb.NodeService.stopNode:output_type -> pb.StopNodeResponse + 47, // 57: pb.NodeService.updateNodeConnectedAPINodes:output_type -> pb.RPCUpdateSuccess + 46, // 58: pb.NodeService.countAllEnabledNodesWithGrantId:output_type -> pb.RPCCountResponse + 33, // 59: pb.NodeService.findAllEnabledNodesWithGrantId:output_type -> pb.FindAllEnabledNodesWithGrantIdResponse + 35, // 60: pb.NodeService.findAllNotInstalledNodesWithClusterId:output_type -> pb.FindAllNotInstalledNodesWithClusterIdResponse + 37, // 61: pb.NodeService.findAllUpgradeNodesWithClusterId:output_type -> pb.FindAllUpgradeNodesWithClusterIdResponse + 39, // 62: pb.NodeService.findNodeInstallStatus:output_type -> pb.FindNodeInstallStatusResponse + 47, // 63: pb.NodeService.updateNodeLogin:output_type -> pb.RPCUpdateSuccess + 46, // 64: pb.NodeService.countAllEnabledNodesWithGroupId:output_type -> pb.RPCCountResponse 38, // [38:65] is the sub-list for method output_type 11, // [11:38] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name @@ -3100,18 +2890,6 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodesMatchRequest); i { case 0: return &v.state @@ -3123,7 +2901,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodesMatchResponse); i { case 0: return &v.state @@ -3135,7 +2913,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodesWithClusterIdRequest); i { case 0: return &v.state @@ -3147,7 +2925,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodesWithClusterIdResponse); i { case 0: return &v.state @@ -3159,7 +2937,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisableNodeRequest); i { case 0: return &v.state @@ -3171,7 +2949,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisableNodeResponse); i { case 0: return &v.state @@ -3183,7 +2961,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeRequest); i { case 0: return &v.state @@ -3195,7 +2973,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodeRequest); i { case 0: return &v.state @@ -3207,7 +2985,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodeResponse); i { case 0: return &v.state @@ -3219,7 +2997,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindCurrentNodeConfigRequest); i { case 0: return &v.state @@ -3231,7 +3009,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindCurrentNodeConfigResponse); i { case 0: return &v.state @@ -3243,7 +3021,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeStreamMessage); i { case 0: return &v.state @@ -3255,7 +3033,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeStatusRequest); i { case 0: return &v.state @@ -3267,7 +3045,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncNodesVersionWithClusterRequest); i { case 0: return &v.state @@ -3279,7 +3057,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SyncNodesVersionWithClusterResponse); i { case 0: return &v.state @@ -3291,7 +3069,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledNodesMatchRequest); i { case 0: return &v.state @@ -3303,19 +3081,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesMatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeIsInstalledRequest); i { case 0: return &v.state @@ -3327,7 +3093,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InstallNodeRequest); i { case 0: return &v.state @@ -3339,7 +3105,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InstallNodeResponse); i { case 0: return &v.state @@ -3351,7 +3117,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpgradeNodeRequest); i { case 0: return &v.state @@ -3363,7 +3129,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpgradeNodeResponse); i { case 0: return &v.state @@ -3375,7 +3141,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StartNodeRequest); i { case 0: return &v.state @@ -3387,7 +3153,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StartNodeResponse); i { case 0: return &v.state @@ -3399,7 +3165,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StopNodeRequest); i { case 0: return &v.state @@ -3411,7 +3177,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StopNodeResponse); i { case 0: return &v.state @@ -3423,7 +3189,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeConnectedAPINodesRequest); i { case 0: return &v.state @@ -3435,7 +3201,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledNodesWithGrantIdRequest); i { case 0: return &v.state @@ -3447,19 +3213,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesWithGrantIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodesWithGrantIdRequest); i { case 0: return &v.state @@ -3471,7 +3225,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodesWithGrantIdResponse); i { case 0: return &v.state @@ -3483,7 +3237,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllNotInstalledNodesWithClusterIdRequest); i { case 0: return &v.state @@ -3495,7 +3249,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllNotInstalledNodesWithClusterIdResponse); i { case 0: return &v.state @@ -3507,7 +3261,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllUpgradeNodesWithClusterIdRequest); i { case 0: return &v.state @@ -3519,7 +3273,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse); i { case 0: return &v.state @@ -3531,7 +3285,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindNodeInstallStatusRequest); i { case 0: return &v.state @@ -3543,7 +3297,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindNodeInstallStatusResponse); i { case 0: return &v.state @@ -3555,7 +3309,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeLoginRequest); i { case 0: return &v.state @@ -3567,7 +3321,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledNodesWithGroupIdRequest); i { case 0: return &v.state @@ -3579,19 +3333,7 @@ func file_service_node_proto_init() { return nil } } - file_service_node_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesWithGroupIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_service_node_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade); i { case 0: return &v.state @@ -3610,7 +3352,7 @@ func file_service_node_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_node_proto_rawDesc, NumEnums: 0, - NumMessages: 47, + NumMessages: 43, NumExtensions: 0, NumServices: 1, }, @@ -3641,9 +3383,9 @@ type NodeServiceClient interface { // 注册集群节点 RegisterClusterNode(ctx context.Context, in *RegisterClusterNodeRequest, opts ...grpc.CallOption) (*RegisterClusterNodeResponse, error) // 节点数量 - CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesResponse, error) + CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 计算匹配的节点数量 - CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesMatchResponse, error) + CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页节点 ListEnabledNodesMatch(ctx context.Context, in *ListEnabledNodesMatchRequest, opts ...grpc.CallOption) (*ListEnabledNodesMatchResponse, error) // 根据集群查找所有节点 @@ -3677,7 +3419,7 @@ type NodeServiceClient interface { // 更改节点连接的API节点信息 UpdateNodeConnectedAPINodes(ctx context.Context, in *UpdateNodeConnectedAPINodesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 计算使用某个认证的节点数量 - CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGrantIdResponse, error) + CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 查找使用某个认证的所有节点 FindAllEnabledNodesWithGrantId(ctx context.Context, in *FindAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithGrantIdResponse, error) // 列出所有未安装的节点 @@ -3689,7 +3431,7 @@ type NodeServiceClient interface { // 修改节点登录信息 UpdateNodeLogin(ctx context.Context, in *UpdateNodeLoginRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 计算某个节点分组内的节点数量 - CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGroupIdResponse, error) + CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) } type nodeServiceClient struct { @@ -3718,8 +3460,8 @@ func (c *nodeServiceClient) RegisterClusterNode(ctx context.Context, in *Registe return out, nil } -func (c *nodeServiceClient) CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesResponse, error) { - out := new(CountAllEnabledNodesResponse) +func (c *nodeServiceClient) CountAllEnabledNodes(ctx context.Context, in *CountAllEnabledNodesRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodes", in, out, opts...) if err != nil { return nil, err @@ -3727,8 +3469,8 @@ func (c *nodeServiceClient) CountAllEnabledNodes(ctx context.Context, in *CountA return out, nil } -func (c *nodeServiceClient) CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesMatchResponse, error) { - out := new(CountAllEnabledNodesMatchResponse) +func (c *nodeServiceClient) CountAllEnabledNodesMatch(ctx context.Context, in *CountAllEnabledNodesMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesMatch", in, out, opts...) if err != nil { return nil, err @@ -3902,8 +3644,8 @@ func (c *nodeServiceClient) UpdateNodeConnectedAPINodes(ctx context.Context, in return out, nil } -func (c *nodeServiceClient) CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGrantIdResponse, error) { - out := new(CountAllEnabledNodesWithGrantIdResponse) +func (c *nodeServiceClient) CountAllEnabledNodesWithGrantId(ctx context.Context, in *CountAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesWithGrantId", in, out, opts...) if err != nil { return nil, err @@ -3956,8 +3698,8 @@ func (c *nodeServiceClient) UpdateNodeLogin(ctx context.Context, in *UpdateNodeL return out, nil } -func (c *nodeServiceClient) CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodesWithGroupIdResponse, error) { - out := new(CountAllEnabledNodesWithGroupIdResponse) +func (c *nodeServiceClient) CountAllEnabledNodesWithGroupId(ctx context.Context, in *CountAllEnabledNodesWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/countAllEnabledNodesWithGroupId", in, out, opts...) if err != nil { return nil, err @@ -3972,9 +3714,9 @@ type NodeServiceServer interface { // 注册集群节点 RegisterClusterNode(context.Context, *RegisterClusterNodeRequest) (*RegisterClusterNodeResponse, error) // 节点数量 - CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*CountAllEnabledNodesResponse, error) + CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*RPCCountResponse, error) // 计算匹配的节点数量 - CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*CountAllEnabledNodesMatchResponse, error) + CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*RPCCountResponse, error) // 列出单页节点 ListEnabledNodesMatch(context.Context, *ListEnabledNodesMatchRequest) (*ListEnabledNodesMatchResponse, error) // 根据集群查找所有节点 @@ -4008,7 +3750,7 @@ type NodeServiceServer interface { // 更改节点连接的API节点信息 UpdateNodeConnectedAPINodes(context.Context, *UpdateNodeConnectedAPINodesRequest) (*RPCUpdateSuccess, error) // 计算使用某个认证的节点数量 - CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*CountAllEnabledNodesWithGrantIdResponse, error) + CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*RPCCountResponse, error) // 查找使用某个认证的所有节点 FindAllEnabledNodesWithGrantId(context.Context, *FindAllEnabledNodesWithGrantIdRequest) (*FindAllEnabledNodesWithGrantIdResponse, error) // 列出所有未安装的节点 @@ -4020,7 +3762,7 @@ type NodeServiceServer interface { // 修改节点登录信息 UpdateNodeLogin(context.Context, *UpdateNodeLoginRequest) (*RPCUpdateSuccess, error) // 计算某个节点分组内的节点数量 - CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*CountAllEnabledNodesWithGroupIdResponse, error) + CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*RPCCountResponse, error) } // UnimplementedNodeServiceServer can be embedded to have forward compatible implementations. @@ -4033,10 +3775,10 @@ func (*UnimplementedNodeServiceServer) CreateNode(context.Context, *CreateNodeRe func (*UnimplementedNodeServiceServer) RegisterClusterNode(context.Context, *RegisterClusterNodeRequest) (*RegisterClusterNodeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RegisterClusterNode not implemented") } -func (*UnimplementedNodeServiceServer) CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*CountAllEnabledNodesResponse, error) { +func (*UnimplementedNodeServiceServer) CountAllEnabledNodes(context.Context, *CountAllEnabledNodesRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodes not implemented") } -func (*UnimplementedNodeServiceServer) CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*CountAllEnabledNodesMatchResponse, error) { +func (*UnimplementedNodeServiceServer) CountAllEnabledNodesMatch(context.Context, *CountAllEnabledNodesMatchRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesMatch not implemented") } func (*UnimplementedNodeServiceServer) ListEnabledNodesMatch(context.Context, *ListEnabledNodesMatchRequest) (*ListEnabledNodesMatchResponse, error) { @@ -4087,7 +3829,7 @@ func (*UnimplementedNodeServiceServer) StopNode(context.Context, *StopNodeReques func (*UnimplementedNodeServiceServer) UpdateNodeConnectedAPINodes(context.Context, *UpdateNodeConnectedAPINodesRequest) (*RPCUpdateSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeConnectedAPINodes not implemented") } -func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*CountAllEnabledNodesWithGrantIdResponse, error) { +func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGrantId(context.Context, *CountAllEnabledNodesWithGrantIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesWithGrantId not implemented") } func (*UnimplementedNodeServiceServer) FindAllEnabledNodesWithGrantId(context.Context, *FindAllEnabledNodesWithGrantIdRequest) (*FindAllEnabledNodesWithGrantIdResponse, error) { @@ -4105,7 +3847,7 @@ func (*UnimplementedNodeServiceServer) FindNodeInstallStatus(context.Context, *F func (*UnimplementedNodeServiceServer) UpdateNodeLogin(context.Context, *UpdateNodeLoginRequest) (*RPCUpdateSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateNodeLogin not implemented") } -func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*CountAllEnabledNodesWithGroupIdResponse, error) { +func (*UnimplementedNodeServiceServer) CountAllEnabledNodesWithGroupId(context.Context, *CountAllEnabledNodesWithGroupIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodesWithGroupId not implemented") } diff --git a/pkg/rpc/pb/service_node_cluster.pb.go b/pkg/rpc/pb/service_node_cluster.pb.go index 84afa31..8561a0b 100644 --- a/pkg/rpc/pb/service_node_cluster.pb.go +++ b/pkg/rpc/pb/service_node_cluster.pb.go @@ -669,53 +669,6 @@ func (*CountAllEnabledNodeClustersRequest) Descriptor() ([]byte, []int) { return file_service_node_cluster_proto_rawDescGZIP(), []int{12} } -type CountAllEnabledNodeClustersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodeClustersResponse) Reset() { - *x = CountAllEnabledNodeClustersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodeClustersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodeClustersResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[13] - 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 CountAllEnabledNodeClustersResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodeClustersResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{13} -} - -func (x *CountAllEnabledNodeClustersResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页集群 type ListEnabledNodeClustersRequest struct { state protoimpl.MessageState @@ -729,7 +682,7 @@ type ListEnabledNodeClustersRequest struct { func (x *ListEnabledNodeClustersRequest) Reset() { *x = ListEnabledNodeClustersRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[14] + mi := &file_service_node_cluster_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -742,7 +695,7 @@ func (x *ListEnabledNodeClustersRequest) String() string { func (*ListEnabledNodeClustersRequest) ProtoMessage() {} func (x *ListEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[14] + mi := &file_service_node_cluster_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -755,7 +708,7 @@ func (x *ListEnabledNodeClustersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodeClustersRequest.ProtoReflect.Descriptor instead. func (*ListEnabledNodeClustersRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{14} + return file_service_node_cluster_proto_rawDescGZIP(), []int{13} } func (x *ListEnabledNodeClustersRequest) GetOffset() int64 { @@ -783,7 +736,7 @@ type ListEnabledNodeClustersResponse struct { func (x *ListEnabledNodeClustersResponse) Reset() { *x = ListEnabledNodeClustersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[15] + mi := &file_service_node_cluster_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -796,7 +749,7 @@ func (x *ListEnabledNodeClustersResponse) String() string { func (*ListEnabledNodeClustersResponse) ProtoMessage() {} func (x *ListEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[15] + mi := &file_service_node_cluster_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -809,7 +762,7 @@ func (x *ListEnabledNodeClustersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodeClustersResponse.ProtoReflect.Descriptor instead. func (*ListEnabledNodeClustersResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{15} + return file_service_node_cluster_proto_rawDescGZIP(), []int{14} } func (x *ListEnabledNodeClustersResponse) GetClusters() []*NodeCluster { @@ -831,7 +784,7 @@ type FindNodeClusterHealthCheckConfigRequest struct { func (x *FindNodeClusterHealthCheckConfigRequest) Reset() { *x = FindNodeClusterHealthCheckConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[16] + mi := &file_service_node_cluster_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -844,7 +797,7 @@ func (x *FindNodeClusterHealthCheckConfigRequest) String() string { func (*FindNodeClusterHealthCheckConfigRequest) ProtoMessage() {} func (x *FindNodeClusterHealthCheckConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[16] + mi := &file_service_node_cluster_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -857,7 +810,7 @@ func (x *FindNodeClusterHealthCheckConfigRequest) ProtoReflect() protoreflect.Me // Deprecated: Use FindNodeClusterHealthCheckConfigRequest.ProtoReflect.Descriptor instead. func (*FindNodeClusterHealthCheckConfigRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{16} + return file_service_node_cluster_proto_rawDescGZIP(), []int{15} } func (x *FindNodeClusterHealthCheckConfigRequest) GetClusterId() int64 { @@ -878,7 +831,7 @@ type FindNodeClusterHealthCheckConfigResponse struct { func (x *FindNodeClusterHealthCheckConfigResponse) Reset() { *x = FindNodeClusterHealthCheckConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[17] + mi := &file_service_node_cluster_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -891,7 +844,7 @@ func (x *FindNodeClusterHealthCheckConfigResponse) String() string { func (*FindNodeClusterHealthCheckConfigResponse) ProtoMessage() {} func (x *FindNodeClusterHealthCheckConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[17] + mi := &file_service_node_cluster_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -904,7 +857,7 @@ func (x *FindNodeClusterHealthCheckConfigResponse) ProtoReflect() protoreflect.M // Deprecated: Use FindNodeClusterHealthCheckConfigResponse.ProtoReflect.Descriptor instead. func (*FindNodeClusterHealthCheckConfigResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{17} + return file_service_node_cluster_proto_rawDescGZIP(), []int{16} } func (x *FindNodeClusterHealthCheckConfigResponse) GetHealthCheckConfig() []byte { @@ -927,7 +880,7 @@ type UpdateNodeClusterHealthCheckRequest struct { func (x *UpdateNodeClusterHealthCheckRequest) Reset() { *x = UpdateNodeClusterHealthCheckRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[18] + mi := &file_service_node_cluster_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -940,7 +893,7 @@ func (x *UpdateNodeClusterHealthCheckRequest) String() string { func (*UpdateNodeClusterHealthCheckRequest) ProtoMessage() {} func (x *UpdateNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[18] + mi := &file_service_node_cluster_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -953,7 +906,7 @@ func (x *UpdateNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Messag // Deprecated: Use UpdateNodeClusterHealthCheckRequest.ProtoReflect.Descriptor instead. func (*UpdateNodeClusterHealthCheckRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{18} + return file_service_node_cluster_proto_rawDescGZIP(), []int{17} } func (x *UpdateNodeClusterHealthCheckRequest) GetClusterId() int64 { @@ -982,7 +935,7 @@ type ExecuteNodeClusterHealthCheckRequest struct { func (x *ExecuteNodeClusterHealthCheckRequest) Reset() { *x = ExecuteNodeClusterHealthCheckRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[19] + mi := &file_service_node_cluster_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -995,7 +948,7 @@ func (x *ExecuteNodeClusterHealthCheckRequest) String() string { func (*ExecuteNodeClusterHealthCheckRequest) ProtoMessage() {} func (x *ExecuteNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[19] + mi := &file_service_node_cluster_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1008,7 +961,7 @@ func (x *ExecuteNodeClusterHealthCheckRequest) ProtoReflect() protoreflect.Messa // Deprecated: Use ExecuteNodeClusterHealthCheckRequest.ProtoReflect.Descriptor instead. func (*ExecuteNodeClusterHealthCheckRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{19} + return file_service_node_cluster_proto_rawDescGZIP(), []int{18} } func (x *ExecuteNodeClusterHealthCheckRequest) GetClusterId() int64 { @@ -1029,7 +982,7 @@ type ExecuteNodeClusterHealthCheckResponse struct { func (x *ExecuteNodeClusterHealthCheckResponse) Reset() { *x = ExecuteNodeClusterHealthCheckResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[20] + mi := &file_service_node_cluster_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1042,7 +995,7 @@ func (x *ExecuteNodeClusterHealthCheckResponse) String() string { func (*ExecuteNodeClusterHealthCheckResponse) ProtoMessage() {} func (x *ExecuteNodeClusterHealthCheckResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[20] + mi := &file_service_node_cluster_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1055,7 +1008,7 @@ func (x *ExecuteNodeClusterHealthCheckResponse) ProtoReflect() protoreflect.Mess // Deprecated: Use ExecuteNodeClusterHealthCheckResponse.ProtoReflect.Descriptor instead. func (*ExecuteNodeClusterHealthCheckResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{20} + return file_service_node_cluster_proto_rawDescGZIP(), []int{19} } func (x *ExecuteNodeClusterHealthCheckResponse) GetResults() []*ExecuteNodeClusterHealthCheckResponse_Result { @@ -1077,7 +1030,7 @@ type CountAllEnabledNodeClustersWithGrantIdRequest struct { func (x *CountAllEnabledNodeClustersWithGrantIdRequest) Reset() { *x = CountAllEnabledNodeClustersWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[21] + mi := &file_service_node_cluster_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1090,7 +1043,7 @@ func (x *CountAllEnabledNodeClustersWithGrantIdRequest) String() string { func (*CountAllEnabledNodeClustersWithGrantIdRequest) ProtoMessage() {} func (x *CountAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[21] + mi := &file_service_node_cluster_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1103,7 +1056,7 @@ func (x *CountAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protorefl // Deprecated: Use CountAllEnabledNodeClustersWithGrantIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodeClustersWithGrantIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{21} + return file_service_node_cluster_proto_rawDescGZIP(), []int{20} } func (x *CountAllEnabledNodeClustersWithGrantIdRequest) GetGrantId() int64 { @@ -1113,53 +1066,6 @@ func (x *CountAllEnabledNodeClustersWithGrantIdRequest) GetGrantId() int64 { return 0 } -type CountAllEnabledNodeClustersWithGrantIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodeClustersWithGrantIdResponse) Reset() { - *x = CountAllEnabledNodeClustersWithGrantIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodeClustersWithGrantIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodeClustersWithGrantIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodeClustersWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_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 CountAllEnabledNodeClustersWithGrantIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodeClustersWithGrantIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{22} -} - -func (x *CountAllEnabledNodeClustersWithGrantIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 查找使用某个认证的所有集群 type FindAllEnabledNodeClustersWithGrantIdRequest struct { state protoimpl.MessageState @@ -1172,7 +1078,7 @@ type FindAllEnabledNodeClustersWithGrantIdRequest struct { func (x *FindAllEnabledNodeClustersWithGrantIdRequest) Reset() { *x = FindAllEnabledNodeClustersWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[23] + mi := &file_service_node_cluster_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1185,7 +1091,7 @@ func (x *FindAllEnabledNodeClustersWithGrantIdRequest) String() string { func (*FindAllEnabledNodeClustersWithGrantIdRequest) ProtoMessage() {} func (x *FindAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[23] + mi := &file_service_node_cluster_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1198,7 +1104,7 @@ func (x *FindAllEnabledNodeClustersWithGrantIdRequest) ProtoReflect() protorefle // Deprecated: Use FindAllEnabledNodeClustersWithGrantIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodeClustersWithGrantIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{23} + return file_service_node_cluster_proto_rawDescGZIP(), []int{21} } func (x *FindAllEnabledNodeClustersWithGrantIdRequest) GetGrantId() int64 { @@ -1219,7 +1125,7 @@ type FindAllEnabledNodeClustersWithGrantIdResponse struct { func (x *FindAllEnabledNodeClustersWithGrantIdResponse) Reset() { *x = FindAllEnabledNodeClustersWithGrantIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[24] + mi := &file_service_node_cluster_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1232,7 +1138,7 @@ func (x *FindAllEnabledNodeClustersWithGrantIdResponse) String() string { func (*FindAllEnabledNodeClustersWithGrantIdResponse) ProtoMessage() {} func (x *FindAllEnabledNodeClustersWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[24] + mi := &file_service_node_cluster_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1245,7 +1151,7 @@ func (x *FindAllEnabledNodeClustersWithGrantIdResponse) ProtoReflect() protorefl // Deprecated: Use FindAllEnabledNodeClustersWithGrantIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodeClustersWithGrantIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{24} + return file_service_node_cluster_proto_rawDescGZIP(), []int{22} } func (x *FindAllEnabledNodeClustersWithGrantIdResponse) GetClusters() []*NodeCluster { @@ -1267,7 +1173,7 @@ type FindEnabledNodeClusterDNSRequest struct { func (x *FindEnabledNodeClusterDNSRequest) Reset() { *x = FindEnabledNodeClusterDNSRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[25] + mi := &file_service_node_cluster_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1280,7 +1186,7 @@ func (x *FindEnabledNodeClusterDNSRequest) String() string { func (*FindEnabledNodeClusterDNSRequest) ProtoMessage() {} func (x *FindEnabledNodeClusterDNSRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[25] + mi := &file_service_node_cluster_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1293,7 +1199,7 @@ func (x *FindEnabledNodeClusterDNSRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledNodeClusterDNSRequest.ProtoReflect.Descriptor instead. func (*FindEnabledNodeClusterDNSRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{25} + return file_service_node_cluster_proto_rawDescGZIP(), []int{23} } func (x *FindEnabledNodeClusterDNSRequest) GetNodeClusterId() int64 { @@ -1309,14 +1215,14 @@ type FindEnabledNodeClusterDNSResponse struct { unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + Domain *DNSDomain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Provider *DNSProvider `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` } func (x *FindEnabledNodeClusterDNSResponse) Reset() { *x = FindEnabledNodeClusterDNSResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[26] + mi := &file_service_node_cluster_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1329,7 +1235,7 @@ func (x *FindEnabledNodeClusterDNSResponse) String() string { func (*FindEnabledNodeClusterDNSResponse) ProtoMessage() {} func (x *FindEnabledNodeClusterDNSResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[26] + mi := &file_service_node_cluster_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1342,7 +1248,7 @@ func (x *FindEnabledNodeClusterDNSResponse) ProtoReflect() protoreflect.Message // Deprecated: Use FindEnabledNodeClusterDNSResponse.ProtoReflect.Descriptor instead. func (*FindEnabledNodeClusterDNSResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{26} + return file_service_node_cluster_proto_rawDescGZIP(), []int{24} } func (x *FindEnabledNodeClusterDNSResponse) GetName() string { @@ -1352,11 +1258,11 @@ func (x *FindEnabledNodeClusterDNSResponse) GetName() string { return "" } -func (x *FindEnabledNodeClusterDNSResponse) GetDomain() string { +func (x *FindEnabledNodeClusterDNSResponse) GetDomain() *DNSDomain { if x != nil { return x.Domain } - return "" + return nil } func (x *FindEnabledNodeClusterDNSResponse) GetProvider() *DNSProvider { @@ -1378,7 +1284,7 @@ type CountAllEnabledNodeClustersWithDNSProviderIdRequest struct { func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) Reset() { *x = CountAllEnabledNodeClustersWithDNSProviderIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[27] + mi := &file_service_node_cluster_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1391,7 +1297,7 @@ func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) String() string { func (*CountAllEnabledNodeClustersWithDNSProviderIdRequest) ProtoMessage() {} func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[27] + mi := &file_service_node_cluster_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1404,7 +1310,7 @@ func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) ProtoReflect() pro // Deprecated: Use CountAllEnabledNodeClustersWithDNSProviderIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodeClustersWithDNSProviderIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{27} + return file_service_node_cluster_proto_rawDescGZIP(), []int{25} } func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) GetDnsProviderId() int64 { @@ -1414,31 +1320,32 @@ func (x *CountAllEnabledNodeClustersWithDNSProviderIdRequest) GetDnsProviderId() return 0 } -type CountAllEnabledNodeClustersWithDNSProviderIdResponse struct { +// 计算使用某个DNS域名的集群数量 +type CountAllEnabledNodeClustersWithDNSDomainIdRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + DnsDomainId int64 `protobuf:"varint,1,opt,name=dnsDomainId,proto3" json:"dnsDomainId,omitempty"` } -func (x *CountAllEnabledNodeClustersWithDNSProviderIdResponse) Reset() { - *x = CountAllEnabledNodeClustersWithDNSProviderIdResponse{} +func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) Reset() { + *x = CountAllEnabledNodeClustersWithDNSDomainIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[28] + mi := &file_service_node_cluster_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *CountAllEnabledNodeClustersWithDNSProviderIdResponse) String() string { +func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CountAllEnabledNodeClustersWithDNSProviderIdResponse) ProtoMessage() {} +func (*CountAllEnabledNodeClustersWithDNSDomainIdRequest) ProtoMessage() {} -func (x *CountAllEnabledNodeClustersWithDNSProviderIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[28] +func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_node_cluster_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1449,14 +1356,14 @@ func (x *CountAllEnabledNodeClustersWithDNSProviderIdResponse) ProtoReflect() pr return mi.MessageOf(x) } -// Deprecated: Use CountAllEnabledNodeClustersWithDNSProviderIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodeClustersWithDNSProviderIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{28} +// Deprecated: Use CountAllEnabledNodeClustersWithDNSDomainIdRequest.ProtoReflect.Descriptor instead. +func (*CountAllEnabledNodeClustersWithDNSDomainIdRequest) Descriptor() ([]byte, []int) { + return file_service_node_cluster_proto_rawDescGZIP(), []int{26} } -func (x *CountAllEnabledNodeClustersWithDNSProviderIdResponse) GetCount() int64 { +func (x *CountAllEnabledNodeClustersWithDNSDomainIdRequest) GetDnsDomainId() int64 { if x != nil { - return x.Count + return x.DnsDomainId } return 0 } @@ -1476,7 +1383,7 @@ type ExecuteNodeClusterHealthCheckResponse_Result struct { func (x *ExecuteNodeClusterHealthCheckResponse_Result) Reset() { *x = ExecuteNodeClusterHealthCheckResponse_Result{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_cluster_proto_msgTypes[29] + mi := &file_service_node_cluster_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1489,7 +1396,7 @@ func (x *ExecuteNodeClusterHealthCheckResponse_Result) String() string { func (*ExecuteNodeClusterHealthCheckResponse_Result) ProtoMessage() {} func (x *ExecuteNodeClusterHealthCheckResponse_Result) ProtoReflect() protoreflect.Message { - mi := &file_service_node_cluster_proto_msgTypes[29] + mi := &file_service_node_cluster_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1502,7 +1409,7 @@ func (x *ExecuteNodeClusterHealthCheckResponse_Result) ProtoReflect() protorefle // Deprecated: Use ExecuteNodeClusterHealthCheckResponse_Result.ProtoReflect.Descriptor instead. func (*ExecuteNodeClusterHealthCheckResponse_Result) Descriptor() ([]byte, []int) { - return file_service_node_cluster_proto_rawDescGZIP(), []int{20, 0} + return file_service_node_cluster_proto_rawDescGZIP(), []int{19, 0} } func (x *ExecuteNodeClusterHealthCheckResponse_Result) GetNode() *Node { @@ -1550,274 +1457,271 @@ var file_service_node_cluster_proto_rawDesc = []byte{ 0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, - 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, + 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, - 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, + 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x22, 0x68, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 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, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x22, 0x23, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 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, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, + 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, + 0x69, 0x72, 0x22, 0x39, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x86, 0x01, + 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, + 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, 0x18, 0x0a, 0x07, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x38, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 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, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, - 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x22, 0x38, - 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, + 0x22, 0x3d, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x4b, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x42, 0x0a, 0x22, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x76, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c, + 0x6c, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, + 0x27, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, + 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, + 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, + 0x65, 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, 0x1f, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0x47, 0x0a, 0x27, + 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x28, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, + 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, + 0x6d, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x68, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44, + 0x0a, 0x24, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x22, 0xfa, 0x01, 0x0a, 0x25, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, + 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, + 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, + 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, + 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, + 0x74, 0x4d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, + 0x73, 0x22, 0x49, 0x0a, 0x2d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x2c, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x48, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, + 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8b, + 0x01, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, + 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, + 0x2b, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x33, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, + 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x31, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, + 0x32, 0x9e, 0x0e, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, + 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, + 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, + 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, - 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x22, 0x42, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, - 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x23, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x41, - 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x4e, 0x6f, - 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, - 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x23, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, + 0x66, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, + 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 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, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x73, 0x22, 0x47, 0x0a, 0x27, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x58, 0x0a, 0x28, 0x46, 0x69, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 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, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, + 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x22, 0x6d, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x65, 0x61, - 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, - 0x53, 0x4f, 0x4e, 0x22, 0x44, 0x0a, 0x24, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0xfa, 0x01, 0x0a, 0x25, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, - 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, - 0x84, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, - 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, - 0x41, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, - 0x41, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, - 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, - 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x22, 0x49, 0x0a, 0x2d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, - 0x64, 0x22, 0x46, 0x0a, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x48, 0x0a, 0x2c, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, - 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, - 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x73, 0x22, 0x48, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x21, 0x46, - 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x08, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, - 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x5b, 0x0a, 0x33, 0x43, 0x6f, 0x75, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x74, 0x0a, 0x1d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, + 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x26, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 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, 0x8c, + 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, + 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x2c, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4c, 0x0a, 0x34, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x2a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xfa, 0x0d, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, - 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, - 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, - 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, - 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6e, 0x0a, 0x1b, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, - 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, - 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, - 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x49, 0x64, 0x12, 0x35, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, - 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, - 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x1b, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, - 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, - 0x0a, 0x20, 0x66, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, - 0x1c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x27, 0x2e, - 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x74, 0x0a, 0x1d, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x28, 0x2e, - 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, - 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x31, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x30, - 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, - 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, - 0x0a, 0x2c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } @@ -1834,92 +1738,95 @@ func file_service_node_cluster_proto_rawDescGZIP() []byte { return file_service_node_cluster_proto_rawDescData } -var file_service_node_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 30) +var file_service_node_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 28) var file_service_node_cluster_proto_goTypes = []interface{}{ - (*FindAllEnabledNodeClustersRequest)(nil), // 0: pb.FindAllEnabledNodeClustersRequest - (*FindAllEnabledNodeClustersResponse)(nil), // 1: pb.FindAllEnabledNodeClustersResponse - (*FindAllChangedNodeClustersRequest)(nil), // 2: pb.FindAllChangedNodeClustersRequest - (*FindAllChangedNodeClustersResponse)(nil), // 3: pb.FindAllChangedNodeClustersResponse - (*CreateNodeClusterRequest)(nil), // 4: pb.CreateNodeClusterRequest - (*CreateNodeClusterResponse)(nil), // 5: pb.CreateNodeClusterResponse - (*UpdateNodeClusterRequest)(nil), // 6: pb.UpdateNodeClusterRequest - (*DeleteNodeClusterRequest)(nil), // 7: pb.DeleteNodeClusterRequest - (*FindEnabledNodeClusterRequest)(nil), // 8: pb.FindEnabledNodeClusterRequest - (*FindEnabledNodeClusterResponse)(nil), // 9: pb.FindEnabledNodeClusterResponse - (*FindAPINodesWithNodeClusterRequest)(nil), // 10: pb.FindAPINodesWithNodeClusterRequest - (*FindAPINodesWithNodeClusterResponse)(nil), // 11: pb.FindAPINodesWithNodeClusterResponse - (*CountAllEnabledNodeClustersRequest)(nil), // 12: pb.CountAllEnabledNodeClustersRequest - (*CountAllEnabledNodeClustersResponse)(nil), // 13: pb.CountAllEnabledNodeClustersResponse - (*ListEnabledNodeClustersRequest)(nil), // 14: pb.ListEnabledNodeClustersRequest - (*ListEnabledNodeClustersResponse)(nil), // 15: pb.ListEnabledNodeClustersResponse - (*FindNodeClusterHealthCheckConfigRequest)(nil), // 16: pb.FindNodeClusterHealthCheckConfigRequest - (*FindNodeClusterHealthCheckConfigResponse)(nil), // 17: pb.FindNodeClusterHealthCheckConfigResponse - (*UpdateNodeClusterHealthCheckRequest)(nil), // 18: pb.UpdateNodeClusterHealthCheckRequest - (*ExecuteNodeClusterHealthCheckRequest)(nil), // 19: pb.ExecuteNodeClusterHealthCheckRequest - (*ExecuteNodeClusterHealthCheckResponse)(nil), // 20: pb.ExecuteNodeClusterHealthCheckResponse - (*CountAllEnabledNodeClustersWithGrantIdRequest)(nil), // 21: pb.CountAllEnabledNodeClustersWithGrantIdRequest - (*CountAllEnabledNodeClustersWithGrantIdResponse)(nil), // 22: pb.CountAllEnabledNodeClustersWithGrantIdResponse - (*FindAllEnabledNodeClustersWithGrantIdRequest)(nil), // 23: pb.FindAllEnabledNodeClustersWithGrantIdRequest - (*FindAllEnabledNodeClustersWithGrantIdResponse)(nil), // 24: pb.FindAllEnabledNodeClustersWithGrantIdResponse - (*FindEnabledNodeClusterDNSRequest)(nil), // 25: pb.FindEnabledNodeClusterDNSRequest - (*FindEnabledNodeClusterDNSResponse)(nil), // 26: pb.FindEnabledNodeClusterDNSResponse - (*CountAllEnabledNodeClustersWithDNSProviderIdRequest)(nil), // 27: pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest - (*CountAllEnabledNodeClustersWithDNSProviderIdResponse)(nil), // 28: pb.CountAllEnabledNodeClustersWithDNSProviderIdResponse - (*ExecuteNodeClusterHealthCheckResponse_Result)(nil), // 29: pb.ExecuteNodeClusterHealthCheckResponse.Result - (*NodeCluster)(nil), // 30: pb.NodeCluster - (*APINode)(nil), // 31: pb.APINode - (*DNSProvider)(nil), // 32: pb.DNSProvider - (*Node)(nil), // 33: pb.Node - (*RPCUpdateSuccess)(nil), // 34: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 35: pb.RPCDeleteSuccess + (*FindAllEnabledNodeClustersRequest)(nil), // 0: pb.FindAllEnabledNodeClustersRequest + (*FindAllEnabledNodeClustersResponse)(nil), // 1: pb.FindAllEnabledNodeClustersResponse + (*FindAllChangedNodeClustersRequest)(nil), // 2: pb.FindAllChangedNodeClustersRequest + (*FindAllChangedNodeClustersResponse)(nil), // 3: pb.FindAllChangedNodeClustersResponse + (*CreateNodeClusterRequest)(nil), // 4: pb.CreateNodeClusterRequest + (*CreateNodeClusterResponse)(nil), // 5: pb.CreateNodeClusterResponse + (*UpdateNodeClusterRequest)(nil), // 6: pb.UpdateNodeClusterRequest + (*DeleteNodeClusterRequest)(nil), // 7: pb.DeleteNodeClusterRequest + (*FindEnabledNodeClusterRequest)(nil), // 8: pb.FindEnabledNodeClusterRequest + (*FindEnabledNodeClusterResponse)(nil), // 9: pb.FindEnabledNodeClusterResponse + (*FindAPINodesWithNodeClusterRequest)(nil), // 10: pb.FindAPINodesWithNodeClusterRequest + (*FindAPINodesWithNodeClusterResponse)(nil), // 11: pb.FindAPINodesWithNodeClusterResponse + (*CountAllEnabledNodeClustersRequest)(nil), // 12: pb.CountAllEnabledNodeClustersRequest + (*ListEnabledNodeClustersRequest)(nil), // 13: pb.ListEnabledNodeClustersRequest + (*ListEnabledNodeClustersResponse)(nil), // 14: pb.ListEnabledNodeClustersResponse + (*FindNodeClusterHealthCheckConfigRequest)(nil), // 15: pb.FindNodeClusterHealthCheckConfigRequest + (*FindNodeClusterHealthCheckConfigResponse)(nil), // 16: pb.FindNodeClusterHealthCheckConfigResponse + (*UpdateNodeClusterHealthCheckRequest)(nil), // 17: pb.UpdateNodeClusterHealthCheckRequest + (*ExecuteNodeClusterHealthCheckRequest)(nil), // 18: pb.ExecuteNodeClusterHealthCheckRequest + (*ExecuteNodeClusterHealthCheckResponse)(nil), // 19: pb.ExecuteNodeClusterHealthCheckResponse + (*CountAllEnabledNodeClustersWithGrantIdRequest)(nil), // 20: pb.CountAllEnabledNodeClustersWithGrantIdRequest + (*FindAllEnabledNodeClustersWithGrantIdRequest)(nil), // 21: pb.FindAllEnabledNodeClustersWithGrantIdRequest + (*FindAllEnabledNodeClustersWithGrantIdResponse)(nil), // 22: pb.FindAllEnabledNodeClustersWithGrantIdResponse + (*FindEnabledNodeClusterDNSRequest)(nil), // 23: pb.FindEnabledNodeClusterDNSRequest + (*FindEnabledNodeClusterDNSResponse)(nil), // 24: pb.FindEnabledNodeClusterDNSResponse + (*CountAllEnabledNodeClustersWithDNSProviderIdRequest)(nil), // 25: pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest + (*CountAllEnabledNodeClustersWithDNSDomainIdRequest)(nil), // 26: pb.CountAllEnabledNodeClustersWithDNSDomainIdRequest + (*ExecuteNodeClusterHealthCheckResponse_Result)(nil), // 27: pb.ExecuteNodeClusterHealthCheckResponse.Result + (*NodeCluster)(nil), // 28: pb.NodeCluster + (*APINode)(nil), // 29: pb.APINode + (*DNSDomain)(nil), // 30: pb.DNSDomain + (*DNSProvider)(nil), // 31: pb.DNSProvider + (*Node)(nil), // 32: pb.Node + (*RPCUpdateSuccess)(nil), // 33: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 34: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 35: pb.RPCCountResponse } var file_service_node_cluster_proto_depIdxs = []int32{ - 30, // 0: pb.FindAllEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster - 30, // 1: pb.FindAllChangedNodeClustersResponse.clusters:type_name -> pb.NodeCluster - 30, // 2: pb.FindEnabledNodeClusterResponse.cluster:type_name -> pb.NodeCluster - 31, // 3: pb.FindAPINodesWithNodeClusterResponse.apiNodes:type_name -> pb.APINode - 30, // 4: pb.ListEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster - 29, // 5: pb.ExecuteNodeClusterHealthCheckResponse.results:type_name -> pb.ExecuteNodeClusterHealthCheckResponse.Result - 30, // 6: pb.FindAllEnabledNodeClustersWithGrantIdResponse.clusters:type_name -> pb.NodeCluster - 32, // 7: pb.FindEnabledNodeClusterDNSResponse.provider:type_name -> pb.DNSProvider - 33, // 8: pb.ExecuteNodeClusterHealthCheckResponse.Result.node:type_name -> pb.Node - 4, // 9: pb.NodeClusterService.createNodeCluster:input_type -> pb.CreateNodeClusterRequest - 6, // 10: pb.NodeClusterService.updateNodeCluster:input_type -> pb.UpdateNodeClusterRequest - 7, // 11: pb.NodeClusterService.deleteNodeCluster:input_type -> pb.DeleteNodeClusterRequest - 8, // 12: pb.NodeClusterService.findEnabledNodeCluster:input_type -> pb.FindEnabledNodeClusterRequest - 10, // 13: pb.NodeClusterService.findAPINodesWithNodeCluster:input_type -> pb.FindAPINodesWithNodeClusterRequest - 0, // 14: pb.NodeClusterService.findAllEnabledNodeClusters:input_type -> pb.FindAllEnabledNodeClustersRequest - 2, // 15: pb.NodeClusterService.findAllChangedNodeClusters:input_type -> pb.FindAllChangedNodeClustersRequest - 12, // 16: pb.NodeClusterService.countAllEnabledNodeClusters:input_type -> pb.CountAllEnabledNodeClustersRequest - 14, // 17: pb.NodeClusterService.listEnabledNodeClusters:input_type -> pb.ListEnabledNodeClustersRequest - 16, // 18: pb.NodeClusterService.findNodeClusterHealthCheckConfig:input_type -> pb.FindNodeClusterHealthCheckConfigRequest - 18, // 19: pb.NodeClusterService.updateNodeClusterHealthCheck:input_type -> pb.UpdateNodeClusterHealthCheckRequest - 19, // 20: pb.NodeClusterService.executeNodeClusterHealthCheck:input_type -> pb.ExecuteNodeClusterHealthCheckRequest - 21, // 21: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:input_type -> pb.CountAllEnabledNodeClustersWithGrantIdRequest - 23, // 22: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:input_type -> pb.FindAllEnabledNodeClustersWithGrantIdRequest - 25, // 23: pb.NodeClusterService.findEnabledNodeClusterDNS:input_type -> pb.FindEnabledNodeClusterDNSRequest - 27, // 24: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:input_type -> pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest - 5, // 25: pb.NodeClusterService.createNodeCluster:output_type -> pb.CreateNodeClusterResponse - 34, // 26: pb.NodeClusterService.updateNodeCluster:output_type -> pb.RPCUpdateSuccess - 35, // 27: pb.NodeClusterService.deleteNodeCluster:output_type -> pb.RPCDeleteSuccess - 9, // 28: pb.NodeClusterService.findEnabledNodeCluster:output_type -> pb.FindEnabledNodeClusterResponse - 11, // 29: pb.NodeClusterService.findAPINodesWithNodeCluster:output_type -> pb.FindAPINodesWithNodeClusterResponse - 1, // 30: pb.NodeClusterService.findAllEnabledNodeClusters:output_type -> pb.FindAllEnabledNodeClustersResponse - 3, // 31: pb.NodeClusterService.findAllChangedNodeClusters:output_type -> pb.FindAllChangedNodeClustersResponse - 13, // 32: pb.NodeClusterService.countAllEnabledNodeClusters:output_type -> pb.CountAllEnabledNodeClustersResponse - 15, // 33: pb.NodeClusterService.listEnabledNodeClusters:output_type -> pb.ListEnabledNodeClustersResponse - 17, // 34: pb.NodeClusterService.findNodeClusterHealthCheckConfig:output_type -> pb.FindNodeClusterHealthCheckConfigResponse - 34, // 35: pb.NodeClusterService.updateNodeClusterHealthCheck:output_type -> pb.RPCUpdateSuccess - 20, // 36: pb.NodeClusterService.executeNodeClusterHealthCheck:output_type -> pb.ExecuteNodeClusterHealthCheckResponse - 22, // 37: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:output_type -> pb.CountAllEnabledNodeClustersWithGrantIdResponse - 24, // 38: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:output_type -> pb.FindAllEnabledNodeClustersWithGrantIdResponse - 26, // 39: pb.NodeClusterService.findEnabledNodeClusterDNS:output_type -> pb.FindEnabledNodeClusterDNSResponse - 28, // 40: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:output_type -> pb.CountAllEnabledNodeClustersWithDNSProviderIdResponse - 25, // [25:41] is the sub-list for method output_type - 9, // [9:25] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name + 28, // 0: pb.FindAllEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster + 28, // 1: pb.FindAllChangedNodeClustersResponse.clusters:type_name -> pb.NodeCluster + 28, // 2: pb.FindEnabledNodeClusterResponse.cluster:type_name -> pb.NodeCluster + 29, // 3: pb.FindAPINodesWithNodeClusterResponse.apiNodes:type_name -> pb.APINode + 28, // 4: pb.ListEnabledNodeClustersResponse.clusters:type_name -> pb.NodeCluster + 27, // 5: pb.ExecuteNodeClusterHealthCheckResponse.results:type_name -> pb.ExecuteNodeClusterHealthCheckResponse.Result + 28, // 6: pb.FindAllEnabledNodeClustersWithGrantIdResponse.clusters:type_name -> pb.NodeCluster + 30, // 7: pb.FindEnabledNodeClusterDNSResponse.domain:type_name -> pb.DNSDomain + 31, // 8: pb.FindEnabledNodeClusterDNSResponse.provider:type_name -> pb.DNSProvider + 32, // 9: pb.ExecuteNodeClusterHealthCheckResponse.Result.node:type_name -> pb.Node + 4, // 10: pb.NodeClusterService.createNodeCluster:input_type -> pb.CreateNodeClusterRequest + 6, // 11: pb.NodeClusterService.updateNodeCluster:input_type -> pb.UpdateNodeClusterRequest + 7, // 12: pb.NodeClusterService.deleteNodeCluster:input_type -> pb.DeleteNodeClusterRequest + 8, // 13: pb.NodeClusterService.findEnabledNodeCluster:input_type -> pb.FindEnabledNodeClusterRequest + 10, // 14: pb.NodeClusterService.findAPINodesWithNodeCluster:input_type -> pb.FindAPINodesWithNodeClusterRequest + 0, // 15: pb.NodeClusterService.findAllEnabledNodeClusters:input_type -> pb.FindAllEnabledNodeClustersRequest + 2, // 16: pb.NodeClusterService.findAllChangedNodeClusters:input_type -> pb.FindAllChangedNodeClustersRequest + 12, // 17: pb.NodeClusterService.countAllEnabledNodeClusters:input_type -> pb.CountAllEnabledNodeClustersRequest + 13, // 18: pb.NodeClusterService.listEnabledNodeClusters:input_type -> pb.ListEnabledNodeClustersRequest + 15, // 19: pb.NodeClusterService.findNodeClusterHealthCheckConfig:input_type -> pb.FindNodeClusterHealthCheckConfigRequest + 17, // 20: pb.NodeClusterService.updateNodeClusterHealthCheck:input_type -> pb.UpdateNodeClusterHealthCheckRequest + 18, // 21: pb.NodeClusterService.executeNodeClusterHealthCheck:input_type -> pb.ExecuteNodeClusterHealthCheckRequest + 20, // 22: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:input_type -> pb.CountAllEnabledNodeClustersWithGrantIdRequest + 21, // 23: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:input_type -> pb.FindAllEnabledNodeClustersWithGrantIdRequest + 23, // 24: pb.NodeClusterService.findEnabledNodeClusterDNS:input_type -> pb.FindEnabledNodeClusterDNSRequest + 25, // 25: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:input_type -> pb.CountAllEnabledNodeClustersWithDNSProviderIdRequest + 26, // 26: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSDomainId:input_type -> pb.CountAllEnabledNodeClustersWithDNSDomainIdRequest + 5, // 27: pb.NodeClusterService.createNodeCluster:output_type -> pb.CreateNodeClusterResponse + 33, // 28: pb.NodeClusterService.updateNodeCluster:output_type -> pb.RPCUpdateSuccess + 34, // 29: pb.NodeClusterService.deleteNodeCluster:output_type -> pb.RPCDeleteSuccess + 9, // 30: pb.NodeClusterService.findEnabledNodeCluster:output_type -> pb.FindEnabledNodeClusterResponse + 11, // 31: pb.NodeClusterService.findAPINodesWithNodeCluster:output_type -> pb.FindAPINodesWithNodeClusterResponse + 1, // 32: pb.NodeClusterService.findAllEnabledNodeClusters:output_type -> pb.FindAllEnabledNodeClustersResponse + 3, // 33: pb.NodeClusterService.findAllChangedNodeClusters:output_type -> pb.FindAllChangedNodeClustersResponse + 35, // 34: pb.NodeClusterService.countAllEnabledNodeClusters:output_type -> pb.RPCCountResponse + 14, // 35: pb.NodeClusterService.listEnabledNodeClusters:output_type -> pb.ListEnabledNodeClustersResponse + 16, // 36: pb.NodeClusterService.findNodeClusterHealthCheckConfig:output_type -> pb.FindNodeClusterHealthCheckConfigResponse + 33, // 37: pb.NodeClusterService.updateNodeClusterHealthCheck:output_type -> pb.RPCUpdateSuccess + 19, // 38: pb.NodeClusterService.executeNodeClusterHealthCheck:output_type -> pb.ExecuteNodeClusterHealthCheckResponse + 35, // 39: pb.NodeClusterService.countAllEnabledNodeClustersWithGrantId:output_type -> pb.RPCCountResponse + 22, // 40: pb.NodeClusterService.findAllEnabledNodeClustersWithGrantId:output_type -> pb.FindAllEnabledNodeClustersWithGrantIdResponse + 24, // 41: pb.NodeClusterService.findEnabledNodeClusterDNS:output_type -> pb.FindEnabledNodeClusterDNSResponse + 35, // 42: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSProviderId:output_type -> pb.RPCCountResponse + 35, // 43: pb.NodeClusterService.countAllEnabledNodeClustersWithDNSDomainId:output_type -> pb.RPCCountResponse + 27, // [27:44] is the sub-list for method output_type + 10, // [10:27] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name } func init() { file_service_node_cluster_proto_init() } @@ -1931,6 +1838,7 @@ func file_service_node_cluster_proto_init() { file_model_api_node_proto_init() file_model_node_proto_init() file_rpc_messages_proto_init() + file_model_dns_domain_proto_init() file_model_dns_provider_proto_init() if !protoimpl.UnsafeEnabled { file_service_node_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -2090,18 +1998,6 @@ func file_service_node_cluster_proto_init() { } } file_service_node_cluster_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodeClustersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodeClustersRequest); i { case 0: return &v.state @@ -2113,7 +2009,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodeClustersResponse); i { case 0: return &v.state @@ -2125,7 +2021,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindNodeClusterHealthCheckConfigRequest); i { case 0: return &v.state @@ -2137,7 +2033,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindNodeClusterHealthCheckConfigResponse); i { case 0: return &v.state @@ -2149,7 +2045,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeClusterHealthCheckRequest); i { case 0: return &v.state @@ -2161,7 +2057,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExecuteNodeClusterHealthCheckRequest); i { case 0: return &v.state @@ -2173,7 +2069,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExecuteNodeClusterHealthCheckResponse); i { case 0: return &v.state @@ -2185,7 +2081,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledNodeClustersWithGrantIdRequest); i { case 0: return &v.state @@ -2197,19 +2093,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodeClustersWithGrantIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_cluster_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodeClustersWithGrantIdRequest); i { case 0: return &v.state @@ -2221,7 +2105,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodeClustersWithGrantIdResponse); i { case 0: return &v.state @@ -2233,7 +2117,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodeClusterDNSRequest); i { case 0: return &v.state @@ -2245,7 +2129,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledNodeClusterDNSResponse); i { case 0: return &v.state @@ -2257,7 +2141,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledNodeClustersWithDNSProviderIdRequest); i { case 0: return &v.state @@ -2269,8 +2153,8 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodeClustersWithDNSProviderIdResponse); i { + file_service_node_cluster_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountAllEnabledNodeClustersWithDNSDomainIdRequest); i { case 0: return &v.state case 1: @@ -2281,7 +2165,7 @@ func file_service_node_cluster_proto_init() { return nil } } - file_service_node_cluster_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_service_node_cluster_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExecuteNodeClusterHealthCheckResponse_Result); i { case 0: return &v.state @@ -2300,7 +2184,7 @@ func file_service_node_cluster_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_node_cluster_proto_rawDesc, NumEnums: 0, - NumMessages: 30, + NumMessages: 28, NumExtensions: 0, NumServices: 1, }, @@ -2341,7 +2225,7 @@ type NodeClusterServiceClient interface { // 获取变更的集群 FindAllChangedNodeClusters(ctx context.Context, in *FindAllChangedNodeClustersRequest, opts ...grpc.CallOption) (*FindAllChangedNodeClustersResponse, error) // 计算所有集群数量 - CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersResponse, error) + CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页集群 ListEnabledNodeClusters(ctx context.Context, in *ListEnabledNodeClustersRequest, opts ...grpc.CallOption) (*ListEnabledNodeClustersResponse, error) // 查找集群的健康检查配置 @@ -2351,13 +2235,15 @@ type NodeClusterServiceClient interface { // 执行健康检查 ExecuteNodeClusterHealthCheck(ctx context.Context, in *ExecuteNodeClusterHealthCheckRequest, opts ...grpc.CallOption) (*ExecuteNodeClusterHealthCheckResponse, error) // 计算使用某个认证的集群数量 - CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersWithGrantIdResponse, error) + CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 查找使用某个认证的所有集群 FindAllEnabledNodeClustersWithGrantId(ctx context.Context, in *FindAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodeClustersWithGrantIdResponse, error) // 查找集群的DNS配置 FindEnabledNodeClusterDNS(ctx context.Context, in *FindEnabledNodeClusterDNSRequest, opts ...grpc.CallOption) (*FindEnabledNodeClusterDNSResponse, error) // 计算使用某个DNS服务商的集群数量 - CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersWithDNSProviderIdResponse, error) + CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) + // 计算使用某个DNS域名的集群数量 + CountAllEnabledNodeClustersWithDNSDomainId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSDomainIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) } type nodeClusterServiceClient struct { @@ -2431,8 +2317,8 @@ func (c *nodeClusterServiceClient) FindAllChangedNodeClusters(ctx context.Contex return out, nil } -func (c *nodeClusterServiceClient) CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersResponse, error) { - out := new(CountAllEnabledNodeClustersResponse) +func (c *nodeClusterServiceClient) CountAllEnabledNodeClusters(ctx context.Context, in *CountAllEnabledNodeClustersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClusters", in, out, opts...) if err != nil { return nil, err @@ -2476,8 +2362,8 @@ func (c *nodeClusterServiceClient) ExecuteNodeClusterHealthCheck(ctx context.Con return out, nil } -func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersWithGrantIdResponse, error) { - out := new(CountAllEnabledNodeClustersWithGrantIdResponse) +func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithGrantId(ctx context.Context, in *CountAllEnabledNodeClustersWithGrantIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithGrantId", in, out, opts...) if err != nil { return nil, err @@ -2503,8 +2389,8 @@ func (c *nodeClusterServiceClient) FindEnabledNodeClusterDNS(ctx context.Context return out, nil } -func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeClustersWithDNSProviderIdResponse, error) { - out := new(CountAllEnabledNodeClustersWithDNSProviderIdResponse) +func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSProviderId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithDNSProviderId", in, out, opts...) if err != nil { return nil, err @@ -2512,6 +2398,15 @@ func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSProviderId( return out, nil } +func (c *nodeClusterServiceClient) CountAllEnabledNodeClustersWithDNSDomainId(ctx context.Context, in *CountAllEnabledNodeClustersWithDNSDomainIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) + err := c.cc.Invoke(ctx, "/pb.NodeClusterService/countAllEnabledNodeClustersWithDNSDomainId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // NodeClusterServiceServer is the server API for NodeClusterService service. type NodeClusterServiceServer interface { // 创建集群 @@ -2529,7 +2424,7 @@ type NodeClusterServiceServer interface { // 获取变更的集群 FindAllChangedNodeClusters(context.Context, *FindAllChangedNodeClustersRequest) (*FindAllChangedNodeClustersResponse, error) // 计算所有集群数量 - CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*CountAllEnabledNodeClustersResponse, error) + CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*RPCCountResponse, error) // 列出单页集群 ListEnabledNodeClusters(context.Context, *ListEnabledNodeClustersRequest) (*ListEnabledNodeClustersResponse, error) // 查找集群的健康检查配置 @@ -2539,13 +2434,15 @@ type NodeClusterServiceServer interface { // 执行健康检查 ExecuteNodeClusterHealthCheck(context.Context, *ExecuteNodeClusterHealthCheckRequest) (*ExecuteNodeClusterHealthCheckResponse, error) // 计算使用某个认证的集群数量 - CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*CountAllEnabledNodeClustersWithGrantIdResponse, error) + CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*RPCCountResponse, error) // 查找使用某个认证的所有集群 FindAllEnabledNodeClustersWithGrantId(context.Context, *FindAllEnabledNodeClustersWithGrantIdRequest) (*FindAllEnabledNodeClustersWithGrantIdResponse, error) // 查找集群的DNS配置 FindEnabledNodeClusterDNS(context.Context, *FindEnabledNodeClusterDNSRequest) (*FindEnabledNodeClusterDNSResponse, error) // 计算使用某个DNS服务商的集群数量 - CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*CountAllEnabledNodeClustersWithDNSProviderIdResponse, error) + CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*RPCCountResponse, error) + // 计算使用某个DNS域名的集群数量 + CountAllEnabledNodeClustersWithDNSDomainId(context.Context, *CountAllEnabledNodeClustersWithDNSDomainIdRequest) (*RPCCountResponse, error) } // UnimplementedNodeClusterServiceServer can be embedded to have forward compatible implementations. @@ -2573,7 +2470,7 @@ func (*UnimplementedNodeClusterServiceServer) FindAllEnabledNodeClusters(context func (*UnimplementedNodeClusterServiceServer) FindAllChangedNodeClusters(context.Context, *FindAllChangedNodeClustersRequest) (*FindAllChangedNodeClustersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllChangedNodeClusters not implemented") } -func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*CountAllEnabledNodeClustersResponse, error) { +func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClusters(context.Context, *CountAllEnabledNodeClustersRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClusters not implemented") } func (*UnimplementedNodeClusterServiceServer) ListEnabledNodeClusters(context.Context, *ListEnabledNodeClustersRequest) (*ListEnabledNodeClustersResponse, error) { @@ -2588,7 +2485,7 @@ func (*UnimplementedNodeClusterServiceServer) UpdateNodeClusterHealthCheck(conte func (*UnimplementedNodeClusterServiceServer) ExecuteNodeClusterHealthCheck(context.Context, *ExecuteNodeClusterHealthCheckRequest) (*ExecuteNodeClusterHealthCheckResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ExecuteNodeClusterHealthCheck not implemented") } -func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*CountAllEnabledNodeClustersWithGrantIdResponse, error) { +func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithGrantId(context.Context, *CountAllEnabledNodeClustersWithGrantIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithGrantId not implemented") } func (*UnimplementedNodeClusterServiceServer) FindAllEnabledNodeClustersWithGrantId(context.Context, *FindAllEnabledNodeClustersWithGrantIdRequest) (*FindAllEnabledNodeClustersWithGrantIdResponse, error) { @@ -2597,9 +2494,12 @@ func (*UnimplementedNodeClusterServiceServer) FindAllEnabledNodeClustersWithGran func (*UnimplementedNodeClusterServiceServer) FindEnabledNodeClusterDNS(context.Context, *FindEnabledNodeClusterDNSRequest) (*FindEnabledNodeClusterDNSResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledNodeClusterDNS not implemented") } -func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*CountAllEnabledNodeClustersWithDNSProviderIdResponse, error) { +func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithDNSProviderId(context.Context, *CountAllEnabledNodeClustersWithDNSProviderIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithDNSProviderId not implemented") } +func (*UnimplementedNodeClusterServiceServer) CountAllEnabledNodeClustersWithDNSDomainId(context.Context, *CountAllEnabledNodeClustersWithDNSDomainIdRequest) (*RPCCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeClustersWithDNSDomainId not implemented") +} func RegisterNodeClusterServiceServer(s *grpc.Server, srv NodeClusterServiceServer) { s.RegisterService(&_NodeClusterService_serviceDesc, srv) @@ -2893,6 +2793,24 @@ func _NodeClusterService_CountAllEnabledNodeClustersWithDNSProviderId_Handler(sr return interceptor(ctx, in, info, handler) } +func _NodeClusterService_CountAllEnabledNodeClustersWithDNSDomainId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountAllEnabledNodeClustersWithDNSDomainIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSDomainId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.NodeClusterService/CountAllEnabledNodeClustersWithDNSDomainId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NodeClusterServiceServer).CountAllEnabledNodeClustersWithDNSDomainId(ctx, req.(*CountAllEnabledNodeClustersWithDNSDomainIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _NodeClusterService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.NodeClusterService", HandlerType: (*NodeClusterServiceServer)(nil), @@ -2961,6 +2879,10 @@ var _NodeClusterService_serviceDesc = grpc.ServiceDesc{ MethodName: "countAllEnabledNodeClustersWithDNSProviderId", Handler: _NodeClusterService_CountAllEnabledNodeClustersWithDNSProviderId_Handler, }, + { + MethodName: "countAllEnabledNodeClustersWithDNSDomainId", + Handler: _NodeClusterService_CountAllEnabledNodeClustersWithDNSDomainId_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_node_cluster.proto", diff --git a/pkg/rpc/pb/service_node_grant.pb.go b/pkg/rpc/pb/service_node_grant.pb.go index f302682..61178bf 100644 --- a/pkg/rpc/pb/service_node_grant.pb.go +++ b/pkg/rpc/pb/service_node_grant.pb.go @@ -401,53 +401,6 @@ func (*CountAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) { return file_service_node_grant_proto_rawDescGZIP(), []int{5} } -type CountAllEnabledNodeGrantsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledNodeGrantsResponse) Reset() { - *x = CountAllEnabledNodeGrantsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledNodeGrantsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledNodeGrantsResponse) ProtoMessage() {} - -func (x *CountAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[6] - 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 CountAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{6} -} - -func (x *CountAllEnabledNodeGrantsResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页认证 type ListEnabledNodeGrantsRequest struct { state protoimpl.MessageState @@ -461,7 +414,7 @@ type ListEnabledNodeGrantsRequest struct { func (x *ListEnabledNodeGrantsRequest) Reset() { *x = ListEnabledNodeGrantsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[7] + mi := &file_service_node_grant_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -474,7 +427,7 @@ func (x *ListEnabledNodeGrantsRequest) String() string { func (*ListEnabledNodeGrantsRequest) ProtoMessage() {} func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[7] + mi := &file_service_node_grant_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -487,7 +440,7 @@ func (x *ListEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead. func (*ListEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{7} + return file_service_node_grant_proto_rawDescGZIP(), []int{6} } func (x *ListEnabledNodeGrantsRequest) GetOffset() int64 { @@ -515,7 +468,7 @@ type ListEnabledNodeGrantsResponse struct { func (x *ListEnabledNodeGrantsResponse) Reset() { *x = ListEnabledNodeGrantsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[8] + mi := &file_service_node_grant_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -528,7 +481,7 @@ func (x *ListEnabledNodeGrantsResponse) String() string { func (*ListEnabledNodeGrantsResponse) ProtoMessage() {} func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[8] + mi := &file_service_node_grant_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -541,7 +494,7 @@ func (x *ListEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead. func (*ListEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{8} + return file_service_node_grant_proto_rawDescGZIP(), []int{7} } func (x *ListEnabledNodeGrantsResponse) GetGrants() []*NodeGrant { @@ -561,7 +514,7 @@ type FindAllEnabledNodeGrantsRequest struct { func (x *FindAllEnabledNodeGrantsRequest) Reset() { *x = FindAllEnabledNodeGrantsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[9] + mi := &file_service_node_grant_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -574,7 +527,7 @@ func (x *FindAllEnabledNodeGrantsRequest) String() string { func (*FindAllEnabledNodeGrantsRequest) ProtoMessage() {} func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[9] + mi := &file_service_node_grant_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -587,7 +540,7 @@ func (x *FindAllEnabledNodeGrantsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllEnabledNodeGrantsRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodeGrantsRequest) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{9} + return file_service_node_grant_proto_rawDescGZIP(), []int{8} } type FindAllEnabledNodeGrantsResponse struct { @@ -601,7 +554,7 @@ type FindAllEnabledNodeGrantsResponse struct { func (x *FindAllEnabledNodeGrantsResponse) Reset() { *x = FindAllEnabledNodeGrantsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[10] + mi := &file_service_node_grant_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -614,7 +567,7 @@ func (x *FindAllEnabledNodeGrantsResponse) String() string { func (*FindAllEnabledNodeGrantsResponse) ProtoMessage() {} func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[10] + mi := &file_service_node_grant_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -627,7 +580,7 @@ func (x *FindAllEnabledNodeGrantsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllEnabledNodeGrantsResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledNodeGrantsResponse) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{10} + return file_service_node_grant_proto_rawDescGZIP(), []int{9} } func (x *FindAllEnabledNodeGrantsResponse) GetGrants() []*NodeGrant { @@ -649,7 +602,7 @@ type FindEnabledGrantRequest struct { func (x *FindEnabledGrantRequest) Reset() { *x = FindEnabledGrantRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[11] + mi := &file_service_node_grant_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -662,7 +615,7 @@ func (x *FindEnabledGrantRequest) String() string { func (*FindEnabledGrantRequest) ProtoMessage() {} func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[11] + mi := &file_service_node_grant_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -675,7 +628,7 @@ func (x *FindEnabledGrantRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledGrantRequest.ProtoReflect.Descriptor instead. func (*FindEnabledGrantRequest) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{11} + return file_service_node_grant_proto_rawDescGZIP(), []int{10} } func (x *FindEnabledGrantRequest) GetGrantId() int64 { @@ -696,7 +649,7 @@ type FindEnabledGrantResponse struct { func (x *FindEnabledGrantResponse) Reset() { *x = FindEnabledGrantResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_grant_proto_msgTypes[12] + mi := &file_service_node_grant_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -709,7 +662,7 @@ func (x *FindEnabledGrantResponse) String() string { func (*FindEnabledGrantResponse) ProtoMessage() {} func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_grant_proto_msgTypes[12] + mi := &file_service_node_grant_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -722,7 +675,7 @@ func (x *FindEnabledGrantResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledGrantResponse.ProtoReflect.Descriptor instead. func (*FindEnabledGrantResponse) Descriptor() ([]byte, []int) { - return file_service_node_grant_proto_rawDescGZIP(), []int{12} + return file_service_node_grant_proto_rawDescGZIP(), []int{11} } func (x *FindEnabledGrantResponse) GetGrant() *NodeGrant { @@ -779,74 +732,69 @@ var file_service_node_grant_proto_rawDesc = []byte{ 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x20, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x39, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4a, 0x0a, 0x1c, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, - 0x61, 0x6e, 0x74, 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, 0x46, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x45, + 0x22, 0x4a, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x46, 0x0a, 0x1d, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, + 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, + 0x61, 0x6e, 0x74, 0x73, 0x22, 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, - 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, - 0x21, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x33, 0x0a, - 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, - 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, - 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, - 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, - 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x05, 0x67, 0x72, - 0x61, 0x6e, 0x74, 0x32, 0xf0, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, - 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e, - 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, - 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, - 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, - 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, - 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62, - 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x70, 0x62, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, - 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x6f, - 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x67, + 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, + 0x74, 0x73, 0x22, 0x33, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, + 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x52, 0x05, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x32, 0xdf, 0x04, 0x0a, 0x10, 0x4e, 0x6f, 0x64, + 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, + 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, + 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x2e, 0x70, + 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, + 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4d, + 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x12, + 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, - 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x73, + 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 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, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x46, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, + 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x72, 0x61, + 0x6e, 0x74, 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 ( @@ -861,42 +809,42 @@ func file_service_node_grant_proto_rawDescGZIP() []byte { return file_service_node_grant_proto_rawDescData } -var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_service_node_grant_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_service_node_grant_proto_goTypes = []interface{}{ - (*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest - (*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse - (*UpdateNodeGrantRequest)(nil), // 2: pb.UpdateNodeGrantRequest - (*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest - (*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse - (*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest - (*CountAllEnabledNodeGrantsResponse)(nil), // 6: pb.CountAllEnabledNodeGrantsResponse - (*ListEnabledNodeGrantsRequest)(nil), // 7: pb.ListEnabledNodeGrantsRequest - (*ListEnabledNodeGrantsResponse)(nil), // 8: pb.ListEnabledNodeGrantsResponse - (*FindAllEnabledNodeGrantsRequest)(nil), // 9: pb.FindAllEnabledNodeGrantsRequest - (*FindAllEnabledNodeGrantsResponse)(nil), // 10: pb.FindAllEnabledNodeGrantsResponse - (*FindEnabledGrantRequest)(nil), // 11: pb.FindEnabledGrantRequest - (*FindEnabledGrantResponse)(nil), // 12: pb.FindEnabledGrantResponse - (*NodeGrant)(nil), // 13: pb.NodeGrant - (*RPCUpdateSuccess)(nil), // 14: pb.RPCUpdateSuccess + (*CreateNodeGrantRequest)(nil), // 0: pb.CreateNodeGrantRequest + (*CreateNodeGrantResponse)(nil), // 1: pb.CreateNodeGrantResponse + (*UpdateNodeGrantRequest)(nil), // 2: pb.UpdateNodeGrantRequest + (*DisableNodeGrantRequest)(nil), // 3: pb.DisableNodeGrantRequest + (*DisableNodeGrantResponse)(nil), // 4: pb.DisableNodeGrantResponse + (*CountAllEnabledNodeGrantsRequest)(nil), // 5: pb.CountAllEnabledNodeGrantsRequest + (*ListEnabledNodeGrantsRequest)(nil), // 6: pb.ListEnabledNodeGrantsRequest + (*ListEnabledNodeGrantsResponse)(nil), // 7: pb.ListEnabledNodeGrantsResponse + (*FindAllEnabledNodeGrantsRequest)(nil), // 8: pb.FindAllEnabledNodeGrantsRequest + (*FindAllEnabledNodeGrantsResponse)(nil), // 9: pb.FindAllEnabledNodeGrantsResponse + (*FindEnabledGrantRequest)(nil), // 10: pb.FindEnabledGrantRequest + (*FindEnabledGrantResponse)(nil), // 11: pb.FindEnabledGrantResponse + (*NodeGrant)(nil), // 12: pb.NodeGrant + (*RPCUpdateSuccess)(nil), // 13: pb.RPCUpdateSuccess + (*RPCCountResponse)(nil), // 14: pb.RPCCountResponse } var file_service_node_grant_proto_depIdxs = []int32{ - 13, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant - 13, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant - 13, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant + 12, // 0: pb.ListEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant + 12, // 1: pb.FindAllEnabledNodeGrantsResponse.grants:type_name -> pb.NodeGrant + 12, // 2: pb.FindEnabledGrantResponse.grant:type_name -> pb.NodeGrant 0, // 3: pb.NodeGrantService.createNodeGrant:input_type -> pb.CreateNodeGrantRequest 2, // 4: pb.NodeGrantService.updateNodeGrant:input_type -> pb.UpdateNodeGrantRequest 3, // 5: pb.NodeGrantService.disableNodeGrant:input_type -> pb.DisableNodeGrantRequest 5, // 6: pb.NodeGrantService.countAllEnabledNodeGrants:input_type -> pb.CountAllEnabledNodeGrantsRequest - 7, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest - 9, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest - 11, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest + 6, // 7: pb.NodeGrantService.ListEnabledNodeGrants:input_type -> pb.ListEnabledNodeGrantsRequest + 8, // 8: pb.NodeGrantService.FindAllEnabledNodeGrants:input_type -> pb.FindAllEnabledNodeGrantsRequest + 10, // 9: pb.NodeGrantService.FindEnabledGrant:input_type -> pb.FindEnabledGrantRequest 1, // 10: pb.NodeGrantService.createNodeGrant:output_type -> pb.CreateNodeGrantResponse - 14, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess + 13, // 11: pb.NodeGrantService.updateNodeGrant:output_type -> pb.RPCUpdateSuccess 4, // 12: pb.NodeGrantService.disableNodeGrant:output_type -> pb.DisableNodeGrantResponse - 6, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.CountAllEnabledNodeGrantsResponse - 8, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse - 10, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse - 12, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse + 14, // 13: pb.NodeGrantService.countAllEnabledNodeGrants:output_type -> pb.RPCCountResponse + 7, // 14: pb.NodeGrantService.ListEnabledNodeGrants:output_type -> pb.ListEnabledNodeGrantsResponse + 9, // 15: pb.NodeGrantService.FindAllEnabledNodeGrants:output_type -> pb.FindAllEnabledNodeGrantsResponse + 11, // 16: pb.NodeGrantService.FindEnabledGrant:output_type -> pb.FindEnabledGrantResponse 10, // [10:17] is the sub-list for method output_type 3, // [3:10] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -985,18 +933,6 @@ func file_service_node_grant_proto_init() { } } file_service_node_grant_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodeGrantsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodeGrantsRequest); i { case 0: return &v.state @@ -1008,7 +944,7 @@ func file_service_node_grant_proto_init() { return nil } } - file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_service_node_grant_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledNodeGrantsResponse); i { case 0: return &v.state @@ -1020,7 +956,7 @@ func file_service_node_grant_proto_init() { return nil } } - file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_node_grant_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodeGrantsRequest); i { case 0: return &v.state @@ -1032,7 +968,7 @@ func file_service_node_grant_proto_init() { return nil } } - file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_service_node_grant_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledNodeGrantsResponse); i { case 0: return &v.state @@ -1044,7 +980,7 @@ func file_service_node_grant_proto_init() { return nil } } - file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_service_node_grant_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledGrantRequest); i { case 0: return &v.state @@ -1056,7 +992,7 @@ func file_service_node_grant_proto_init() { return nil } } - file_service_node_grant_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_service_node_grant_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledGrantResponse); i { case 0: return &v.state @@ -1075,7 +1011,7 @@ func file_service_node_grant_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_node_grant_proto_rawDesc, NumEnums: 0, - NumMessages: 13, + NumMessages: 12, NumExtensions: 0, NumServices: 1, }, @@ -1108,7 +1044,7 @@ type NodeGrantServiceClient interface { // 禁用认证 DisableNodeGrant(ctx context.Context, in *DisableNodeGrantRequest, opts ...grpc.CallOption) (*DisableNodeGrantResponse, error) // 计算认证的数量 - CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error) + CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页认证 ListEnabledNodeGrants(ctx context.Context, in *ListEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*ListEnabledNodeGrantsResponse, error) // 列出所有认证 @@ -1152,8 +1088,8 @@ func (c *nodeGrantServiceClient) DisableNodeGrant(ctx context.Context, in *Disab return out, nil } -func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*CountAllEnabledNodeGrantsResponse, error) { - out := new(CountAllEnabledNodeGrantsResponse) +func (c *nodeGrantServiceClient) CountAllEnabledNodeGrants(ctx context.Context, in *CountAllEnabledNodeGrantsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeGrantService/countAllEnabledNodeGrants", in, out, opts...) if err != nil { return nil, err @@ -1197,7 +1133,7 @@ type NodeGrantServiceServer interface { // 禁用认证 DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) // 计算认证的数量 - CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error) + CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error) // 列出单页认证 ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) // 列出所有认证 @@ -1219,7 +1155,7 @@ func (*UnimplementedNodeGrantServiceServer) UpdateNodeGrant(context.Context, *Up func (*UnimplementedNodeGrantServiceServer) DisableNodeGrant(context.Context, *DisableNodeGrantRequest) (*DisableNodeGrantResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisableNodeGrant not implemented") } -func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*CountAllEnabledNodeGrantsResponse, error) { +func (*UnimplementedNodeGrantServiceServer) CountAllEnabledNodeGrants(context.Context, *CountAllEnabledNodeGrantsRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledNodeGrants not implemented") } func (*UnimplementedNodeGrantServiceServer) ListEnabledNodeGrants(context.Context, *ListEnabledNodeGrantsRequest) (*ListEnabledNodeGrantsResponse, error) { diff --git a/pkg/rpc/pb/service_node_log.pb.go b/pkg/rpc/pb/service_node_log.pb.go index 20077d3..af6fd15 100644 --- a/pkg/rpc/pb/service_node_log.pb.go +++ b/pkg/rpc/pb/service_node_log.pb.go @@ -171,53 +171,6 @@ func (x *CountNodeLogsRequest) GetRole() string { return "" } -type CountNodeLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountNodeLogsResponse) Reset() { - *x = CountNodeLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_node_log_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountNodeLogsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountNodeLogsResponse) ProtoMessage() {} - -func (x *CountNodeLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_log_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 CountNodeLogsResponse.ProtoReflect.Descriptor instead. -func (*CountNodeLogsResponse) Descriptor() ([]byte, []int) { - return file_service_node_log_proto_rawDescGZIP(), []int{3} -} - -func (x *CountNodeLogsResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页日志 type ListNodeLogsRequest struct { state protoimpl.MessageState @@ -233,7 +186,7 @@ type ListNodeLogsRequest struct { func (x *ListNodeLogsRequest) Reset() { *x = ListNodeLogsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_log_proto_msgTypes[4] + mi := &file_service_node_log_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -246,7 +199,7 @@ func (x *ListNodeLogsRequest) String() string { func (*ListNodeLogsRequest) ProtoMessage() {} func (x *ListNodeLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_log_proto_msgTypes[4] + mi := &file_service_node_log_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -259,7 +212,7 @@ func (x *ListNodeLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListNodeLogsRequest.ProtoReflect.Descriptor instead. func (*ListNodeLogsRequest) Descriptor() ([]byte, []int) { - return file_service_node_log_proto_rawDescGZIP(), []int{4} + return file_service_node_log_proto_rawDescGZIP(), []int{3} } func (x *ListNodeLogsRequest) GetNodeId() int64 { @@ -301,7 +254,7 @@ type ListNodeLogsResponse struct { func (x *ListNodeLogsResponse) Reset() { *x = ListNodeLogsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_log_proto_msgTypes[5] + mi := &file_service_node_log_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -314,7 +267,7 @@ func (x *ListNodeLogsResponse) String() string { func (*ListNodeLogsResponse) ProtoMessage() {} func (x *ListNodeLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_log_proto_msgTypes[5] + mi := &file_service_node_log_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -327,7 +280,7 @@ func (x *ListNodeLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListNodeLogsResponse.ProtoReflect.Descriptor instead. func (*ListNodeLogsResponse) Descriptor() ([]byte, []int) { - return file_service_node_log_proto_rawDescGZIP(), []int{5} + return file_service_node_log_proto_rawDescGZIP(), []int{4} } func (x *ListNodeLogsResponse) GetNodeLogs() []*NodeLog { @@ -341,42 +294,40 @@ var File_service_node_log_proto protoreflect.FileDescriptor var file_service_node_log_proto_rawDesc = []byte{ 0x0a, 0x16, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, - 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x14, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x08, 0x6e, - 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, - 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, - 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, - 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, - 0x6c, 0x65, 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, - 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x22, 0x6d, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, - 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, - 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, - 0x73, 0x32, 0xe2, 0x01, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, - 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, - 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x18, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, 0x70, + 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x14, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, + 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x42, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, + 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, + 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, + 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, + 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, + 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x52, 0x08, 0x6e, 0x6f, + 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x32, 0xdd, 0x01, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, + 0x6f, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, + 0x6f, 0x67, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, + 0x64, 0x65, 0x4c, 0x6f, 0x67, 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, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, @@ -397,25 +348,25 @@ func file_service_node_log_proto_rawDescGZIP() []byte { return file_service_node_log_proto_rawDescData } -var file_service_node_log_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_service_node_log_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_service_node_log_proto_goTypes = []interface{}{ (*CreateNodeLogsRequest)(nil), // 0: pb.CreateNodeLogsRequest (*CreateNodeLogsResponse)(nil), // 1: pb.CreateNodeLogsResponse (*CountNodeLogsRequest)(nil), // 2: pb.CountNodeLogsRequest - (*CountNodeLogsResponse)(nil), // 3: pb.CountNodeLogsResponse - (*ListNodeLogsRequest)(nil), // 4: pb.ListNodeLogsRequest - (*ListNodeLogsResponse)(nil), // 5: pb.ListNodeLogsResponse - (*NodeLog)(nil), // 6: pb.NodeLog + (*ListNodeLogsRequest)(nil), // 3: pb.ListNodeLogsRequest + (*ListNodeLogsResponse)(nil), // 4: pb.ListNodeLogsResponse + (*NodeLog)(nil), // 5: pb.NodeLog + (*RPCCountResponse)(nil), // 6: pb.RPCCountResponse } var file_service_node_log_proto_depIdxs = []int32{ - 6, // 0: pb.CreateNodeLogsRequest.nodeLogs:type_name -> pb.NodeLog - 6, // 1: pb.ListNodeLogsResponse.nodeLogs:type_name -> pb.NodeLog + 5, // 0: pb.CreateNodeLogsRequest.nodeLogs:type_name -> pb.NodeLog + 5, // 1: pb.ListNodeLogsResponse.nodeLogs:type_name -> pb.NodeLog 0, // 2: pb.NodeLogService.createNodeLogs:input_type -> pb.CreateNodeLogsRequest 2, // 3: pb.NodeLogService.countNodeLogs:input_type -> pb.CountNodeLogsRequest - 4, // 4: pb.NodeLogService.listNodeLogs:input_type -> pb.ListNodeLogsRequest + 3, // 4: pb.NodeLogService.listNodeLogs:input_type -> pb.ListNodeLogsRequest 1, // 5: pb.NodeLogService.createNodeLogs:output_type -> pb.CreateNodeLogsResponse - 3, // 6: pb.NodeLogService.countNodeLogs:output_type -> pb.CountNodeLogsResponse - 5, // 7: pb.NodeLogService.listNodeLogs:output_type -> pb.ListNodeLogsResponse + 6, // 6: pb.NodeLogService.countNodeLogs:output_type -> pb.RPCCountResponse + 4, // 7: pb.NodeLogService.listNodeLogs:output_type -> pb.ListNodeLogsResponse 5, // [5:8] is the sub-list for method output_type 2, // [2:5] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -428,6 +379,7 @@ func file_service_node_log_proto_init() { if File_service_node_log_proto != nil { return } + file_rpc_messages_proto_init() file_model_node_log_proto_init() if !protoimpl.UnsafeEnabled { file_service_node_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -467,18 +419,6 @@ func file_service_node_log_proto_init() { } } file_service_node_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountNodeLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_node_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListNodeLogsRequest); i { case 0: return &v.state @@ -490,7 +430,7 @@ func file_service_node_log_proto_init() { return nil } } - file_service_node_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_service_node_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListNodeLogsResponse); i { case 0: return &v.state @@ -509,7 +449,7 @@ func file_service_node_log_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_node_log_proto_rawDesc, NumEnums: 0, - NumMessages: 6, + NumMessages: 5, NumExtensions: 0, NumServices: 1, }, @@ -538,7 +478,7 @@ type NodeLogServiceClient interface { // 创建日志 CreateNodeLogs(ctx context.Context, in *CreateNodeLogsRequest, opts ...grpc.CallOption) (*CreateNodeLogsResponse, error) // 查询日志数量 - CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*CountNodeLogsResponse, error) + CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页日志 ListNodeLogs(ctx context.Context, in *ListNodeLogsRequest, opts ...grpc.CallOption) (*ListNodeLogsResponse, error) } @@ -560,8 +500,8 @@ func (c *nodeLogServiceClient) CreateNodeLogs(ctx context.Context, in *CreateNod return out, nil } -func (c *nodeLogServiceClient) CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*CountNodeLogsResponse, error) { - out := new(CountNodeLogsResponse) +func (c *nodeLogServiceClient) CountNodeLogs(ctx context.Context, in *CountNodeLogsRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.NodeLogService/countNodeLogs", in, out, opts...) if err != nil { return nil, err @@ -583,7 +523,7 @@ type NodeLogServiceServer interface { // 创建日志 CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error) // 查询日志数量 - CountNodeLogs(context.Context, *CountNodeLogsRequest) (*CountNodeLogsResponse, error) + CountNodeLogs(context.Context, *CountNodeLogsRequest) (*RPCCountResponse, error) // 列出单页日志 ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error) } @@ -595,7 +535,7 @@ type UnimplementedNodeLogServiceServer struct { func (*UnimplementedNodeLogServiceServer) CreateNodeLogs(context.Context, *CreateNodeLogsRequest) (*CreateNodeLogsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateNodeLogs not implemented") } -func (*UnimplementedNodeLogServiceServer) CountNodeLogs(context.Context, *CountNodeLogsRequest) (*CountNodeLogsResponse, error) { +func (*UnimplementedNodeLogServiceServer) CountNodeLogs(context.Context, *CountNodeLogsRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountNodeLogs not implemented") } func (*UnimplementedNodeLogServiceServer) ListNodeLogs(context.Context, *ListNodeLogsRequest) (*ListNodeLogsResponse, error) { diff --git a/pkg/rpc/pb/service_server.pb.go b/pkg/rpc/pb/service_server.pb.go index 788b0d1..49dee27 100644 --- a/pkg/rpc/pb/service_server.pb.go +++ b/pkg/rpc/pb/service_server.pb.go @@ -901,53 +901,6 @@ func (x *CountAllEnabledServersMatchRequest) GetKeyword() string { return "" } -type CountAllEnabledServersMatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersMatchResponse) Reset() { - *x = CountAllEnabledServersMatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersMatchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersMatchResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[13] - 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 CountAllEnabledServersMatchResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersMatchResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{13} -} - -func (x *CountAllEnabledServersMatchResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页服务 type ListEnabledServersMatchRequest struct { state protoimpl.MessageState @@ -963,7 +916,7 @@ type ListEnabledServersMatchRequest struct { func (x *ListEnabledServersMatchRequest) Reset() { *x = ListEnabledServersMatchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[14] + mi := &file_service_server_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -976,7 +929,7 @@ func (x *ListEnabledServersMatchRequest) String() string { func (*ListEnabledServersMatchRequest) ProtoMessage() {} func (x *ListEnabledServersMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[14] + mi := &file_service_server_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -989,7 +942,7 @@ func (x *ListEnabledServersMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledServersMatchRequest.ProtoReflect.Descriptor instead. func (*ListEnabledServersMatchRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{14} + return file_service_server_proto_rawDescGZIP(), []int{13} } func (x *ListEnabledServersMatchRequest) GetOffset() int64 { @@ -1031,7 +984,7 @@ type ListEnabledServersMatchResponse struct { func (x *ListEnabledServersMatchResponse) Reset() { *x = ListEnabledServersMatchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[15] + mi := &file_service_server_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1044,7 +997,7 @@ func (x *ListEnabledServersMatchResponse) String() string { func (*ListEnabledServersMatchResponse) ProtoMessage() {} func (x *ListEnabledServersMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[15] + mi := &file_service_server_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1057,7 +1010,7 @@ func (x *ListEnabledServersMatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledServersMatchResponse.ProtoReflect.Descriptor instead. func (*ListEnabledServersMatchResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{15} + return file_service_server_proto_rawDescGZIP(), []int{14} } func (x *ListEnabledServersMatchResponse) GetServers() []*Server { @@ -1079,7 +1032,7 @@ type DisableServerRequest struct { func (x *DisableServerRequest) Reset() { *x = DisableServerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[16] + mi := &file_service_server_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1092,7 +1045,7 @@ func (x *DisableServerRequest) String() string { func (*DisableServerRequest) ProtoMessage() {} func (x *DisableServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[16] + mi := &file_service_server_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1105,7 +1058,7 @@ func (x *DisableServerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableServerRequest.ProtoReflect.Descriptor instead. func (*DisableServerRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{16} + return file_service_server_proto_rawDescGZIP(), []int{15} } func (x *DisableServerRequest) GetServerId() int64 { @@ -1124,7 +1077,7 @@ type DisableServerResponse struct { func (x *DisableServerResponse) Reset() { *x = DisableServerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[17] + mi := &file_service_server_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1137,7 +1090,7 @@ func (x *DisableServerResponse) String() string { func (*DisableServerResponse) ProtoMessage() {} func (x *DisableServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[17] + mi := &file_service_server_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1150,7 +1103,7 @@ func (x *DisableServerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableServerResponse.ProtoReflect.Descriptor instead. func (*DisableServerResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{17} + return file_service_server_proto_rawDescGZIP(), []int{16} } // 查找单个服务 @@ -1165,7 +1118,7 @@ type FindEnabledServerRequest struct { func (x *FindEnabledServerRequest) Reset() { *x = FindEnabledServerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[18] + mi := &file_service_server_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1178,7 +1131,7 @@ func (x *FindEnabledServerRequest) String() string { func (*FindEnabledServerRequest) ProtoMessage() {} func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[18] + mi := &file_service_server_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1191,7 +1144,7 @@ func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerRequest.ProtoReflect.Descriptor instead. func (*FindEnabledServerRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{18} + return file_service_server_proto_rawDescGZIP(), []int{17} } func (x *FindEnabledServerRequest) GetServerId() int64 { @@ -1212,7 +1165,7 @@ type FindEnabledServerResponse struct { func (x *FindEnabledServerResponse) Reset() { *x = FindEnabledServerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[19] + mi := &file_service_server_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1225,7 +1178,7 @@ func (x *FindEnabledServerResponse) String() string { func (*FindEnabledServerResponse) ProtoMessage() {} func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[19] + mi := &file_service_server_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1238,7 +1191,7 @@ func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerResponse.ProtoReflect.Descriptor instead. func (*FindEnabledServerResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{19} + return file_service_server_proto_rawDescGZIP(), []int{18} } func (x *FindEnabledServerResponse) GetServer() *Server { @@ -1260,7 +1213,7 @@ type FindEnabledServerTypeRequest struct { func (x *FindEnabledServerTypeRequest) Reset() { *x = FindEnabledServerTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[20] + mi := &file_service_server_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1273,7 +1226,7 @@ func (x *FindEnabledServerTypeRequest) String() string { func (*FindEnabledServerTypeRequest) ProtoMessage() {} func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[20] + mi := &file_service_server_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1286,7 +1239,7 @@ func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerTypeRequest.ProtoReflect.Descriptor instead. func (*FindEnabledServerTypeRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{20} + return file_service_server_proto_rawDescGZIP(), []int{19} } func (x *FindEnabledServerTypeRequest) GetServerId() int64 { @@ -1307,7 +1260,7 @@ type FindEnabledServerTypeResponse struct { func (x *FindEnabledServerTypeResponse) Reset() { *x = FindEnabledServerTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[21] + mi := &file_service_server_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1320,7 +1273,7 @@ func (x *FindEnabledServerTypeResponse) String() string { func (*FindEnabledServerTypeResponse) ProtoMessage() {} func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[21] + mi := &file_service_server_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1333,7 +1286,7 @@ func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerTypeResponse.ProtoReflect.Descriptor instead. func (*FindEnabledServerTypeResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{21} + return file_service_server_proto_rawDescGZIP(), []int{20} } func (x *FindEnabledServerTypeResponse) GetType() string { @@ -1355,7 +1308,7 @@ type FindAndInitServerReverseProxyConfigRequest struct { func (x *FindAndInitServerReverseProxyConfigRequest) Reset() { *x = FindAndInitServerReverseProxyConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[22] + mi := &file_service_server_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1368,7 +1321,7 @@ func (x *FindAndInitServerReverseProxyConfigRequest) String() string { func (*FindAndInitServerReverseProxyConfigRequest) ProtoMessage() {} func (x *FindAndInitServerReverseProxyConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[22] + mi := &file_service_server_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1381,7 +1334,7 @@ func (x *FindAndInitServerReverseProxyConfigRequest) ProtoReflect() protoreflect // Deprecated: Use FindAndInitServerReverseProxyConfigRequest.ProtoReflect.Descriptor instead. func (*FindAndInitServerReverseProxyConfigRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{22} + return file_service_server_proto_rawDescGZIP(), []int{21} } func (x *FindAndInitServerReverseProxyConfigRequest) GetServerId() int64 { @@ -1403,7 +1356,7 @@ type FindAndInitServerReverseProxyConfigResponse struct { func (x *FindAndInitServerReverseProxyConfigResponse) Reset() { *x = FindAndInitServerReverseProxyConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[23] + mi := &file_service_server_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1416,7 +1369,7 @@ func (x *FindAndInitServerReverseProxyConfigResponse) String() string { func (*FindAndInitServerReverseProxyConfigResponse) ProtoMessage() {} func (x *FindAndInitServerReverseProxyConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[23] + mi := &file_service_server_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1429,7 +1382,7 @@ func (x *FindAndInitServerReverseProxyConfigResponse) ProtoReflect() protoreflec // Deprecated: Use FindAndInitServerReverseProxyConfigResponse.ProtoReflect.Descriptor instead. func (*FindAndInitServerReverseProxyConfigResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{23} + return file_service_server_proto_rawDescGZIP(), []int{22} } func (x *FindAndInitServerReverseProxyConfigResponse) GetReverseProxyJSON() []byte { @@ -1458,7 +1411,7 @@ type FindAndInitServerWebConfigRequest struct { func (x *FindAndInitServerWebConfigRequest) Reset() { *x = FindAndInitServerWebConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[24] + mi := &file_service_server_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1471,7 +1424,7 @@ func (x *FindAndInitServerWebConfigRequest) String() string { func (*FindAndInitServerWebConfigRequest) ProtoMessage() {} func (x *FindAndInitServerWebConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[24] + mi := &file_service_server_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1484,7 +1437,7 @@ func (x *FindAndInitServerWebConfigRequest) ProtoReflect() protoreflect.Message // Deprecated: Use FindAndInitServerWebConfigRequest.ProtoReflect.Descriptor instead. func (*FindAndInitServerWebConfigRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{24} + return file_service_server_proto_rawDescGZIP(), []int{23} } func (x *FindAndInitServerWebConfigRequest) GetServerId() int64 { @@ -1505,7 +1458,7 @@ type FindAndInitServerWebConfigResponse struct { func (x *FindAndInitServerWebConfigResponse) Reset() { *x = FindAndInitServerWebConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[25] + mi := &file_service_server_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1518,7 +1471,7 @@ func (x *FindAndInitServerWebConfigResponse) String() string { func (*FindAndInitServerWebConfigResponse) ProtoMessage() {} func (x *FindAndInitServerWebConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[25] + mi := &file_service_server_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1531,7 +1484,7 @@ func (x *FindAndInitServerWebConfigResponse) ProtoReflect() protoreflect.Message // Deprecated: Use FindAndInitServerWebConfigResponse.ProtoReflect.Descriptor instead. func (*FindAndInitServerWebConfigResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{25} + return file_service_server_proto_rawDescGZIP(), []int{24} } func (x *FindAndInitServerWebConfigResponse) GetWebJSON() []byte { @@ -1553,7 +1506,7 @@ type CountAllEnabledServersWithSSLCertIdRequest struct { func (x *CountAllEnabledServersWithSSLCertIdRequest) Reset() { *x = CountAllEnabledServersWithSSLCertIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[26] + mi := &file_service_server_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1566,7 +1519,7 @@ func (x *CountAllEnabledServersWithSSLCertIdRequest) String() string { func (*CountAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[26] + mi := &file_service_server_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1579,7 +1532,7 @@ func (x *CountAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect // Deprecated: Use CountAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{26} + return file_service_server_proto_rawDescGZIP(), []int{25} } func (x *CountAllEnabledServersWithSSLCertIdRequest) GetCertId() int64 { @@ -1589,53 +1542,6 @@ func (x *CountAllEnabledServersWithSSLCertIdRequest) GetCertId() int64 { return 0 } -type CountAllEnabledServersWithSSLCertIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersWithSSLCertIdResponse) Reset() { - *x = CountAllEnabledServersWithSSLCertIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersWithSSLCertIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersWithSSLCertIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_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 CountAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{27} -} - -func (x *CountAllEnabledServersWithSSLCertIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 查找使用某个SSL证书的所有服务 type FindAllEnabledServersWithSSLCertIdRequest struct { state protoimpl.MessageState @@ -1648,7 +1554,7 @@ type FindAllEnabledServersWithSSLCertIdRequest struct { func (x *FindAllEnabledServersWithSSLCertIdRequest) Reset() { *x = FindAllEnabledServersWithSSLCertIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[28] + mi := &file_service_server_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1661,7 +1567,7 @@ func (x *FindAllEnabledServersWithSSLCertIdRequest) String() string { func (*FindAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {} func (x *FindAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[28] + mi := &file_service_server_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1674,7 +1580,7 @@ func (x *FindAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect. // Deprecated: Use FindAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{28} + return file_service_server_proto_rawDescGZIP(), []int{26} } func (x *FindAllEnabledServersWithSSLCertIdRequest) GetCertId() int64 { @@ -1695,7 +1601,7 @@ type FindAllEnabledServersWithSSLCertIdResponse struct { func (x *FindAllEnabledServersWithSSLCertIdResponse) Reset() { *x = FindAllEnabledServersWithSSLCertIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[29] + mi := &file_service_server_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1708,7 +1614,7 @@ func (x *FindAllEnabledServersWithSSLCertIdResponse) String() string { func (*FindAllEnabledServersWithSSLCertIdResponse) ProtoMessage() {} func (x *FindAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[29] + mi := &file_service_server_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1721,7 +1627,7 @@ func (x *FindAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect // Deprecated: Use FindAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{29} + return file_service_server_proto_rawDescGZIP(), []int{27} } func (x *FindAllEnabledServersWithSSLCertIdResponse) GetServers() []*Server { @@ -1743,7 +1649,7 @@ type CountAllEnabledServersWithCachePolicyIdRequest struct { func (x *CountAllEnabledServersWithCachePolicyIdRequest) Reset() { *x = CountAllEnabledServersWithCachePolicyIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[30] + mi := &file_service_server_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1756,7 +1662,7 @@ func (x *CountAllEnabledServersWithCachePolicyIdRequest) String() string { func (*CountAllEnabledServersWithCachePolicyIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[30] + mi := &file_service_server_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1769,7 +1675,7 @@ func (x *CountAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protoref // Deprecated: Use CountAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{30} + return file_service_server_proto_rawDescGZIP(), []int{28} } func (x *CountAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int64 { @@ -1779,53 +1685,6 @@ func (x *CountAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int6 return 0 } -type CountAllEnabledServersWithCachePolicyIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersWithCachePolicyIdResponse) Reset() { - *x = CountAllEnabledServersWithCachePolicyIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersWithCachePolicyIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersWithCachePolicyIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersWithCachePolicyIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_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 CountAllEnabledServersWithCachePolicyIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersWithCachePolicyIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{31} -} - -func (x *CountAllEnabledServersWithCachePolicyIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 查找使用某个缓存策略的所有服务 type FindAllEnabledServersWithCachePolicyIdRequest struct { state protoimpl.MessageState @@ -1838,7 +1697,7 @@ type FindAllEnabledServersWithCachePolicyIdRequest struct { func (x *FindAllEnabledServersWithCachePolicyIdRequest) Reset() { *x = FindAllEnabledServersWithCachePolicyIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[32] + mi := &file_service_server_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1851,7 +1710,7 @@ func (x *FindAllEnabledServersWithCachePolicyIdRequest) String() string { func (*FindAllEnabledServersWithCachePolicyIdRequest) ProtoMessage() {} func (x *FindAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[32] + mi := &file_service_server_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1864,7 +1723,7 @@ func (x *FindAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protorefl // Deprecated: Use FindAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{32} + return file_service_server_proto_rawDescGZIP(), []int{29} } func (x *FindAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int64 { @@ -1885,7 +1744,7 @@ type FindAllEnabledServersWithCachePolicyIdResponse struct { func (x *FindAllEnabledServersWithCachePolicyIdResponse) Reset() { *x = FindAllEnabledServersWithCachePolicyIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[33] + mi := &file_service_server_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1898,7 +1757,7 @@ func (x *FindAllEnabledServersWithCachePolicyIdResponse) String() string { func (*FindAllEnabledServersWithCachePolicyIdResponse) ProtoMessage() {} func (x *FindAllEnabledServersWithCachePolicyIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[33] + mi := &file_service_server_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1911,7 +1770,7 @@ func (x *FindAllEnabledServersWithCachePolicyIdResponse) ProtoReflect() protoref // Deprecated: Use FindAllEnabledServersWithCachePolicyIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithCachePolicyIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{33} + return file_service_server_proto_rawDescGZIP(), []int{30} } func (x *FindAllEnabledServersWithCachePolicyIdResponse) GetServers() []*Server { @@ -1933,7 +1792,7 @@ type CountAllEnabledServersWithHTTPFirewallPolicyIdRequest struct { func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) Reset() { *x = CountAllEnabledServersWithHTTPFirewallPolicyIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[34] + mi := &file_service_server_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1946,7 +1805,7 @@ func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) String() string func (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[34] + mi := &file_service_server_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1959,7 +1818,7 @@ func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() p // Deprecated: Use CountAllEnabledServersWithHTTPFirewallPolicyIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{34} + return file_service_server_proto_rawDescGZIP(), []int{31} } func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolicyId() int64 { @@ -1969,53 +1828,6 @@ func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolic return 0 } -type CountAllEnabledServersWithHTTPFirewallPolicyIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) Reset() { - *x = CountAllEnabledServersWithHTTPFirewallPolicyIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_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 CountAllEnabledServersWithHTTPFirewallPolicyIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{35} -} - -func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 查找使用某个WAF策略的所有服务 type FindAllEnabledServersWithHTTPFirewallPolicyIdRequest struct { state protoimpl.MessageState @@ -2028,7 +1840,7 @@ type FindAllEnabledServersWithHTTPFirewallPolicyIdRequest struct { func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) Reset() { *x = FindAllEnabledServersWithHTTPFirewallPolicyIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[36] + mi := &file_service_server_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2041,7 +1853,7 @@ func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) String() string { func (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoMessage() {} func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[36] + mi := &file_service_server_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2054,7 +1866,7 @@ func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() pr // Deprecated: Use FindAllEnabledServersWithHTTPFirewallPolicyIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{36} + return file_service_server_proto_rawDescGZIP(), []int{32} } func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolicyId() int64 { @@ -2075,7 +1887,7 @@ type FindAllEnabledServersWithHTTPFirewallPolicyIdResponse struct { func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) Reset() { *x = FindAllEnabledServersWithHTTPFirewallPolicyIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[37] + mi := &file_service_server_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2088,7 +1900,7 @@ func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) String() string func (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoMessage() {} func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[37] + mi := &file_service_server_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2101,7 +1913,7 @@ func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoReflect() p // Deprecated: Use FindAllEnabledServersWithHTTPFirewallPolicyIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{37} + return file_service_server_proto_rawDescGZIP(), []int{33} } func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) GetServers() []*Server { @@ -2123,7 +1935,7 @@ type CountAllEnabledServersWithNodeClusterIdRequest struct { func (x *CountAllEnabledServersWithNodeClusterIdRequest) Reset() { *x = CountAllEnabledServersWithNodeClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[38] + mi := &file_service_server_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2136,7 +1948,7 @@ func (x *CountAllEnabledServersWithNodeClusterIdRequest) String() string { func (*CountAllEnabledServersWithNodeClusterIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithNodeClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[38] + mi := &file_service_server_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2149,7 +1961,7 @@ func (x *CountAllEnabledServersWithNodeClusterIdRequest) ProtoReflect() protoref // Deprecated: Use CountAllEnabledServersWithNodeClusterIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithNodeClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{38} + return file_service_server_proto_rawDescGZIP(), []int{34} } func (x *CountAllEnabledServersWithNodeClusterIdRequest) GetNodeClusterId() int64 { @@ -2159,53 +1971,6 @@ func (x *CountAllEnabledServersWithNodeClusterIdRequest) GetNodeClusterId() int6 return 0 } -type CountAllEnabledServersWithNodeClusterIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersWithNodeClusterIdResponse) Reset() { - *x = CountAllEnabledServersWithNodeClusterIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersWithNodeClusterIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersWithNodeClusterIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersWithNodeClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_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 CountAllEnabledServersWithNodeClusterIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersWithNodeClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{39} -} - -func (x *CountAllEnabledServersWithNodeClusterIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 计算使用某个分组的服务数量 type CountAllEnabledServersWithGroupIdRequest struct { state protoimpl.MessageState @@ -2218,7 +1983,7 @@ type CountAllEnabledServersWithGroupIdRequest struct { func (x *CountAllEnabledServersWithGroupIdRequest) Reset() { *x = CountAllEnabledServersWithGroupIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[40] + mi := &file_service_server_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2231,7 +1996,7 @@ func (x *CountAllEnabledServersWithGroupIdRequest) String() string { func (*CountAllEnabledServersWithGroupIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithGroupIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[40] + mi := &file_service_server_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2244,7 +2009,7 @@ func (x *CountAllEnabledServersWithGroupIdRequest) ProtoReflect() protoreflect.M // Deprecated: Use CountAllEnabledServersWithGroupIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithGroupIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{40} + return file_service_server_proto_rawDescGZIP(), []int{35} } func (x *CountAllEnabledServersWithGroupIdRequest) GetGroupId() int64 { @@ -2254,53 +2019,6 @@ func (x *CountAllEnabledServersWithGroupIdRequest) GetGroupId() int64 { return 0 } -type CountAllEnabledServersWithGroupIdResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountAllEnabledServersWithGroupIdResponse) Reset() { - *x = CountAllEnabledServersWithGroupIdResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllEnabledServersWithGroupIdResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllEnabledServersWithGroupIdResponse) ProtoMessage() {} - -func (x *CountAllEnabledServersWithGroupIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[41] - 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 CountAllEnabledServersWithGroupIdResponse.ProtoReflect.Descriptor instead. -func (*CountAllEnabledServersWithGroupIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{41} -} - -func (x *CountAllEnabledServersWithGroupIdResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 通知更新 type NotifyServersChangeRequest struct { state protoimpl.MessageState @@ -2311,7 +2029,7 @@ type NotifyServersChangeRequest struct { func (x *NotifyServersChangeRequest) Reset() { *x = NotifyServersChangeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[42] + mi := &file_service_server_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2324,7 +2042,7 @@ func (x *NotifyServersChangeRequest) String() string { func (*NotifyServersChangeRequest) ProtoMessage() {} func (x *NotifyServersChangeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[42] + mi := &file_service_server_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2337,7 +2055,7 @@ func (x *NotifyServersChangeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyServersChangeRequest.ProtoReflect.Descriptor instead. func (*NotifyServersChangeRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{42} + return file_service_server_proto_rawDescGZIP(), []int{36} } type NotifyServersChangeResponse struct { @@ -2349,7 +2067,7 @@ type NotifyServersChangeResponse struct { func (x *NotifyServersChangeResponse) Reset() { *x = NotifyServersChangeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[43] + mi := &file_service_server_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2362,7 +2080,7 @@ func (x *NotifyServersChangeResponse) String() string { func (*NotifyServersChangeResponse) ProtoMessage() {} func (x *NotifyServersChangeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[43] + mi := &file_service_server_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2375,7 +2093,7 @@ func (x *NotifyServersChangeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyServersChangeResponse.ProtoReflect.Descriptor instead. func (*NotifyServersChangeResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{43} + return file_service_server_proto_rawDescGZIP(), []int{37} } var File_service_server_proto protoreflect.FileDescriptor @@ -2487,324 +2205,287 @@ var file_service_server_proto_rawDesc = []byte{ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, - 0x22, 0x3b, 0x0a, 0x23, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x80, 0x01, - 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x12, 0x18, 0x0a, 0x07, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, - 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x32, 0x0a, 0x14, 0x44, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x17, 0x0a, - 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3f, - 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, - 0x3a, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x1d, 0x46, - 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x48, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, - 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x2b, 0x46, - 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, - 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, - 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x30, 0x0a, 0x13, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x13, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, - 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3f, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x22, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, - 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44, 0x0a, 0x2a, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, - 0x43, 0x0a, 0x2b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x2a, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, - 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x24, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x2f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x55, - 0x0a, 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x24, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x56, 0x0a, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x63, 0x0a, - 0x35, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, - 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, - 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x36, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x62, 0x0a, 0x34, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, - 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, - 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x35, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x47, 0x0a, - 0x2f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x44, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x29, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, - 0x1b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xdd, 0x15, 0x0a, - 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, - 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x12, 0x1b, - 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x12, 0x1a, 0x2e, - 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, - 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, - 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, - 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, - 0x4c, 0x53, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x12, 0x1a, - 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, - 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x57, 0x65, 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x55, 0x0a, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, - 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x11, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6e, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, - 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, + 0x22, 0x80, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, + 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, + 0x6f, 0x72, 0x64, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x32, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x17, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, + 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, + 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x22, 0x3a, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33, + 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x86, 0x01, 0x0a, 0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, - 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, - 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, - 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64, - 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, - 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, + 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8b, 0x01, + 0x0a, 0x2b, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, + 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x30, 0x0a, 0x13, 0x72, 0x65, 0x76, + 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3f, 0x0a, 0x21, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x22, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44, 0x0a, 0x2a, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, + 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x65, + 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x65, 0x72, 0x74, + 0x49, 0x64, 0x22, 0x43, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, + 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, - 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, - 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, - 0x12, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x2d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x26, 0x66, 0x69, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x56, 0x0a, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x49, 0x64, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa7, 0x01, 0x0a, 0x2e, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, - 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x39, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, - 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, - 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x70, 0x62, 0x2e, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, - 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa4, 0x01, 0x0a, 0x2d, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x38, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, - 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x39, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, + 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x22, 0x63, 0x0a, 0x35, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 0x0a, - 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, + 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, + 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x34, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, + 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x35, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, + 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x80, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, + 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x22, 0x44, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, - 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, - 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, - 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xae, 0x14, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x12, + 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x12, + 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x12, 0x1a, 0x2e, 0x70, 0x62, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, + 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, + 0x78, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, + 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x12, 0x1a, 0x2e, 0x70, + 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, + 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, + 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x55, + 0x0a, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, + 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, + 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, + 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, + 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, + 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x62, 0x0a, 0x17, 0x6c, + 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x44, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, + 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, + 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, + 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, + 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, + 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, + 0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, + 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x23, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, + 0x49, 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 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, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, + 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, + 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, + 0x0a, 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 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, 0x8f, 0x01, 0x0a, 0x26, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x31, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, + 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x39, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, + 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 0xa4, 0x01, 0x0a, 0x2d, 0x66, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, + 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x38, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, + 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x73, 0x0a, 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62, + 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 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, 0x67, 0x0a, 0x21, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 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, 0x56, + 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, + 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 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 ( @@ -2819,61 +2500,56 @@ func file_service_server_proto_rawDescGZIP() []byte { return file_service_server_proto_rawDescData } -var file_service_server_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_service_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38) var file_service_server_proto_goTypes = []interface{}{ - (*CreateServerRequest)(nil), // 0: pb.CreateServerRequest - (*CreateServerResponse)(nil), // 1: pb.CreateServerResponse - (*UpdateServerBasicRequest)(nil), // 2: pb.UpdateServerBasicRequest - (*UpdateServerHTTPRequest)(nil), // 3: pb.UpdateServerHTTPRequest - (*UpdateServerHTTPSRequest)(nil), // 4: pb.UpdateServerHTTPSRequest - (*UpdateServerTCPRequest)(nil), // 5: pb.UpdateServerTCPRequest - (*UpdateServerTLSRequest)(nil), // 6: pb.UpdateServerTLSRequest - (*UpdateServerUnixRequest)(nil), // 7: pb.UpdateServerUnixRequest - (*UpdateServerUDPRequest)(nil), // 8: pb.UpdateServerUDPRequest - (*UpdateServerWebRequest)(nil), // 9: pb.UpdateServerWebRequest - (*UpdateServerReverseProxyRequest)(nil), // 10: pb.UpdateServerReverseProxyRequest - (*UpdateServerNamesRequest)(nil), // 11: pb.UpdateServerNamesRequest - (*CountAllEnabledServersMatchRequest)(nil), // 12: pb.CountAllEnabledServersMatchRequest - (*CountAllEnabledServersMatchResponse)(nil), // 13: pb.CountAllEnabledServersMatchResponse - (*ListEnabledServersMatchRequest)(nil), // 14: pb.ListEnabledServersMatchRequest - (*ListEnabledServersMatchResponse)(nil), // 15: pb.ListEnabledServersMatchResponse - (*DisableServerRequest)(nil), // 16: pb.DisableServerRequest - (*DisableServerResponse)(nil), // 17: pb.DisableServerResponse - (*FindEnabledServerRequest)(nil), // 18: pb.FindEnabledServerRequest - (*FindEnabledServerResponse)(nil), // 19: pb.FindEnabledServerResponse - (*FindEnabledServerTypeRequest)(nil), // 20: pb.FindEnabledServerTypeRequest - (*FindEnabledServerTypeResponse)(nil), // 21: pb.FindEnabledServerTypeResponse - (*FindAndInitServerReverseProxyConfigRequest)(nil), // 22: pb.FindAndInitServerReverseProxyConfigRequest - (*FindAndInitServerReverseProxyConfigResponse)(nil), // 23: pb.FindAndInitServerReverseProxyConfigResponse - (*FindAndInitServerWebConfigRequest)(nil), // 24: pb.FindAndInitServerWebConfigRequest - (*FindAndInitServerWebConfigResponse)(nil), // 25: pb.FindAndInitServerWebConfigResponse - (*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 26: pb.CountAllEnabledServersWithSSLCertIdRequest - (*CountAllEnabledServersWithSSLCertIdResponse)(nil), // 27: pb.CountAllEnabledServersWithSSLCertIdResponse - (*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 28: pb.FindAllEnabledServersWithSSLCertIdRequest - (*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 29: pb.FindAllEnabledServersWithSSLCertIdResponse - (*CountAllEnabledServersWithCachePolicyIdRequest)(nil), // 30: pb.CountAllEnabledServersWithCachePolicyIdRequest - (*CountAllEnabledServersWithCachePolicyIdResponse)(nil), // 31: pb.CountAllEnabledServersWithCachePolicyIdResponse - (*FindAllEnabledServersWithCachePolicyIdRequest)(nil), // 32: pb.FindAllEnabledServersWithCachePolicyIdRequest - (*FindAllEnabledServersWithCachePolicyIdResponse)(nil), // 33: pb.FindAllEnabledServersWithCachePolicyIdResponse - (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 34: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest - (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse)(nil), // 35: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdResponse - (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 36: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest - (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse)(nil), // 37: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse - (*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 38: pb.CountAllEnabledServersWithNodeClusterIdRequest - (*CountAllEnabledServersWithNodeClusterIdResponse)(nil), // 39: pb.CountAllEnabledServersWithNodeClusterIdResponse - (*CountAllEnabledServersWithGroupIdRequest)(nil), // 40: pb.CountAllEnabledServersWithGroupIdRequest - (*CountAllEnabledServersWithGroupIdResponse)(nil), // 41: pb.CountAllEnabledServersWithGroupIdResponse - (*NotifyServersChangeRequest)(nil), // 42: pb.NotifyServersChangeRequest - (*NotifyServersChangeResponse)(nil), // 43: pb.NotifyServersChangeResponse - (*Server)(nil), // 44: pb.Server - (*RPCUpdateSuccess)(nil), // 45: pb.RPCUpdateSuccess + (*CreateServerRequest)(nil), // 0: pb.CreateServerRequest + (*CreateServerResponse)(nil), // 1: pb.CreateServerResponse + (*UpdateServerBasicRequest)(nil), // 2: pb.UpdateServerBasicRequest + (*UpdateServerHTTPRequest)(nil), // 3: pb.UpdateServerHTTPRequest + (*UpdateServerHTTPSRequest)(nil), // 4: pb.UpdateServerHTTPSRequest + (*UpdateServerTCPRequest)(nil), // 5: pb.UpdateServerTCPRequest + (*UpdateServerTLSRequest)(nil), // 6: pb.UpdateServerTLSRequest + (*UpdateServerUnixRequest)(nil), // 7: pb.UpdateServerUnixRequest + (*UpdateServerUDPRequest)(nil), // 8: pb.UpdateServerUDPRequest + (*UpdateServerWebRequest)(nil), // 9: pb.UpdateServerWebRequest + (*UpdateServerReverseProxyRequest)(nil), // 10: pb.UpdateServerReverseProxyRequest + (*UpdateServerNamesRequest)(nil), // 11: pb.UpdateServerNamesRequest + (*CountAllEnabledServersMatchRequest)(nil), // 12: pb.CountAllEnabledServersMatchRequest + (*ListEnabledServersMatchRequest)(nil), // 13: pb.ListEnabledServersMatchRequest + (*ListEnabledServersMatchResponse)(nil), // 14: pb.ListEnabledServersMatchResponse + (*DisableServerRequest)(nil), // 15: pb.DisableServerRequest + (*DisableServerResponse)(nil), // 16: pb.DisableServerResponse + (*FindEnabledServerRequest)(nil), // 17: pb.FindEnabledServerRequest + (*FindEnabledServerResponse)(nil), // 18: pb.FindEnabledServerResponse + (*FindEnabledServerTypeRequest)(nil), // 19: pb.FindEnabledServerTypeRequest + (*FindEnabledServerTypeResponse)(nil), // 20: pb.FindEnabledServerTypeResponse + (*FindAndInitServerReverseProxyConfigRequest)(nil), // 21: pb.FindAndInitServerReverseProxyConfigRequest + (*FindAndInitServerReverseProxyConfigResponse)(nil), // 22: pb.FindAndInitServerReverseProxyConfigResponse + (*FindAndInitServerWebConfigRequest)(nil), // 23: pb.FindAndInitServerWebConfigRequest + (*FindAndInitServerWebConfigResponse)(nil), // 24: pb.FindAndInitServerWebConfigResponse + (*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 25: pb.CountAllEnabledServersWithSSLCertIdRequest + (*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 26: pb.FindAllEnabledServersWithSSLCertIdRequest + (*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 27: pb.FindAllEnabledServersWithSSLCertIdResponse + (*CountAllEnabledServersWithCachePolicyIdRequest)(nil), // 28: pb.CountAllEnabledServersWithCachePolicyIdRequest + (*FindAllEnabledServersWithCachePolicyIdRequest)(nil), // 29: pb.FindAllEnabledServersWithCachePolicyIdRequest + (*FindAllEnabledServersWithCachePolicyIdResponse)(nil), // 30: pb.FindAllEnabledServersWithCachePolicyIdResponse + (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 31: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest + (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 32: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest + (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse)(nil), // 33: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse + (*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 34: pb.CountAllEnabledServersWithNodeClusterIdRequest + (*CountAllEnabledServersWithGroupIdRequest)(nil), // 35: pb.CountAllEnabledServersWithGroupIdRequest + (*NotifyServersChangeRequest)(nil), // 36: pb.NotifyServersChangeRequest + (*NotifyServersChangeResponse)(nil), // 37: pb.NotifyServersChangeResponse + (*Server)(nil), // 38: pb.Server + (*RPCUpdateSuccess)(nil), // 39: pb.RPCUpdateSuccess + (*RPCCountResponse)(nil), // 40: pb.RPCCountResponse } var file_service_server_proto_depIdxs = []int32{ - 44, // 0: pb.ListEnabledServersMatchResponse.servers:type_name -> pb.Server - 44, // 1: pb.FindEnabledServerResponse.server:type_name -> pb.Server - 44, // 2: pb.FindAllEnabledServersWithSSLCertIdResponse.servers:type_name -> pb.Server - 44, // 3: pb.FindAllEnabledServersWithCachePolicyIdResponse.servers:type_name -> pb.Server - 44, // 4: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse.servers:type_name -> pb.Server + 38, // 0: pb.ListEnabledServersMatchResponse.servers:type_name -> pb.Server + 38, // 1: pb.FindEnabledServerResponse.server:type_name -> pb.Server + 38, // 2: pb.FindAllEnabledServersWithSSLCertIdResponse.servers:type_name -> pb.Server + 38, // 3: pb.FindAllEnabledServersWithCachePolicyIdResponse.servers:type_name -> pb.Server + 38, // 4: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse.servers:type_name -> pb.Server 0, // 5: pb.ServerService.createServer:input_type -> pb.CreateServerRequest 2, // 6: pb.ServerService.updateServerBasic:input_type -> pb.UpdateServerBasicRequest 3, // 7: pb.ServerService.updateServerHTTP:input_type -> pb.UpdateServerHTTPRequest @@ -2886,48 +2562,48 @@ var file_service_server_proto_depIdxs = []int32{ 10, // 14: pb.ServerService.updateServerReverseProxy:input_type -> pb.UpdateServerReverseProxyRequest 11, // 15: pb.ServerService.updateServerNames:input_type -> pb.UpdateServerNamesRequest 12, // 16: pb.ServerService.countAllEnabledServersMatch:input_type -> pb.CountAllEnabledServersMatchRequest - 14, // 17: pb.ServerService.listEnabledServersMatch:input_type -> pb.ListEnabledServersMatchRequest - 16, // 18: pb.ServerService.disableServer:input_type -> pb.DisableServerRequest - 18, // 19: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest - 20, // 20: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest - 22, // 21: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest - 24, // 22: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest - 26, // 23: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest - 28, // 24: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest - 30, // 25: pb.ServerService.countAllEnabledServersWithCachePolicyId:input_type -> pb.CountAllEnabledServersWithCachePolicyIdRequest - 32, // 26: pb.ServerService.findAllEnabledServersWithCachePolicyId:input_type -> pb.FindAllEnabledServersWithCachePolicyIdRequest - 34, // 27: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest - 36, // 28: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest - 38, // 29: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest - 40, // 30: pb.ServerService.countAllEnabledServersWithGroupId:input_type -> pb.CountAllEnabledServersWithGroupIdRequest - 42, // 31: pb.ServerService.notifyServersChange:input_type -> pb.NotifyServersChangeRequest + 13, // 17: pb.ServerService.listEnabledServersMatch:input_type -> pb.ListEnabledServersMatchRequest + 15, // 18: pb.ServerService.disableServer:input_type -> pb.DisableServerRequest + 17, // 19: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest + 19, // 20: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest + 21, // 21: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest + 23, // 22: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest + 25, // 23: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest + 26, // 24: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest + 28, // 25: pb.ServerService.countAllEnabledServersWithCachePolicyId:input_type -> pb.CountAllEnabledServersWithCachePolicyIdRequest + 29, // 26: pb.ServerService.findAllEnabledServersWithCachePolicyId:input_type -> pb.FindAllEnabledServersWithCachePolicyIdRequest + 31, // 27: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest + 32, // 28: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest + 34, // 29: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest + 35, // 30: pb.ServerService.countAllEnabledServersWithGroupId:input_type -> pb.CountAllEnabledServersWithGroupIdRequest + 36, // 31: pb.ServerService.notifyServersChange:input_type -> pb.NotifyServersChangeRequest 1, // 32: pb.ServerService.createServer:output_type -> pb.CreateServerResponse - 45, // 33: pb.ServerService.updateServerBasic:output_type -> pb.RPCUpdateSuccess - 45, // 34: pb.ServerService.updateServerHTTP:output_type -> pb.RPCUpdateSuccess - 45, // 35: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCUpdateSuccess - 45, // 36: pb.ServerService.updateServerTCP:output_type -> pb.RPCUpdateSuccess - 45, // 37: pb.ServerService.updateServerTLS:output_type -> pb.RPCUpdateSuccess - 45, // 38: pb.ServerService.updateServerUnix:output_type -> pb.RPCUpdateSuccess - 45, // 39: pb.ServerService.updateServerUDP:output_type -> pb.RPCUpdateSuccess - 45, // 40: pb.ServerService.updateServerWeb:output_type -> pb.RPCUpdateSuccess - 45, // 41: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCUpdateSuccess - 45, // 42: pb.ServerService.updateServerNames:output_type -> pb.RPCUpdateSuccess - 13, // 43: pb.ServerService.countAllEnabledServersMatch:output_type -> pb.CountAllEnabledServersMatchResponse - 15, // 44: pb.ServerService.listEnabledServersMatch:output_type -> pb.ListEnabledServersMatchResponse - 17, // 45: pb.ServerService.disableServer:output_type -> pb.DisableServerResponse - 19, // 46: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse - 21, // 47: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse - 23, // 48: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse - 25, // 49: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse - 27, // 50: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.CountAllEnabledServersWithSSLCertIdResponse - 29, // 51: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse - 31, // 52: pb.ServerService.countAllEnabledServersWithCachePolicyId:output_type -> pb.CountAllEnabledServersWithCachePolicyIdResponse - 33, // 53: pb.ServerService.findAllEnabledServersWithCachePolicyId:output_type -> pb.FindAllEnabledServersWithCachePolicyIdResponse - 35, // 54: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdResponse - 37, // 55: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse - 39, // 56: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.CountAllEnabledServersWithNodeClusterIdResponse - 41, // 57: pb.ServerService.countAllEnabledServersWithGroupId:output_type -> pb.CountAllEnabledServersWithGroupIdResponse - 43, // 58: pb.ServerService.notifyServersChange:output_type -> pb.NotifyServersChangeResponse + 39, // 33: pb.ServerService.updateServerBasic:output_type -> pb.RPCUpdateSuccess + 39, // 34: pb.ServerService.updateServerHTTP:output_type -> pb.RPCUpdateSuccess + 39, // 35: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCUpdateSuccess + 39, // 36: pb.ServerService.updateServerTCP:output_type -> pb.RPCUpdateSuccess + 39, // 37: pb.ServerService.updateServerTLS:output_type -> pb.RPCUpdateSuccess + 39, // 38: pb.ServerService.updateServerUnix:output_type -> pb.RPCUpdateSuccess + 39, // 39: pb.ServerService.updateServerUDP:output_type -> pb.RPCUpdateSuccess + 39, // 40: pb.ServerService.updateServerWeb:output_type -> pb.RPCUpdateSuccess + 39, // 41: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCUpdateSuccess + 39, // 42: pb.ServerService.updateServerNames:output_type -> pb.RPCUpdateSuccess + 40, // 43: pb.ServerService.countAllEnabledServersMatch:output_type -> pb.RPCCountResponse + 14, // 44: pb.ServerService.listEnabledServersMatch:output_type -> pb.ListEnabledServersMatchResponse + 16, // 45: pb.ServerService.disableServer:output_type -> pb.DisableServerResponse + 18, // 46: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse + 20, // 47: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse + 22, // 48: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse + 24, // 49: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse + 40, // 50: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.RPCCountResponse + 27, // 51: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse + 40, // 52: pb.ServerService.countAllEnabledServersWithCachePolicyId:output_type -> pb.RPCCountResponse + 30, // 53: pb.ServerService.findAllEnabledServersWithCachePolicyId:output_type -> pb.FindAllEnabledServersWithCachePolicyIdResponse + 40, // 54: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.RPCCountResponse + 33, // 55: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse + 40, // 56: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.RPCCountResponse + 40, // 57: pb.ServerService.countAllEnabledServersWithGroupId:output_type -> pb.RPCCountResponse + 37, // 58: pb.ServerService.notifyServersChange:output_type -> pb.NotifyServersChangeResponse 32, // [32:59] is the sub-list for method output_type 5, // [5:32] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -3100,18 +2776,6 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersMatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledServersMatchRequest); i { case 0: return &v.state @@ -3123,7 +2787,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListEnabledServersMatchResponse); i { case 0: return &v.state @@ -3135,7 +2799,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisableServerRequest); i { case 0: return &v.state @@ -3147,7 +2811,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisableServerResponse); i { case 0: return &v.state @@ -3159,7 +2823,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledServerRequest); i { case 0: return &v.state @@ -3171,7 +2835,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledServerResponse); i { case 0: return &v.state @@ -3183,7 +2847,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledServerTypeRequest); i { case 0: return &v.state @@ -3195,7 +2859,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledServerTypeResponse); i { case 0: return &v.state @@ -3207,7 +2871,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAndInitServerReverseProxyConfigRequest); i { case 0: return &v.state @@ -3219,7 +2883,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAndInitServerReverseProxyConfigResponse); i { case 0: return &v.state @@ -3231,7 +2895,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAndInitServerWebConfigRequest); i { case 0: return &v.state @@ -3243,7 +2907,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAndInitServerWebConfigResponse); i { case 0: return &v.state @@ -3255,7 +2919,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledServersWithSSLCertIdRequest); i { case 0: return &v.state @@ -3267,19 +2931,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithSSLCertIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithSSLCertIdRequest); i { case 0: return &v.state @@ -3291,7 +2943,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithSSLCertIdResponse); i { case 0: return &v.state @@ -3303,7 +2955,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledServersWithCachePolicyIdRequest); i { case 0: return &v.state @@ -3315,19 +2967,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithCachePolicyIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithCachePolicyIdRequest); i { case 0: return &v.state @@ -3339,7 +2979,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithCachePolicyIdResponse); i { case 0: return &v.state @@ -3351,7 +2991,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest); i { case 0: return &v.state @@ -3363,19 +3003,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest); i { case 0: return &v.state @@ -3387,7 +3015,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse); i { case 0: return &v.state @@ -3399,7 +3027,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledServersWithNodeClusterIdRequest); i { case 0: return &v.state @@ -3411,19 +3039,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithNodeClusterIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CountAllEnabledServersWithGroupIdRequest); i { case 0: return &v.state @@ -3435,19 +3051,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithGroupIdResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_server_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NotifyServersChangeRequest); i { case 0: return &v.state @@ -3459,7 +3063,7 @@ func file_service_server_proto_init() { return nil } } - file_service_server_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_service_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NotifyServersChangeResponse); i { case 0: return &v.state @@ -3478,7 +3082,7 @@ func file_service_server_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_server_proto_rawDesc, NumEnums: 0, - NumMessages: 44, + NumMessages: 38, NumExtensions: 0, NumServices: 1, }, @@ -3527,7 +3131,7 @@ type ServerServiceClient interface { // 修改服务的域名设置 UpdateServerNames(ctx context.Context, in *UpdateServerNamesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 计算匹配的服务数量 - CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledServersMatchResponse, error) + CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页服务 ListEnabledServersMatch(ctx context.Context, in *ListEnabledServersMatchRequest, opts ...grpc.CallOption) (*ListEnabledServersMatchResponse, error) // 禁用某服务 @@ -3541,21 +3145,21 @@ type ServerServiceClient interface { // 初始化Web设置 FindAndInitServerWebConfig(ctx context.Context, in *FindAndInitServerWebConfigRequest, opts ...grpc.CallOption) (*FindAndInitServerWebConfigResponse, error) // 计算使用某个SSL证书的服务数量 - CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithSSLCertIdResponse, error) + CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 查找使用某个SSL证书的所有服务 FindAllEnabledServersWithSSLCertId(ctx context.Context, in *FindAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithSSLCertIdResponse, error) // 计算使用某个缓存策略的服务数量 - CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithCachePolicyIdResponse, error) + CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 查找使用某个缓存策略的所有服务 FindAllEnabledServersWithCachePolicyId(ctx context.Context, in *FindAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithCachePolicyIdResponse, error) // 计算使用某个WAF策略的服务数量 - CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) + CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 查找使用WAF策略的所有服务 FindAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) // 计算运行在某个集群上的所有服务数量 - CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithNodeClusterIdResponse, error) + CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 计算使用某个分组的服务数量 - CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithGroupIdResponse, error) + CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 通知更新 NotifyServersChange(ctx context.Context, in *NotifyServersChangeRequest, opts ...grpc.CallOption) (*NotifyServersChangeResponse, error) } @@ -3667,8 +3271,8 @@ func (c *serverServiceClient) UpdateServerNames(ctx context.Context, in *UpdateS return out, nil } -func (c *serverServiceClient) CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*CountAllEnabledServersMatchResponse, error) { - out := new(CountAllEnabledServersMatchResponse) +func (c *serverServiceClient) CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersMatch", in, out, opts...) if err != nil { return nil, err @@ -3730,8 +3334,8 @@ func (c *serverServiceClient) FindAndInitServerWebConfig(ctx context.Context, in return out, nil } -func (c *serverServiceClient) CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithSSLCertIdResponse, error) { - out := new(CountAllEnabledServersWithSSLCertIdResponse) +func (c *serverServiceClient) CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithSSLCertId", in, out, opts...) if err != nil { return nil, err @@ -3748,8 +3352,8 @@ func (c *serverServiceClient) FindAllEnabledServersWithSSLCertId(ctx context.Con return out, nil } -func (c *serverServiceClient) CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithCachePolicyIdResponse, error) { - out := new(CountAllEnabledServersWithCachePolicyIdResponse) +func (c *serverServiceClient) CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithCachePolicyId", in, out, opts...) if err != nil { return nil, err @@ -3766,8 +3370,8 @@ func (c *serverServiceClient) FindAllEnabledServersWithCachePolicyId(ctx context return out, nil } -func (c *serverServiceClient) CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) { - out := new(CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) +func (c *serverServiceClient) CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithHTTPFirewallPolicyId", in, out, opts...) if err != nil { return nil, err @@ -3784,8 +3388,8 @@ func (c *serverServiceClient) FindAllEnabledServersWithHTTPFirewallPolicyId(ctx return out, nil } -func (c *serverServiceClient) CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithNodeClusterIdResponse, error) { - out := new(CountAllEnabledServersWithNodeClusterIdResponse) +func (c *serverServiceClient) CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithNodeClusterId", in, out, opts...) if err != nil { return nil, err @@ -3793,8 +3397,8 @@ func (c *serverServiceClient) CountAllEnabledServersWithNodeClusterId(ctx contex return out, nil } -func (c *serverServiceClient) CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithGroupIdResponse, error) { - out := new(CountAllEnabledServersWithGroupIdResponse) +func (c *serverServiceClient) CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithGroupId", in, out, opts...) if err != nil { return nil, err @@ -3836,7 +3440,7 @@ type ServerServiceServer interface { // 修改服务的域名设置 UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCUpdateSuccess, error) // 计算匹配的服务数量 - CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*CountAllEnabledServersMatchResponse, error) + CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error) // 列出单页服务 ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error) // 禁用某服务 @@ -3850,21 +3454,21 @@ type ServerServiceServer interface { // 初始化Web设置 FindAndInitServerWebConfig(context.Context, *FindAndInitServerWebConfigRequest) (*FindAndInitServerWebConfigResponse, error) // 计算使用某个SSL证书的服务数量 - CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*CountAllEnabledServersWithSSLCertIdResponse, error) + CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*RPCCountResponse, error) // 查找使用某个SSL证书的所有服务 FindAllEnabledServersWithSSLCertId(context.Context, *FindAllEnabledServersWithSSLCertIdRequest) (*FindAllEnabledServersWithSSLCertIdResponse, error) // 计算使用某个缓存策略的服务数量 - CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*CountAllEnabledServersWithCachePolicyIdResponse, error) + CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*RPCCountResponse, error) // 查找使用某个缓存策略的所有服务 FindAllEnabledServersWithCachePolicyId(context.Context, *FindAllEnabledServersWithCachePolicyIdRequest) (*FindAllEnabledServersWithCachePolicyIdResponse, error) // 计算使用某个WAF策略的服务数量 - CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) + CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*RPCCountResponse, error) // 查找使用WAF策略的所有服务 FindAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) // 计算运行在某个集群上的所有服务数量 - CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*CountAllEnabledServersWithNodeClusterIdResponse, error) + CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*RPCCountResponse, error) // 计算使用某个分组的服务数量 - CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*CountAllEnabledServersWithGroupIdResponse, error) + CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*RPCCountResponse, error) // 通知更新 NotifyServersChange(context.Context, *NotifyServersChangeRequest) (*NotifyServersChangeResponse, error) } @@ -3906,7 +3510,7 @@ func (*UnimplementedServerServiceServer) UpdateServerReverseProxy(context.Contex func (*UnimplementedServerServiceServer) UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCUpdateSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateServerNames not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*CountAllEnabledServersMatchResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersMatch not implemented") } func (*UnimplementedServerServiceServer) ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error) { @@ -3927,28 +3531,28 @@ func (*UnimplementedServerServiceServer) FindAndInitServerReverseProxyConfig(con func (*UnimplementedServerServiceServer) FindAndInitServerWebConfig(context.Context, *FindAndInitServerWebConfigRequest) (*FindAndInitServerWebConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAndInitServerWebConfig not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*CountAllEnabledServersWithSSLCertIdResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithSSLCertId not implemented") } func (*UnimplementedServerServiceServer) FindAllEnabledServersWithSSLCertId(context.Context, *FindAllEnabledServersWithSSLCertIdRequest) (*FindAllEnabledServersWithSSLCertIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithSSLCertId not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*CountAllEnabledServersWithCachePolicyIdResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithCachePolicyId not implemented") } func (*UnimplementedServerServiceServer) FindAllEnabledServersWithCachePolicyId(context.Context, *FindAllEnabledServersWithCachePolicyIdRequest) (*FindAllEnabledServersWithCachePolicyIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithCachePolicyId not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithHTTPFirewallPolicyId not implemented") } func (*UnimplementedServerServiceServer) FindAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithHTTPFirewallPolicyId not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*CountAllEnabledServersWithNodeClusterIdResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithNodeClusterId not implemented") } -func (*UnimplementedServerServiceServer) CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*CountAllEnabledServersWithGroupIdResponse, error) { +func (*UnimplementedServerServiceServer) CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithGroupId not implemented") } func (*UnimplementedServerServiceServer) NotifyServersChange(context.Context, *NotifyServersChangeRequest) (*NotifyServersChangeResponse, error) { diff --git a/pkg/rpc/pb/service_ssl_cert.pb.go b/pkg/rpc/pb/service_ssl_cert.pb.go index 28fc26a..b70fa09 100644 --- a/pkg/rpc/pb/service_ssl_cert.pb.go +++ b/pkg/rpc/pb/service_ssl_cert.pb.go @@ -563,53 +563,6 @@ func (x *CountSSLCertRequest) GetKeyword() string { return "" } -type CountSSLCertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountSSLCertResponse) Reset() { - *x = CountSSLCertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountSSLCertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountSSLCertResponse) ProtoMessage() {} - -func (x *CountSSLCertResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[7] - 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 CountSSLCertResponse.ProtoReflect.Descriptor instead. -func (*CountSSLCertResponse) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{7} -} - -func (x *CountSSLCertResponse) GetCount() int64 { - if x != nil { - return x.Count - } - return 0 -} - // 列出单页匹配的Cert type ListSSLCertsRequest struct { state protoimpl.MessageState @@ -628,7 +581,7 @@ type ListSSLCertsRequest struct { func (x *ListSSLCertsRequest) Reset() { *x = ListSSLCertsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[8] + mi := &file_service_ssl_cert_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -641,7 +594,7 @@ func (x *ListSSLCertsRequest) String() string { func (*ListSSLCertsRequest) ProtoMessage() {} func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[8] + mi := &file_service_ssl_cert_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -654,7 +607,7 @@ func (x *ListSSLCertsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSSLCertsRequest.ProtoReflect.Descriptor instead. func (*ListSSLCertsRequest) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{8} + return file_service_ssl_cert_proto_rawDescGZIP(), []int{7} } func (x *ListSSLCertsRequest) GetIsCA() bool { @@ -717,7 +670,7 @@ type ListSSLCertsResponse struct { func (x *ListSSLCertsResponse) Reset() { *x = ListSSLCertsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[9] + mi := &file_service_ssl_cert_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -730,7 +683,7 @@ func (x *ListSSLCertsResponse) String() string { func (*ListSSLCertsResponse) ProtoMessage() {} func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[9] + mi := &file_service_ssl_cert_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -743,7 +696,7 @@ func (x *ListSSLCertsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListSSLCertsResponse.ProtoReflect.Descriptor instead. func (*ListSSLCertsResponse) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{9} + return file_service_ssl_cert_proto_rawDescGZIP(), []int{8} } func (x *ListSSLCertsResponse) GetCertsJSON() []byte { @@ -826,56 +779,53 @@ var file_service_ssl_cert_proto_rawDesc = []byte{ 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, - 0x77, 0x6f, 0x72, 0x64, 0x22, 0x2c, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, - 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, - 0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, 0x12, 0x20, - 0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x22, - 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, - 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x34, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xc6, - 0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, - 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, - 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, + 0x77, 0x6f, 0x72, 0x64, 0x22, 0xd3, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, + 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x69, 0x73, 0x43, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x43, 0x41, + 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, + 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x79, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, + 0x44, 0x61, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x34, 0x0a, 0x14, 0x4c, 0x69, + 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, + 0x32, 0xc2, 0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, + 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x42, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, - 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, - 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, - 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, - 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, - 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 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, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, + 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, + 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 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, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, + 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, + 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 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 ( @@ -890,7 +840,7 @@ func file_service_ssl_cert_proto_rawDescGZIP() []byte { return file_service_ssl_cert_proto_rawDescData } -var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_service_ssl_cert_proto_goTypes = []interface{}{ (*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest (*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse @@ -899,11 +849,11 @@ var file_service_ssl_cert_proto_goTypes = []interface{}{ (*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse (*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest (*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest - (*CountSSLCertResponse)(nil), // 7: pb.CountSSLCertResponse - (*ListSSLCertsRequest)(nil), // 8: pb.ListSSLCertsRequest - (*ListSSLCertsResponse)(nil), // 9: pb.ListSSLCertsResponse - (*RPCUpdateSuccess)(nil), // 10: pb.RPCUpdateSuccess - (*RPCDeleteSuccess)(nil), // 11: pb.RPCDeleteSuccess + (*ListSSLCertsRequest)(nil), // 7: pb.ListSSLCertsRequest + (*ListSSLCertsResponse)(nil), // 8: pb.ListSSLCertsResponse + (*RPCUpdateSuccess)(nil), // 9: pb.RPCUpdateSuccess + (*RPCDeleteSuccess)(nil), // 10: pb.RPCDeleteSuccess + (*RPCCountResponse)(nil), // 11: pb.RPCCountResponse } var file_service_ssl_cert_proto_depIdxs = []int32{ 0, // 0: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest @@ -911,13 +861,13 @@ var file_service_ssl_cert_proto_depIdxs = []int32{ 5, // 2: pb.SSLCertService.deleteSSLCert:input_type -> pb.DeleteSSLCertRequest 3, // 3: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest 6, // 4: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest - 8, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest + 7, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest 1, // 6: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse - 10, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCUpdateSuccess - 11, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCDeleteSuccess + 9, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCUpdateSuccess + 10, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCDeleteSuccess 4, // 9: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse - 7, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.CountSSLCertResponse - 9, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse + 11, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse + 8, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse 6, // [6:12] is the sub-list for method output_type 0, // [0:6] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -1017,18 +967,6 @@ func file_service_ssl_cert_proto_init() { } } file_service_ssl_cert_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountSSLCertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_ssl_cert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSSLCertsRequest); i { case 0: return &v.state @@ -1040,7 +978,7 @@ func file_service_ssl_cert_proto_init() { return nil } } - file_service_ssl_cert_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_service_ssl_cert_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListSSLCertsResponse); i { case 0: return &v.state @@ -1059,7 +997,7 @@ func file_service_ssl_cert_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_ssl_cert_proto_rawDesc, NumEnums: 0, - NumMessages: 10, + NumMessages: 9, NumExtensions: 0, NumServices: 1, }, @@ -1094,7 +1032,7 @@ type SSLCertServiceClient interface { // 查找证书配置 FindEnabledSSLCertConfig(ctx context.Context, in *FindEnabledSSLCertConfigRequest, opts ...grpc.CallOption) (*FindEnabledSSLCertConfigResponse, error) // 计算匹配的Cert数量 - CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*CountSSLCertResponse, error) + CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error) } @@ -1143,8 +1081,8 @@ func (c *sSLCertServiceClient) FindEnabledSSLCertConfig(ctx context.Context, in return out, nil } -func (c *sSLCertServiceClient) CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*CountSSLCertResponse, error) { - out := new(CountSSLCertResponse) +func (c *sSLCertServiceClient) CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.SSLCertService/countSSLCerts", in, out, opts...) if err != nil { return nil, err @@ -1172,7 +1110,7 @@ type SSLCertServiceServer interface { // 查找证书配置 FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) // 计算匹配的Cert数量 - CountSSLCerts(context.Context, *CountSSLCertRequest) (*CountSSLCertResponse, error) + CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) } @@ -1193,7 +1131,7 @@ func (*UnimplementedSSLCertServiceServer) DeleteSSLCert(context.Context, *Delete func (*UnimplementedSSLCertServiceServer) FindEnabledSSLCertConfig(context.Context, *FindEnabledSSLCertConfigRequest) (*FindEnabledSSLCertConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledSSLCertConfig not implemented") } -func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountSSLCertRequest) (*CountSSLCertResponse, error) { +func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountSSLCerts not implemented") } func (*UnimplementedSSLCertServiceServer) ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) { diff --git a/pkg/rpc/protos/model_dns_domain.proto b/pkg/rpc/protos/model_dns_domain.proto new file mode 100644 index 0000000..9cf0001 --- /dev/null +++ b/pkg/rpc/protos/model_dns_domain.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +message DNSDomain { + int64 id = 1; + string name = 2; + bool isOn = 3; + int64 dataUpdatedAt = 4; +} \ No newline at end of file diff --git a/pkg/rpc/protos/model_dns_provider.proto b/pkg/rpc/protos/model_dns_provider.proto index c996767..996af61 100644 --- a/pkg/rpc/protos/model_dns_provider.proto +++ b/pkg/rpc/protos/model_dns_provider.proto @@ -9,6 +9,5 @@ message DNSProvider { string type = 3; string typeName = 4; bytes apiParamsJSON = 5; - bytes routesJSON = 6; - int64 dataUpdatedAt = 7; + int64 dataUpdatedAt = 6; } \ No newline at end of file diff --git a/pkg/rpc/protos/rpc_messages.proto b/pkg/rpc/protos/rpc_messages.proto index 993b3de..e5b4d04 100644 --- a/pkg/rpc/protos/rpc_messages.proto +++ b/pkg/rpc/protos/rpc_messages.proto @@ -10,3 +10,7 @@ message RPCUpdateSuccess { message RPCDeleteSuccess { } + +message RPCCountResponse { + int64 count = 1; +} diff --git a/pkg/rpc/protos/service_api_node.proto b/pkg/rpc/protos/service_api_node.proto index 394dc6a..aec9108 100644 --- a/pkg/rpc/protos/service_api_node.proto +++ b/pkg/rpc/protos/service_api_node.proto @@ -19,7 +19,7 @@ service APINodeService { rpc findAllEnabledAPINodes (FindAllEnabledAPINodesRequest) returns (FindAllEnabledAPINodesResponse); // 计算API节点数量 - rpc countAllEnabledAPINodes (CountAllEnabledAPINodesRequest) returns (CountAllEnabledAPINodesResponse); + rpc countAllEnabledAPINodes (CountAllEnabledAPINodesRequest) returns (RPCCountResponse); // 列出单页的API节点 rpc listEnabledAPINodes (ListEnabledAPINodesRequest) returns (ListEnabledAPINodesResponse); @@ -75,10 +75,6 @@ message CountAllEnabledAPINodesRequest { } -message CountAllEnabledAPINodesResponse { - int64 count = 1; -} - // 列出单页的API节点 message ListEnabledAPINodesRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_db_node.proto b/pkg/rpc/protos/service_db_node.proto index 57f27e5..741bd30 100644 --- a/pkg/rpc/protos/service_db_node.proto +++ b/pkg/rpc/protos/service_db_node.proto @@ -17,7 +17,7 @@ service DBNodeService { rpc deleteDBNode (DeleteDBNodeRequest) returns (RPCDeleteSuccess); // 计算可用的数据库节点数量 - rpc countAllEnabledDBNodes (CountAllEnabledDBNodesRequest) returns (CountAllEnabledDBNodesResponse); + rpc countAllEnabledDBNodes (CountAllEnabledDBNodesRequest) returns (RPCCountResponse); // 列出单页的数据库节点 rpc listEnabledDBNodes (ListEnabledDBNodesRequest) returns (ListEnabledDBNodesResponse); @@ -67,10 +67,6 @@ message CountAllEnabledDBNodesRequest { } -message CountAllEnabledDBNodesResponse { - int64 count = 1; -} - // 列出单页的数据库节点 message ListEnabledDBNodesRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_dns_domain.proto b/pkg/rpc/protos/service_dns_domain.proto new file mode 100644 index 0000000..004aa43 --- /dev/null +++ b/pkg/rpc/protos/service_dns_domain.proto @@ -0,0 +1,61 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +import "rpc_messages.proto"; +import "model_dns_domain.proto"; + +// DNS域名相关 +service DNSDomainService { + // 创建域名 + rpc createDNSDomain (CreateDNSDomainRequest) returns (CreateDNSDomainResponse); + + // 修改域名 + rpc updateDNSDomain (UpdateDNSDomainRequest) returns (RPCUpdateSuccess); + + // 删除域名 + rpc deleteDNSDomain (DeleteDNSDomainRequest) returns (RPCDeleteSuccess); + + // 计算服务商下的域名数量 + rpc countAllEnabledDNSDomainsWithDNSProviderId (CountAllEnabledDNSDomainsWithDNSProviderIdRequest) returns (RPCCountResponse); + + // 列出服务商下的所有域名 + rpc findAllEnabledDNSDomainsWithDNSProviderId (FindAllEnabledDNSDomainsWithDNSProviderIdRequest) returns (FindAllEnabledDNSDomainsWithDNSProviderIdResponse); +} + +// 创建域名 +message CreateDNSDomainRequest { + int64 dnsProviderId = 1; + string name = 2; +} + +message CreateDNSDomainResponse { + int64 dnsDomainId = 1; +} + +// 修改域名 +message UpdateDNSDomainRequest { + int64 dnsDomainId = 1; + string name = 2; + bool isOn = 3; +} + +// 删除域名 +message DeleteDNSDomainRequest { + int64 dnsDomainId = 1; +} + +// 计算服务商下的域名数量 +message CountAllEnabledDNSDomainsWithDNSProviderIdRequest { + int64 dnsProviderId = 1; +} + +// 列出服务商下的所有域名 +message FindAllEnabledDNSDomainsWithDNSProviderIdRequest { + int64 dnsProviderId = 1; +} + +message FindAllEnabledDNSDomainsWithDNSProviderIdResponse { + repeated DNSDomain dnsDomains = 1; +} \ No newline at end of file diff --git a/pkg/rpc/protos/service_dns_provider.proto b/pkg/rpc/protos/service_dns_provider.proto index aa37eeb..338a49c 100644 --- a/pkg/rpc/protos/service_dns_provider.proto +++ b/pkg/rpc/protos/service_dns_provider.proto @@ -15,7 +15,7 @@ service DNSProviderService { rpc updateDNSProvider (UpdateDNSProviderRequest) returns (RPCUpdateSuccess); // 计算服务商数量 - rpc countAllEnabledDNSProviders (CountAllEnabledDNSProvidersRequest) returns (CountAllEnabledDNSProvidersResponse); + rpc countAllEnabledDNSProviders (CountAllEnabledDNSProvidersRequest) returns (RPCCountResponse); // 列出单页服务商信息 rpc listEnabledDNSProviders (ListEnabledDNSProvidersRequest) returns (ListEnabledDNSProvidersResponse); @@ -28,6 +28,9 @@ service DNSProviderService { // 取得所有服务商类型 rpc findAllDNSProviderTypes (FindAllDNSProviderTypesRequest) returns (FindAllDNSProviderTypesResponse); + + // 更新数据 + rpc updateDNSProviderData (UpdateDNSProviderDataRequest) returns (UpdateDNSProviderDataResponse); } // 创建服务商 @@ -35,7 +38,6 @@ message CreateDNSProviderRequest { string name = 1; string type = 2; bytes apiParamsJSON = 3; - bytes routesJSON = 4; } message CreateDNSProviderResponse { @@ -47,7 +49,6 @@ message UpdateDNSProviderRequest { int64 dnsProviderId = 1; string name = 2; bytes apiParamsJSON = 3; - bytes routesJSON = 4; } // 计算服务商数量 @@ -55,10 +56,6 @@ message CountAllEnabledDNSProvidersRequest { } -message CountAllEnabledDNSProvidersResponse { - int64 count = 1; -} - // 列出单页的服务商信息 message ListEnabledDNSProvidersRequest { int64 offset = 1; @@ -95,4 +92,14 @@ message FindAllDNSProviderTypesResponse { message DNSProviderType { string name = 1; string code = 2; +} + +// 更新数据 +message UpdateDNSProviderDataRequest { + int64 dnsProviderId = 1; +} + +message UpdateDNSProviderDataResponse { + bool isOk = 1; + string error = 2; } \ No newline at end of file diff --git a/pkg/rpc/protos/service_http_cache_policy.proto b/pkg/rpc/protos/service_http_cache_policy.proto index 00ae6f4..cd79263 100644 --- a/pkg/rpc/protos/service_http_cache_policy.proto +++ b/pkg/rpc/protos/service_http_cache_policy.proto @@ -20,7 +20,7 @@ service HTTPCachePolicyService { rpc deleteHTTPCachePolicy (DeleteHTTPCachePolicyRequest) returns (RPCDeleteSuccess); // 计算缓存策略数量 - rpc countAllEnabledHTTPCachePolicies (CountAllEnabledHTTPCachePoliciesRequest) returns (CountAllEnabledHTTPCachePoliciesResponse); + rpc countAllEnabledHTTPCachePolicies (CountAllEnabledHTTPCachePoliciesRequest) returns (RPCCountResponse); // 列出单页的缓存策略 rpc listEnabledHTTPCachePolicies (ListEnabledHTTPCachePoliciesRequest) returns (ListEnabledHTTPCachePoliciesResponse); @@ -76,10 +76,6 @@ message DeleteHTTPCachePolicyRequest { message CountAllEnabledHTTPCachePoliciesRequest { } -message CountAllEnabledHTTPCachePoliciesResponse { - int64 count = 1; -} - // 列出单页的缓存策略 message ListEnabledHTTPCachePoliciesRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_http_firewall_policy.proto b/pkg/rpc/protos/service_http_firewall_policy.proto index 013323e..056f3dd 100644 --- a/pkg/rpc/protos/service_http_firewall_policy.proto +++ b/pkg/rpc/protos/service_http_firewall_policy.proto @@ -23,7 +23,7 @@ service HTTPFirewallPolicyService { rpc updateHTTPFirewallInboundConfig (UpdateHTTPFirewallInboundConfigRequest) returns (RPCUpdateSuccess); // 计算可用的防火墙策略数量 - rpc countAllEnabledFirewallPolicies (CountAllEnabledFirewallPoliciesRequest) returns (CountAllEnabledFirewallPoliciesResponse); + rpc countAllEnabledFirewallPolicies (CountAllEnabledFirewallPoliciesRequest) returns (RPCCountResponse); // 列出单页的防火墙策略 rpc listEnabledFirewallPolicies (ListEnabledFirewallPoliciesRequest) returns (ListEnabledFirewallPoliciesResponse); @@ -85,10 +85,6 @@ message UpdateHTTPFirewallInboundConfigRequest { message CountAllEnabledFirewallPoliciesRequest { } -message CountAllEnabledFirewallPoliciesResponse { - int64 count = 1; -} - // 列出单页的防火墙策略 message ListEnabledFirewallPoliciesRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_ip_item.proto b/pkg/rpc/protos/service_ip_item.proto index 3e15d14..6b58ad3 100644 --- a/pkg/rpc/protos/service_ip_item.proto +++ b/pkg/rpc/protos/service_ip_item.proto @@ -18,7 +18,7 @@ service IPItemService { rpc deleteIPItem (DeleteIPItemRequest) returns (RPCDeleteSuccess); // 计算IP数量 - rpc countIPItemsWithListId (CountIPItemsWithListIdRequest) returns (CountIPItemsWithListIdResponse); + rpc countIPItemsWithListId (CountIPItemsWithListIdRequest) returns (RPCCountResponse); // 列出单页的IP rpc listIPItemsWithListId (ListIPItemsWithListIdRequest) returns (ListIPItemsWithListIdResponse); @@ -62,10 +62,6 @@ message CountIPItemsWithListIdRequest { int64 ipListId = 1; } -message CountIPItemsWithListIdResponse { - int64 count = 1; -} - // 列出单页的IP message ListIPItemsWithListIdRequest { int64 ipListId = 1; diff --git a/pkg/rpc/protos/service_log.proto b/pkg/rpc/protos/service_log.proto index 42d5754..08f0763 100644 --- a/pkg/rpc/protos/service_log.proto +++ b/pkg/rpc/protos/service_log.proto @@ -3,6 +3,7 @@ option go_package = "./pb"; package pb; +import "rpc_messages.proto"; import "model_log.proto"; service LogService { @@ -10,7 +11,7 @@ service LogService { rpc createLog (CreateLogRequest) returns (CreateLogResponse); // 计算日志数量 - rpc countLogs (CountLogRequest) returns (CountLogResponse); + rpc countLogs (CountLogRequest) returns (RPCCountResponse); // 列出单页日志 rpc listLogs (ListLogsRequest) returns (ListLogsResponse); @@ -33,10 +34,6 @@ message CountLogRequest { } -message CountLogResponse { - int64 count = 1; -} - // 列出单页日志 message ListLogsRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_message.proto b/pkg/rpc/protos/service_message.proto index f8af6fa..b1519f3 100644 --- a/pkg/rpc/protos/service_message.proto +++ b/pkg/rpc/protos/service_message.proto @@ -9,7 +9,7 @@ import "rpc_messages.proto"; // 消息相关服务 service MessageService { // 计算未读消息数 - rpc countUnreadMessages (CountUnreadMessagesRequest) returns (CountUnreadMessagesResponse); + rpc countUnreadMessages (CountUnreadMessagesRequest) returns (RPCCountResponse); // 列出单页未读消息 rpc listUnreadMessages (ListUnreadMessagesRequest) returns (ListUnreadMessagesResponse); @@ -29,10 +29,6 @@ message CountUnreadMessagesRequest { } -message CountUnreadMessagesResponse { - int64 count = 1; -} - // 列出单页未读消息 message ListUnreadMessagesRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_node.proto b/pkg/rpc/protos/service_node.proto index 1bc5d13..1d69717 100644 --- a/pkg/rpc/protos/service_node.proto +++ b/pkg/rpc/protos/service_node.proto @@ -16,10 +16,10 @@ service NodeService { rpc registerClusterNode (RegisterClusterNodeRequest) returns (RegisterClusterNodeResponse); // 节点数量 - rpc countAllEnabledNodes (CountAllEnabledNodesRequest) returns (CountAllEnabledNodesResponse); + rpc countAllEnabledNodes (CountAllEnabledNodesRequest) returns (RPCCountResponse); // 计算匹配的节点数量 - rpc countAllEnabledNodesMatch (CountAllEnabledNodesMatchRequest) returns (CountAllEnabledNodesMatchResponse); + rpc countAllEnabledNodesMatch (CountAllEnabledNodesMatchRequest) returns (RPCCountResponse); // 列出单页节点 rpc listEnabledNodesMatch (ListEnabledNodesMatchRequest) returns (ListEnabledNodesMatchResponse); @@ -70,7 +70,7 @@ service NodeService { rpc updateNodeConnectedAPINodes (UpdateNodeConnectedAPINodesRequest) returns (RPCUpdateSuccess); // 计算使用某个认证的节点数量 - rpc countAllEnabledNodesWithGrantId (CountAllEnabledNodesWithGrantIdRequest) returns (CountAllEnabledNodesWithGrantIdResponse); + rpc countAllEnabledNodesWithGrantId (CountAllEnabledNodesWithGrantIdRequest) returns (RPCCountResponse); // 查找使用某个认证的所有节点 rpc findAllEnabledNodesWithGrantId (FindAllEnabledNodesWithGrantIdRequest) returns (FindAllEnabledNodesWithGrantIdResponse); @@ -88,7 +88,7 @@ service NodeService { rpc updateNodeLogin (UpdateNodeLoginRequest) returns (RPCUpdateSuccess); // 计算某个节点分组内的节点数量 - rpc countAllEnabledNodesWithGroupId (CountAllEnabledNodesWithGroupIdRequest) returns (CountAllEnabledNodesWithGroupIdResponse); + rpc countAllEnabledNodesWithGroupId (CountAllEnabledNodesWithGroupIdRequest) returns (RPCCountResponse); } // 创建节点 @@ -119,10 +119,6 @@ message CountAllEnabledNodesRequest { } -message CountAllEnabledNodesResponse { - int64 count = 1; -} - // 列出单页节点 message ListEnabledNodesMatchRequest { int64 offset = 1; @@ -219,10 +215,6 @@ message CountAllEnabledNodesMatchRequest { int64 groupId = 5; } -message CountAllEnabledNodesMatchResponse { - int64 count = 1; -} - // 修改节点安装状态 message UpdateNodeIsInstalledRequest { int64 nodeId = 1; @@ -276,10 +268,6 @@ message CountAllEnabledNodesWithGrantIdRequest { int64 grantId = 1; } -message CountAllEnabledNodesWithGrantIdResponse { - int64 count = 1; -} - // 查找使用某个认证的所有节点 message FindAllEnabledNodesWithGrantIdRequest { int64 grantId = 1; @@ -334,7 +322,3 @@ message UpdateNodeLoginRequest { message CountAllEnabledNodesWithGroupIdRequest { int64 groupId = 1; } - -message CountAllEnabledNodesWithGroupIdResponse { - int64 count = 1; -} diff --git a/pkg/rpc/protos/service_node_cluster.proto b/pkg/rpc/protos/service_node_cluster.proto index 50cbf2e..6a55176 100644 --- a/pkg/rpc/protos/service_node_cluster.proto +++ b/pkg/rpc/protos/service_node_cluster.proto @@ -7,6 +7,7 @@ import "model_node_cluster.proto"; import "model_api_node.proto"; import "model_node.proto"; import "rpc_messages.proto"; +import "model_dns_domain.proto"; import "model_dns_provider.proto"; service NodeClusterService { @@ -32,7 +33,7 @@ service NodeClusterService { rpc findAllChangedNodeClusters (FindAllChangedNodeClustersRequest) returns (FindAllChangedNodeClustersResponse); // 计算所有集群数量 - rpc countAllEnabledNodeClusters (CountAllEnabledNodeClustersRequest) returns (CountAllEnabledNodeClustersResponse); + rpc countAllEnabledNodeClusters (CountAllEnabledNodeClustersRequest) returns (RPCCountResponse); // 列出单页集群 rpc listEnabledNodeClusters (ListEnabledNodeClustersRequest) returns (ListEnabledNodeClustersResponse); @@ -47,7 +48,7 @@ service NodeClusterService { rpc executeNodeClusterHealthCheck (ExecuteNodeClusterHealthCheckRequest) returns (ExecuteNodeClusterHealthCheckResponse); // 计算使用某个认证的集群数量 - rpc countAllEnabledNodeClustersWithGrantId (CountAllEnabledNodeClustersWithGrantIdRequest) returns (CountAllEnabledNodeClustersWithGrantIdResponse); + rpc countAllEnabledNodeClustersWithGrantId (CountAllEnabledNodeClustersWithGrantIdRequest) returns (RPCCountResponse); // 查找使用某个认证的所有集群 rpc findAllEnabledNodeClustersWithGrantId (FindAllEnabledNodeClustersWithGrantIdRequest) returns (FindAllEnabledNodeClustersWithGrantIdResponse); @@ -56,7 +57,10 @@ service NodeClusterService { rpc findEnabledNodeClusterDNS (FindEnabledNodeClusterDNSRequest) returns (FindEnabledNodeClusterDNSResponse); // 计算使用某个DNS服务商的集群数量 - rpc countAllEnabledNodeClustersWithDNSProviderId (CountAllEnabledNodeClustersWithDNSProviderIdRequest) returns (CountAllEnabledNodeClustersWithDNSProviderIdResponse); + rpc countAllEnabledNodeClustersWithDNSProviderId (CountAllEnabledNodeClustersWithDNSProviderIdRequest) returns (RPCCountResponse); + + // 计算使用某个DNS域名的集群数量 + rpc countAllEnabledNodeClustersWithDNSDomainId (CountAllEnabledNodeClustersWithDNSDomainIdRequest) returns (RPCCountResponse); } // 获取所有集群的信息 @@ -125,10 +129,6 @@ message CountAllEnabledNodeClustersRequest { } -message CountAllEnabledNodeClustersResponse { - int64 count = 1; -} - // 列出单页集群 message ListEnabledNodeClustersRequest { int64 offset = 1; @@ -176,10 +176,6 @@ message CountAllEnabledNodeClustersWithGrantIdRequest { int64 grantId = 1; } -message CountAllEnabledNodeClustersWithGrantIdResponse { - int64 count = 1; -} - // 查找使用某个认证的所有集群 message FindAllEnabledNodeClustersWithGrantIdRequest { int64 grantId = 1; @@ -196,7 +192,7 @@ message FindEnabledNodeClusterDNSRequest { message FindEnabledNodeClusterDNSResponse { string name = 1; - string domain = 2; + DNSDomain domain = 2; DNSProvider provider = 3; } @@ -205,6 +201,7 @@ message CountAllEnabledNodeClustersWithDNSProviderIdRequest { int64 dnsProviderId = 1; } -message CountAllEnabledNodeClustersWithDNSProviderIdResponse { - int64 count = 1; +// 计算使用某个DNS域名的集群数量 +message CountAllEnabledNodeClustersWithDNSDomainIdRequest { + int64 dnsDomainId = 1; } \ No newline at end of file diff --git a/pkg/rpc/protos/service_node_grant.proto b/pkg/rpc/protos/service_node_grant.proto index 5c279ed..de42744 100644 --- a/pkg/rpc/protos/service_node_grant.proto +++ b/pkg/rpc/protos/service_node_grant.proto @@ -16,7 +16,7 @@ service NodeGrantService { rpc disableNodeGrant (DisableNodeGrantRequest) returns (DisableNodeGrantResponse); // 计算认证的数量 - rpc countAllEnabledNodeGrants (CountAllEnabledNodeGrantsRequest) returns (CountAllEnabledNodeGrantsResponse); + rpc countAllEnabledNodeGrants (CountAllEnabledNodeGrantsRequest) returns (RPCCountResponse); // 列出单页认证 rpc ListEnabledNodeGrants (ListEnabledNodeGrantsRequest) returns (ListEnabledNodeGrantsResponse); @@ -69,10 +69,6 @@ message CountAllEnabledNodeGrantsRequest { } -message CountAllEnabledNodeGrantsResponse { - int64 count = 1; -} - // 列出单页认证 message ListEnabledNodeGrantsRequest { int64 offset = 1; diff --git a/pkg/rpc/protos/service_node_log.proto b/pkg/rpc/protos/service_node_log.proto index a8fad1b..2ad853a 100644 --- a/pkg/rpc/protos/service_node_log.proto +++ b/pkg/rpc/protos/service_node_log.proto @@ -3,6 +3,7 @@ option go_package = "./pb"; package pb; +import "rpc_messages.proto"; import "model_node_log.proto"; // 节点日志相关服务 @@ -11,7 +12,7 @@ service NodeLogService { rpc createNodeLogs (CreateNodeLogsRequest) returns (CreateNodeLogsResponse); // 查询日志数量 - rpc countNodeLogs (CountNodeLogsRequest) returns (CountNodeLogsResponse); + rpc countNodeLogs (CountNodeLogsRequest) returns (RPCCountResponse); // 列出单页日志 rpc listNodeLogs (ListNodeLogsRequest) returns (ListNodeLogsResponse); @@ -32,10 +33,6 @@ message CountNodeLogsRequest { string role = 2; } -message CountNodeLogsResponse { - int64 count = 1; -} - // 列出单页日志 message ListNodeLogsRequest { int64 nodeId = 1; diff --git a/pkg/rpc/protos/service_server.proto b/pkg/rpc/protos/service_server.proto index 7c058b4..98054de 100644 --- a/pkg/rpc/protos/service_server.proto +++ b/pkg/rpc/protos/service_server.proto @@ -41,7 +41,7 @@ service ServerService { rpc updateServerNames (UpdateServerNamesRequest) returns (RPCUpdateSuccess); // 计算匹配的服务数量 - rpc countAllEnabledServersMatch (CountAllEnabledServersMatchRequest) returns (CountAllEnabledServersMatchResponse); + rpc countAllEnabledServersMatch (CountAllEnabledServersMatchRequest) returns (RPCCountResponse); // 列出单页服务 rpc listEnabledServersMatch (ListEnabledServersMatchRequest) returns (ListEnabledServersMatchResponse); @@ -62,28 +62,28 @@ service ServerService { rpc findAndInitServerWebConfig (FindAndInitServerWebConfigRequest) returns (FindAndInitServerWebConfigResponse); // 计算使用某个SSL证书的服务数量 - rpc countAllEnabledServersWithSSLCertId (CountAllEnabledServersWithSSLCertIdRequest) returns (CountAllEnabledServersWithSSLCertIdResponse); + rpc countAllEnabledServersWithSSLCertId (CountAllEnabledServersWithSSLCertIdRequest) returns (RPCCountResponse); // 查找使用某个SSL证书的所有服务 rpc findAllEnabledServersWithSSLCertId (FindAllEnabledServersWithSSLCertIdRequest) returns (FindAllEnabledServersWithSSLCertIdResponse); // 计算使用某个缓存策略的服务数量 - rpc countAllEnabledServersWithCachePolicyId (CountAllEnabledServersWithCachePolicyIdRequest) returns (CountAllEnabledServersWithCachePolicyIdResponse); + rpc countAllEnabledServersWithCachePolicyId (CountAllEnabledServersWithCachePolicyIdRequest) returns (RPCCountResponse); // 查找使用某个缓存策略的所有服务 rpc findAllEnabledServersWithCachePolicyId (FindAllEnabledServersWithCachePolicyIdRequest) returns (FindAllEnabledServersWithCachePolicyIdResponse); // 计算使用某个WAF策略的服务数量 - rpc countAllEnabledServersWithHTTPFirewallPolicyId (CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (CountAllEnabledServersWithHTTPFirewallPolicyIdResponse); + rpc countAllEnabledServersWithHTTPFirewallPolicyId (CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (RPCCountResponse); // 查找使用WAF策略的所有服务 rpc findAllEnabledServersWithHTTPFirewallPolicyId (FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) returns (FindAllEnabledServersWithHTTPFirewallPolicyIdResponse); // 计算运行在某个集群上的所有服务数量 - rpc countAllEnabledServersWithNodeClusterId (CountAllEnabledServersWithNodeClusterIdRequest) returns (CountAllEnabledServersWithNodeClusterIdResponse); + rpc countAllEnabledServersWithNodeClusterId (CountAllEnabledServersWithNodeClusterIdRequest) returns (RPCCountResponse); // 计算使用某个分组的服务数量 - rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (CountAllEnabledServersWithGroupIdResponse); + rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (RPCCountResponse); // 通知更新 rpc notifyServersChange (NotifyServersChangeRequest) returns (NotifyServersChangeResponse); @@ -180,10 +180,6 @@ message CountAllEnabledServersMatchRequest { string keyword = 2; } -message CountAllEnabledServersMatchResponse { - int64 count = 1; -} - // 列出单页服务 message ListEnabledServersMatchRequest { int64 offset = 1; @@ -247,10 +243,6 @@ message CountAllEnabledServersWithSSLCertIdRequest { int64 certId = 1; } -message CountAllEnabledServersWithSSLCertIdResponse { - int64 count = 1; -} - // 查找使用某个SSL证书的所有服务 message FindAllEnabledServersWithSSLCertIdRequest { int64 certId = 1; @@ -265,10 +257,6 @@ message CountAllEnabledServersWithCachePolicyIdRequest { int64 cachePolicyId = 1; } -message CountAllEnabledServersWithCachePolicyIdResponse { - int64 count = 1; -} - // 查找使用某个缓存策略的所有服务 message FindAllEnabledServersWithCachePolicyIdRequest { int64 cachePolicyId = 1; @@ -283,10 +271,6 @@ message CountAllEnabledServersWithHTTPFirewallPolicyIdRequest { int64 firewallPolicyId = 1; } -message CountAllEnabledServersWithHTTPFirewallPolicyIdResponse { - int64 count = 1; -} - // 查找使用某个WAF策略的所有服务 message FindAllEnabledServersWithHTTPFirewallPolicyIdRequest { int64 firewallPolicyId = 1; @@ -301,19 +285,11 @@ message CountAllEnabledServersWithNodeClusterIdRequest { int64 nodeClusterId = 1; } -message CountAllEnabledServersWithNodeClusterIdResponse { - int64 count = 1; -} - // 计算使用某个分组的服务数量 message CountAllEnabledServersWithGroupIdRequest { int64 groupId = 1; } -message CountAllEnabledServersWithGroupIdResponse { - int64 count = 1; -} - // 通知更新 message NotifyServersChangeRequest { diff --git a/pkg/rpc/protos/service_ssl_cert.proto b/pkg/rpc/protos/service_ssl_cert.proto index 55e9737..feec133 100644 --- a/pkg/rpc/protos/service_ssl_cert.proto +++ b/pkg/rpc/protos/service_ssl_cert.proto @@ -19,7 +19,7 @@ service SSLCertService { rpc findEnabledSSLCertConfig (FindEnabledSSLCertConfigRequest) returns (FindEnabledSSLCertConfigResponse); // 计算匹配的Cert数量 - rpc countSSLCerts (CountSSLCertRequest) returns (CountSSLCertResponse); + rpc countSSLCerts (CountSSLCertRequest) returns (RPCCountResponse); // 列出单页匹配的Cert rpc listSSLCerts (ListSSLCertsRequest) returns (ListSSLCertsResponse); @@ -83,10 +83,6 @@ message CountSSLCertRequest { string keyword = 5; } -message CountSSLCertResponse { - int64 count = 1; -} - // 列出单页匹配的Cert message ListSSLCertsRequest { bool isCA = 1;