diff --git a/pkg/nodeconfigs/node_status.go b/pkg/nodeconfigs/node_status.go index 58329d9..cd999e2 100644 --- a/pkg/nodeconfigs/node_status.go +++ b/pkg/nodeconfigs/node_status.go @@ -5,6 +5,8 @@ type NodeStatus struct { BuildVersion string `json:"buildVersion"` // 编译版本 ConfigVersion int64 `json:"configVersion"` // 节点配置版本 + OS string `json:"os"` + Arch string `json:"arch"` Hostname string `json:"hostname"` HostIP string `json:"hostIP"` CPUUsage float64 `json:"cpuUsage"` diff --git a/pkg/rpc/pb/service_node.pb.go b/pkg/rpc/pb/service_node.pb.go index 9f6932d..0314195 100644 --- a/pkg/rpc/pb/service_node.pb.go +++ b/pkg/rpc/pb/service_node.pb.go @@ -1405,6 +1405,92 @@ func (*InstallNodeResponse) Descriptor() ([]byte, []int) { return file_service_node_proto_rawDescGZIP(), []int{25} } +// 升级节点 +type UpgradeNodeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NodeId int64 `protobuf:"varint,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` +} + +func (x *UpgradeNodeRequest) Reset() { + *x = UpgradeNodeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_node_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeNodeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeNodeRequest) ProtoMessage() {} + +func (x *UpgradeNodeRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_node_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpgradeNodeRequest.ProtoReflect.Descriptor instead. +func (*UpgradeNodeRequest) Descriptor() ([]byte, []int) { + return file_service_node_proto_rawDescGZIP(), []int{26} +} + +func (x *UpgradeNodeRequest) GetNodeId() int64 { + if x != nil { + return x.NodeId + } + return 0 +} + +type UpgradeNodeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *UpgradeNodeResponse) Reset() { + *x = UpgradeNodeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_node_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeNodeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeNodeResponse) ProtoMessage() {} + +func (x *UpgradeNodeResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_node_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 UpgradeNodeResponse.ProtoReflect.Descriptor instead. +func (*UpgradeNodeResponse) Descriptor() ([]byte, []int) { + return file_service_node_proto_rawDescGZIP(), []int{27} +} + // 启动节点 type StartNodeRequest struct { state protoimpl.MessageState @@ -1417,7 +1503,7 @@ type StartNodeRequest struct { func (x *StartNodeRequest) Reset() { *x = StartNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[26] + mi := &file_service_node_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1430,7 +1516,7 @@ func (x *StartNodeRequest) String() string { func (*StartNodeRequest) ProtoMessage() {} func (x *StartNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[26] + mi := &file_service_node_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1443,7 +1529,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{26} + return file_service_node_proto_rawDescGZIP(), []int{28} } func (x *StartNodeRequest) GetNodeId() int64 { @@ -1465,7 +1551,7 @@ type StartNodeResponse struct { func (x *StartNodeResponse) Reset() { *x = StartNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[27] + mi := &file_service_node_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1478,7 +1564,7 @@ func (x *StartNodeResponse) String() string { func (*StartNodeResponse) ProtoMessage() {} func (x *StartNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[27] + mi := &file_service_node_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1491,7 +1577,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{27} + return file_service_node_proto_rawDescGZIP(), []int{29} } func (x *StartNodeResponse) GetIsOk() bool { @@ -1520,7 +1606,7 @@ type StopNodeRequest struct { func (x *StopNodeRequest) Reset() { *x = StopNodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[28] + mi := &file_service_node_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1533,7 +1619,7 @@ func (x *StopNodeRequest) String() string { func (*StopNodeRequest) ProtoMessage() {} func (x *StopNodeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[28] + mi := &file_service_node_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1546,7 +1632,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{28} + return file_service_node_proto_rawDescGZIP(), []int{30} } func (x *StopNodeRequest) GetNodeId() int64 { @@ -1568,7 +1654,7 @@ type StopNodeResponse struct { func (x *StopNodeResponse) Reset() { *x = StopNodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[29] + mi := &file_service_node_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1581,7 +1667,7 @@ func (x *StopNodeResponse) String() string { func (*StopNodeResponse) ProtoMessage() {} func (x *StopNodeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[29] + mi := &file_service_node_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1594,7 +1680,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{29} + return file_service_node_proto_rawDescGZIP(), []int{31} } func (x *StopNodeResponse) GetIsOk() bool { @@ -1623,7 +1709,7 @@ type UpdateNodeConnectedAPINodesRequest struct { func (x *UpdateNodeConnectedAPINodesRequest) Reset() { *x = UpdateNodeConnectedAPINodesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[30] + mi := &file_service_node_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1636,7 +1722,7 @@ func (x *UpdateNodeConnectedAPINodesRequest) String() string { func (*UpdateNodeConnectedAPINodesRequest) ProtoMessage() {} func (x *UpdateNodeConnectedAPINodesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[30] + mi := &file_service_node_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1649,7 +1735,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{30} + return file_service_node_proto_rawDescGZIP(), []int{32} } func (x *UpdateNodeConnectedAPINodesRequest) GetApiNodeIds() []int64 { @@ -1671,7 +1757,7 @@ type CountAllEnabledNodesWithGrantIdRequest struct { func (x *CountAllEnabledNodesWithGrantIdRequest) Reset() { *x = CountAllEnabledNodesWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[31] + mi := &file_service_node_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1684,7 +1770,7 @@ func (x *CountAllEnabledNodesWithGrantIdRequest) String() string { func (*CountAllEnabledNodesWithGrantIdRequest) ProtoMessage() {} func (x *CountAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[31] + mi := &file_service_node_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1697,7 +1783,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{31} + return file_service_node_proto_rawDescGZIP(), []int{33} } func (x *CountAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 { @@ -1718,7 +1804,7 @@ type CountAllEnabledNodesWithGrantIdResponse struct { func (x *CountAllEnabledNodesWithGrantIdResponse) Reset() { *x = CountAllEnabledNodesWithGrantIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[32] + mi := &file_service_node_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1731,7 +1817,7 @@ func (x *CountAllEnabledNodesWithGrantIdResponse) String() string { func (*CountAllEnabledNodesWithGrantIdResponse) ProtoMessage() {} func (x *CountAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[32] + mi := &file_service_node_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1744,7 +1830,7 @@ func (x *CountAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Me // Deprecated: Use CountAllEnabledNodesWithGrantIdResponse.ProtoReflect.Descriptor instead. func (*CountAllEnabledNodesWithGrantIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{32} + return file_service_node_proto_rawDescGZIP(), []int{34} } func (x *CountAllEnabledNodesWithGrantIdResponse) GetCount() int64 { @@ -1766,7 +1852,7 @@ type FindAllEnabledNodesWithGrantIdRequest struct { func (x *FindAllEnabledNodesWithGrantIdRequest) Reset() { *x = FindAllEnabledNodesWithGrantIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[33] + mi := &file_service_node_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1779,7 +1865,7 @@ func (x *FindAllEnabledNodesWithGrantIdRequest) String() string { func (*FindAllEnabledNodesWithGrantIdRequest) ProtoMessage() {} func (x *FindAllEnabledNodesWithGrantIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[33] + mi := &file_service_node_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1792,7 +1878,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{33} + return file_service_node_proto_rawDescGZIP(), []int{35} } func (x *FindAllEnabledNodesWithGrantIdRequest) GetGrantId() int64 { @@ -1813,7 +1899,7 @@ type FindAllEnabledNodesWithGrantIdResponse struct { func (x *FindAllEnabledNodesWithGrantIdResponse) Reset() { *x = FindAllEnabledNodesWithGrantIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[34] + mi := &file_service_node_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1826,7 +1912,7 @@ func (x *FindAllEnabledNodesWithGrantIdResponse) String() string { func (*FindAllEnabledNodesWithGrantIdResponse) ProtoMessage() {} func (x *FindAllEnabledNodesWithGrantIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[34] + mi := &file_service_node_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1839,7 +1925,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{34} + return file_service_node_proto_rawDescGZIP(), []int{36} } func (x *FindAllEnabledNodesWithGrantIdResponse) GetNodes() []*Node { @@ -1861,7 +1947,7 @@ type FindAllNotInstalledNodesWithClusterIdRequest struct { func (x *FindAllNotInstalledNodesWithClusterIdRequest) Reset() { *x = FindAllNotInstalledNodesWithClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[35] + mi := &file_service_node_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1874,7 +1960,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdRequest) String() string { func (*FindAllNotInstalledNodesWithClusterIdRequest) ProtoMessage() {} func (x *FindAllNotInstalledNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[35] + mi := &file_service_node_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1887,7 +1973,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdRequest) ProtoReflect() protorefle // Deprecated: Use FindAllNotInstalledNodesWithClusterIdRequest.ProtoReflect.Descriptor instead. func (*FindAllNotInstalledNodesWithClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{35} + return file_service_node_proto_rawDescGZIP(), []int{37} } func (x *FindAllNotInstalledNodesWithClusterIdRequest) GetClusterId() int64 { @@ -1908,7 +1994,7 @@ type FindAllNotInstalledNodesWithClusterIdResponse struct { func (x *FindAllNotInstalledNodesWithClusterIdResponse) Reset() { *x = FindAllNotInstalledNodesWithClusterIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[36] + mi := &file_service_node_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1921,7 +2007,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdResponse) String() string { func (*FindAllNotInstalledNodesWithClusterIdResponse) ProtoMessage() {} func (x *FindAllNotInstalledNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[36] + mi := &file_service_node_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1934,7 +2020,7 @@ func (x *FindAllNotInstalledNodesWithClusterIdResponse) ProtoReflect() protorefl // Deprecated: Use FindAllNotInstalledNodesWithClusterIdResponse.ProtoReflect.Descriptor instead. func (*FindAllNotInstalledNodesWithClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_node_proto_rawDescGZIP(), []int{36} + return file_service_node_proto_rawDescGZIP(), []int{38} } func (x *FindAllNotInstalledNodesWithClusterIdResponse) GetNodes() []*Node { @@ -1944,6 +2030,101 @@ func (x *FindAllNotInstalledNodesWithClusterIdResponse) GetNodes() []*Node { return nil } +// 列出所有需要升级的节点 +type FindAllUpgradeNodesWithClusterIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClusterId int64 `protobuf:"varint,1,opt,name=clusterId,proto3" json:"clusterId,omitempty"` +} + +func (x *FindAllUpgradeNodesWithClusterIdRequest) Reset() { + *x = FindAllUpgradeNodesWithClusterIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_node_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllUpgradeNodesWithClusterIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllUpgradeNodesWithClusterIdRequest) ProtoMessage() {} + +func (x *FindAllUpgradeNodesWithClusterIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_node_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 FindAllUpgradeNodesWithClusterIdRequest.ProtoReflect.Descriptor instead. +func (*FindAllUpgradeNodesWithClusterIdRequest) Descriptor() ([]byte, []int) { + return file_service_node_proto_rawDescGZIP(), []int{39} +} + +func (x *FindAllUpgradeNodesWithClusterIdRequest) GetClusterId() int64 { + if x != nil { + return x.ClusterId + } + return 0 +} + +type FindAllUpgradeNodesWithClusterIdResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nodes []*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse) Reset() { + *x = FindAllUpgradeNodesWithClusterIdResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_node_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllUpgradeNodesWithClusterIdResponse) ProtoMessage() {} + +func (x *FindAllUpgradeNodesWithClusterIdResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_node_proto_msgTypes[40] + 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 FindAllUpgradeNodesWithClusterIdResponse.ProtoReflect.Descriptor instead. +func (*FindAllUpgradeNodesWithClusterIdResponse) Descriptor() ([]byte, []int) { + return file_service_node_proto_rawDescGZIP(), []int{40} +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse) GetNodes() []*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade { + if x != nil { + return x.Nodes + } + return nil +} + // 读取节点安装状态 type FindNodeInstallStatusRequest struct { state protoimpl.MessageState @@ -1956,7 +2137,7 @@ type FindNodeInstallStatusRequest struct { func (x *FindNodeInstallStatusRequest) Reset() { *x = FindNodeInstallStatusRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[37] + mi := &file_service_node_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1969,7 +2150,7 @@ func (x *FindNodeInstallStatusRequest) String() string { func (*FindNodeInstallStatusRequest) ProtoMessage() {} func (x *FindNodeInstallStatusRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[37] + mi := &file_service_node_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1982,7 +2163,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{37} + return file_service_node_proto_rawDescGZIP(), []int{41} } func (x *FindNodeInstallStatusRequest) GetNodeId() int64 { @@ -2003,7 +2184,7 @@ type FindNodeInstallStatusResponse struct { func (x *FindNodeInstallStatusResponse) Reset() { *x = FindNodeInstallStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[38] + mi := &file_service_node_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2016,7 +2197,7 @@ func (x *FindNodeInstallStatusResponse) String() string { func (*FindNodeInstallStatusResponse) ProtoMessage() {} func (x *FindNodeInstallStatusResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[38] + mi := &file_service_node_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2029,7 +2210,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{38} + return file_service_node_proto_rawDescGZIP(), []int{42} } func (x *FindNodeInstallStatusResponse) GetInstallStatus() *NodeInstallStatus { @@ -2052,7 +2233,7 @@ type UpdateNodeLoginRequest struct { func (x *UpdateNodeLoginRequest) Reset() { *x = UpdateNodeLoginRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_node_proto_msgTypes[39] + mi := &file_service_node_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2065,7 +2246,7 @@ func (x *UpdateNodeLoginRequest) String() string { func (*UpdateNodeLoginRequest) ProtoMessage() {} func (x *UpdateNodeLoginRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_node_proto_msgTypes[39] + mi := &file_service_node_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2078,7 +2259,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{39} + return file_service_node_proto_rawDescGZIP(), []int{43} } func (x *UpdateNodeLoginRequest) GetNodeId() int64 { @@ -2095,6 +2276,85 @@ func (x *UpdateNodeLoginRequest) GetLogin() *NodeLogin { return nil } +type FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` + Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` + Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` + OldVersion string `protobuf:"bytes,4,opt,name=oldVersion,proto3" json:"oldVersion,omitempty"` + NewVersion string `protobuf:"bytes,5,opt,name=newVersion,proto3" json:"newVersion,omitempty"` +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Reset() { + *x = FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade{} + if protoimpl.UnsafeEnabled { + mi := &file_service_node_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoMessage() {} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) ProtoReflect() protoreflect.Message { + mi := &file_service_node_proto_msgTypes[44] + 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 FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade.ProtoReflect.Descriptor instead. +func (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) Descriptor() ([]byte, []int) { + return file_service_node_proto_rawDescGZIP(), []int{40, 0} +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetNode() *Node { + if x != nil { + return x.Node + } + return nil +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetOs() string { + if x != nil { + return x.Os + } + return "" +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetArch() string { + if x != nil { + return x.Arch + } + return "" +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetOldVersion() string { + if x != nil { + return x.OldVersion + } + return "" +} + +func (x *FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade) GetNewVersion() string { + if x != nil { + return x.NewVersion + } + return "" +} + var File_service_node_proto protoreflect.FileDescriptor var file_service_node_proto_rawDesc = []byte{ @@ -2229,198 +2489,235 @@ var file_service_node_proto_rawDesc = []byte{ 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, 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, 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, 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, 0x32, 0x9d, 0x10, 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, 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, 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, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x73, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 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, 0x12, 0x2b, 0x2e, - 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 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, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x62, 0x2e, + 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, 0x32, 0xdc, + 0x11, 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, 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, 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, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 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, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x20, 0x66, 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, 0x12, 0x2b, 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, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 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, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x50, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, - 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x4e, - 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, - 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x28, 0x01, 0x30, - 0x01, 0x12, 0x41, 0x0a, 0x11, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x54, 0x6f, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, - 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, - 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x73, - 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, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, - 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, 0x1a, 0x27, 0x2e, 0x70, 0x62, 0x2e, 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, 0x12, 0x4f, 0x0a, 0x15, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 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, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, - 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x4e, 0x6f, - 0x64, 0x65, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, - 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, - 0x1b, 0x75, 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, 0x12, 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, 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, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 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, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, + 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 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, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, + 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x15, 0x2e, 0x70, + 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x41, + 0x0a, 0x11, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x54, 0x6f, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x45, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 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, 0x73, 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, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 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, 0x1a, + 0x27, 0x2e, 0x70, 0x62, 0x2e, 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, 0x12, 0x4f, 0x0a, 0x15, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, + 0x64, 0x12, 0x20, 0x2e, 0x70, 0x62, 0x2e, 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, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x75, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, + 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x64, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, + 0x62, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x12, + 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x1b, 0x75, 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, 0x12, 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, 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, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 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, 0x42, 0x06, 0x5a, + 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2435,116 +2732,127 @@ func file_service_node_proto_rawDescGZIP() []byte { return file_service_node_proto_rawDescData } -var file_service_node_proto_msgTypes = make([]protoimpl.MessageInfo, 40) +var file_service_node_proto_msgTypes = make([]protoimpl.MessageInfo, 45) 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 - (*ComposeNodeConfigRequest)(nil), // 15: pb.ComposeNodeConfigRequest - (*ComposeNodeConfigResponse)(nil), // 16: pb.ComposeNodeConfigResponse - (*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 - (*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 - (*CountAllEnabledNodesWithGrantIdResponse)(nil), // 32: pb.CountAllEnabledNodesWithGrantIdResponse - (*FindAllEnabledNodesWithGrantIdRequest)(nil), // 33: pb.FindAllEnabledNodesWithGrantIdRequest - (*FindAllEnabledNodesWithGrantIdResponse)(nil), // 34: pb.FindAllEnabledNodesWithGrantIdResponse - (*FindAllNotInstalledNodesWithClusterIdRequest)(nil), // 35: pb.FindAllNotInstalledNodesWithClusterIdRequest - (*FindAllNotInstalledNodesWithClusterIdResponse)(nil), // 36: pb.FindAllNotInstalledNodesWithClusterIdResponse - (*FindNodeInstallStatusRequest)(nil), // 37: pb.FindNodeInstallStatusRequest - (*FindNodeInstallStatusResponse)(nil), // 38: pb.FindNodeInstallStatusResponse - (*UpdateNodeLoginRequest)(nil), // 39: pb.UpdateNodeLoginRequest - (*NodeLogin)(nil), // 40: pb.NodeLogin - (*Node)(nil), // 41: pb.Node - (*NodeInstallStatus)(nil), // 42: pb.NodeInstallStatus - (*RPCUpdateSuccess)(nil), // 43: pb.RPCUpdateSuccess + (*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 + (*ComposeNodeConfigRequest)(nil), // 15: pb.ComposeNodeConfigRequest + (*ComposeNodeConfigResponse)(nil), // 16: pb.ComposeNodeConfigResponse + (*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 + (*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade)(nil), // 44: pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade + (*NodeLogin)(nil), // 45: pb.NodeLogin + (*Node)(nil), // 46: pb.Node + (*NodeInstallStatus)(nil), // 47: pb.NodeInstallStatus + (*RPCUpdateSuccess)(nil), // 48: pb.RPCUpdateSuccess } var file_service_node_proto_depIdxs = []int32{ - 40, // 0: pb.CreateNodeRequest.Login:type_name -> pb.NodeLogin - 41, // 1: pb.ListEnabledNodesMatchResponse.nodes:type_name -> pb.Node - 41, // 2: pb.FindAllEnabledNodesWithClusterIdResponse.nodes:type_name -> pb.Node - 40, // 3: pb.UpdateNodeRequest.Login:type_name -> pb.NodeLogin - 41, // 4: pb.FindEnabledNodeResponse.node:type_name -> pb.Node - 41, // 5: pb.FindAllEnabledNodesWithGrantIdResponse.nodes:type_name -> pb.Node - 41, // 6: pb.FindAllNotInstalledNodesWithClusterIdResponse.nodes:type_name -> pb.Node - 42, // 7: pb.FindNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus - 40, // 8: pb.UpdateNodeLoginRequest.Login:type_name -> pb.NodeLogin - 0, // 9: pb.NodeService.createNode:input_type -> pb.CreateNodeRequest - 2, // 10: pb.NodeService.registerClusterNode:input_type -> pb.RegisterClusterNodeRequest - 4, // 11: pb.NodeService.countAllEnabledNodes:input_type -> pb.CountAllEnabledNodesRequest - 21, // 12: pb.NodeService.countAllEnabledNodesMatch:input_type -> pb.CountAllEnabledNodesMatchRequest - 6, // 13: pb.NodeService.listEnabledNodesMatch:input_type -> pb.ListEnabledNodesMatchRequest - 8, // 14: pb.NodeService.findAllEnabledNodesWithClusterId:input_type -> pb.FindAllEnabledNodesWithClusterIdRequest - 10, // 15: pb.NodeService.disableNode:input_type -> pb.DisableNodeRequest - 12, // 16: pb.NodeService.updateNode:input_type -> pb.UpdateNodeRequest - 13, // 17: pb.NodeService.findEnabledNode:input_type -> pb.FindEnabledNodeRequest - 15, // 18: pb.NodeService.composeNodeConfig:input_type -> pb.ComposeNodeConfigRequest - 17, // 19: pb.NodeService.nodeStream:input_type -> pb.NodeStreamMessage - 17, // 20: pb.NodeService.sendCommandToNode:input_type -> pb.NodeStreamMessage - 18, // 21: pb.NodeService.updateNodeStatus:input_type -> pb.UpdateNodeStatusRequest - 19, // 22: pb.NodeService.syncNodesVersionWithCluster:input_type -> pb.SyncNodesVersionWithClusterRequest - 23, // 23: pb.NodeService.updateNodeIsInstalled:input_type -> pb.UpdateNodeIsInstalledRequest - 24, // 24: pb.NodeService.installNode:input_type -> pb.InstallNodeRequest - 26, // 25: pb.NodeService.startNode:input_type -> pb.StartNodeRequest - 28, // 26: pb.NodeService.stopNode:input_type -> pb.StopNodeRequest - 30, // 27: pb.NodeService.updateNodeConnectedAPINodes:input_type -> pb.UpdateNodeConnectedAPINodesRequest - 31, // 28: pb.NodeService.countAllEnabledNodesWithGrantId:input_type -> pb.CountAllEnabledNodesWithGrantIdRequest - 33, // 29: pb.NodeService.findAllEnabledNodesWithGrantId:input_type -> pb.FindAllEnabledNodesWithGrantIdRequest - 35, // 30: pb.NodeService.findAllNotInstalledNodesWithClusterId:input_type -> pb.FindAllNotInstalledNodesWithClusterIdRequest - 37, // 31: pb.NodeService.findNodeInstallStatus:input_type -> pb.FindNodeInstallStatusRequest - 39, // 32: pb.NodeService.updateNodeLogin:input_type -> pb.UpdateNodeLoginRequest - 1, // 33: pb.NodeService.createNode:output_type -> pb.CreateNodeResponse - 3, // 34: pb.NodeService.registerClusterNode:output_type -> pb.RegisterClusterNodeResponse - 5, // 35: pb.NodeService.countAllEnabledNodes:output_type -> pb.CountAllEnabledNodesResponse - 22, // 36: pb.NodeService.countAllEnabledNodesMatch:output_type -> pb.CountAllEnabledNodesMatchResponse - 7, // 37: pb.NodeService.listEnabledNodesMatch:output_type -> pb.ListEnabledNodesMatchResponse - 9, // 38: pb.NodeService.findAllEnabledNodesWithClusterId:output_type -> pb.FindAllEnabledNodesWithClusterIdResponse - 11, // 39: pb.NodeService.disableNode:output_type -> pb.DisableNodeResponse - 43, // 40: pb.NodeService.updateNode:output_type -> pb.RPCUpdateSuccess - 14, // 41: pb.NodeService.findEnabledNode:output_type -> pb.FindEnabledNodeResponse - 16, // 42: pb.NodeService.composeNodeConfig:output_type -> pb.ComposeNodeConfigResponse - 17, // 43: pb.NodeService.nodeStream:output_type -> pb.NodeStreamMessage - 17, // 44: pb.NodeService.sendCommandToNode:output_type -> pb.NodeStreamMessage - 43, // 45: pb.NodeService.updateNodeStatus:output_type -> pb.RPCUpdateSuccess - 20, // 46: pb.NodeService.syncNodesVersionWithCluster:output_type -> pb.SyncNodesVersionWithClusterResponse - 43, // 47: pb.NodeService.updateNodeIsInstalled:output_type -> pb.RPCUpdateSuccess - 25, // 48: pb.NodeService.installNode:output_type -> pb.InstallNodeResponse - 27, // 49: pb.NodeService.startNode:output_type -> pb.StartNodeResponse - 29, // 50: pb.NodeService.stopNode:output_type -> pb.StopNodeResponse - 43, // 51: pb.NodeService.updateNodeConnectedAPINodes:output_type -> pb.RPCUpdateSuccess - 32, // 52: pb.NodeService.countAllEnabledNodesWithGrantId:output_type -> pb.CountAllEnabledNodesWithGrantIdResponse - 34, // 53: pb.NodeService.findAllEnabledNodesWithGrantId:output_type -> pb.FindAllEnabledNodesWithGrantIdResponse - 36, // 54: pb.NodeService.findAllNotInstalledNodesWithClusterId:output_type -> pb.FindAllNotInstalledNodesWithClusterIdResponse - 38, // 55: pb.NodeService.findNodeInstallStatus:output_type -> pb.FindNodeInstallStatusResponse - 43, // 56: pb.NodeService.updateNodeLogin:output_type -> pb.RPCUpdateSuccess - 33, // [33:57] is the sub-list for method output_type - 9, // [9:33] 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 + 45, // 0: pb.CreateNodeRequest.Login:type_name -> pb.NodeLogin + 46, // 1: pb.ListEnabledNodesMatchResponse.nodes:type_name -> pb.Node + 46, // 2: pb.FindAllEnabledNodesWithClusterIdResponse.nodes:type_name -> pb.Node + 45, // 3: pb.UpdateNodeRequest.Login:type_name -> pb.NodeLogin + 46, // 4: pb.FindEnabledNodeResponse.node:type_name -> pb.Node + 46, // 5: pb.FindAllEnabledNodesWithGrantIdResponse.nodes:type_name -> pb.Node + 46, // 6: pb.FindAllNotInstalledNodesWithClusterIdResponse.nodes:type_name -> pb.Node + 44, // 7: pb.FindAllUpgradeNodesWithClusterIdResponse.nodes:type_name -> pb.FindAllUpgradeNodesWithClusterIdResponse.NodeUpgrade + 47, // 8: pb.FindNodeInstallStatusResponse.installStatus:type_name -> pb.NodeInstallStatus + 45, // 9: pb.UpdateNodeLoginRequest.Login:type_name -> pb.NodeLogin + 46, // 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.composeNodeConfig:input_type -> pb.ComposeNodeConfigRequest + 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 + 1, // 37: pb.NodeService.createNode:output_type -> pb.CreateNodeResponse + 3, // 38: pb.NodeService.registerClusterNode:output_type -> pb.RegisterClusterNodeResponse + 5, // 39: pb.NodeService.countAllEnabledNodes:output_type -> pb.CountAllEnabledNodesResponse + 22, // 40: pb.NodeService.countAllEnabledNodesMatch:output_type -> pb.CountAllEnabledNodesMatchResponse + 7, // 41: pb.NodeService.listEnabledNodesMatch:output_type -> pb.ListEnabledNodesMatchResponse + 9, // 42: pb.NodeService.findAllEnabledNodesWithClusterId:output_type -> pb.FindAllEnabledNodesWithClusterIdResponse + 11, // 43: pb.NodeService.disableNode:output_type -> pb.DisableNodeResponse + 48, // 44: pb.NodeService.updateNode:output_type -> pb.RPCUpdateSuccess + 14, // 45: pb.NodeService.findEnabledNode:output_type -> pb.FindEnabledNodeResponse + 16, // 46: pb.NodeService.composeNodeConfig:output_type -> pb.ComposeNodeConfigResponse + 17, // 47: pb.NodeService.nodeStream:output_type -> pb.NodeStreamMessage + 17, // 48: pb.NodeService.sendCommandToNode:output_type -> pb.NodeStreamMessage + 48, // 49: pb.NodeService.updateNodeStatus:output_type -> pb.RPCUpdateSuccess + 20, // 50: pb.NodeService.syncNodesVersionWithCluster:output_type -> pb.SyncNodesVersionWithClusterResponse + 48, // 51: pb.NodeService.updateNodeIsInstalled:output_type -> pb.RPCUpdateSuccess + 25, // 52: pb.NodeService.installNode:output_type -> pb.InstallNodeResponse + 27, // 53: pb.NodeService.upgradeNode:output_type -> pb.UpgradeNodeResponse + 29, // 54: pb.NodeService.startNode:output_type -> pb.StartNodeResponse + 31, // 55: pb.NodeService.stopNode:output_type -> pb.StopNodeResponse + 48, // 56: pb.NodeService.updateNodeConnectedAPINodes:output_type -> pb.RPCUpdateSuccess + 34, // 57: pb.NodeService.countAllEnabledNodesWithGrantId:output_type -> pb.CountAllEnabledNodesWithGrantIdResponse + 36, // 58: pb.NodeService.findAllEnabledNodesWithGrantId:output_type -> pb.FindAllEnabledNodesWithGrantIdResponse + 38, // 59: pb.NodeService.findAllNotInstalledNodesWithClusterId:output_type -> pb.FindAllNotInstalledNodesWithClusterIdResponse + 40, // 60: pb.NodeService.findAllUpgradeNodesWithClusterId:output_type -> pb.FindAllUpgradeNodesWithClusterIdResponse + 42, // 61: pb.NodeService.findNodeInstallStatus:output_type -> pb.FindNodeInstallStatusResponse + 48, // 62: pb.NodeService.updateNodeLogin:output_type -> pb.RPCUpdateSuccess + 37, // [37:63] is the sub-list for method output_type + 11, // [11:37] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name } func init() { file_service_node_proto_init() } @@ -2870,7 +3178,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodeRequest); i { + switch v := v.(*UpgradeNodeRequest); i { case 0: return &v.state case 1: @@ -2882,7 +3190,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartNodeResponse); i { + switch v := v.(*UpgradeNodeResponse); i { case 0: return &v.state case 1: @@ -2894,7 +3202,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodeRequest); i { + switch v := v.(*StartNodeRequest); i { case 0: return &v.state case 1: @@ -2906,7 +3214,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopNodeResponse); i { + switch v := v.(*StartNodeResponse); i { case 0: return &v.state case 1: @@ -2918,7 +3226,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNodeConnectedAPINodesRequest); i { + switch v := v.(*StopNodeRequest); i { case 0: return &v.state case 1: @@ -2930,7 +3238,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesWithGrantIdRequest); i { + switch v := v.(*StopNodeResponse); i { case 0: return &v.state case 1: @@ -2942,7 +3250,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledNodesWithGrantIdResponse); i { + switch v := v.(*UpdateNodeConnectedAPINodesRequest); i { case 0: return &v.state case 1: @@ -2954,7 +3262,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledNodesWithGrantIdRequest); i { + switch v := v.(*CountAllEnabledNodesWithGrantIdRequest); i { case 0: return &v.state case 1: @@ -2966,7 +3274,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledNodesWithGrantIdResponse); i { + switch v := v.(*CountAllEnabledNodesWithGrantIdResponse); i { case 0: return &v.state case 1: @@ -2978,7 +3286,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllNotInstalledNodesWithClusterIdRequest); i { + switch v := v.(*FindAllEnabledNodesWithGrantIdRequest); i { case 0: return &v.state case 1: @@ -2990,7 +3298,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllNotInstalledNodesWithClusterIdResponse); i { + switch v := v.(*FindAllEnabledNodesWithGrantIdResponse); i { case 0: return &v.state case 1: @@ -3002,7 +3310,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindNodeInstallStatusRequest); i { + switch v := v.(*FindAllNotInstalledNodesWithClusterIdRequest); i { case 0: return &v.state case 1: @@ -3014,7 +3322,7 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindNodeInstallStatusResponse); i { + switch v := v.(*FindAllNotInstalledNodesWithClusterIdResponse); i { case 0: return &v.state case 1: @@ -3026,6 +3334,54 @@ func file_service_node_proto_init() { } } file_service_node_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllUpgradeNodesWithClusterIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_node_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_node_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindNodeInstallStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_node_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindNodeInstallStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_node_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateNodeLoginRequest); i { case 0: return &v.state @@ -3037,6 +3393,18 @@ func file_service_node_proto_init() { return nil } } + file_service_node_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllUpgradeNodesWithClusterIdResponse_NodeUpgrade); 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{ @@ -3044,7 +3412,7 @@ func file_service_node_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_node_proto_rawDesc, NumEnums: 0, - NumMessages: 40, + NumMessages: 45, NumExtensions: 0, NumServices: 1, }, @@ -3102,6 +3470,8 @@ type NodeServiceClient interface { UpdateNodeIsInstalled(ctx context.Context, in *UpdateNodeIsInstalledRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) // 安装节点 InstallNode(ctx context.Context, in *InstallNodeRequest, opts ...grpc.CallOption) (*InstallNodeResponse, error) + // 升级节点 + UpgradeNode(ctx context.Context, in *UpgradeNodeRequest, opts ...grpc.CallOption) (*UpgradeNodeResponse, error) // 启动节点 StartNode(ctx context.Context, in *StartNodeRequest, opts ...grpc.CallOption) (*StartNodeResponse, error) // 停止节点 @@ -3114,6 +3484,8 @@ type NodeServiceClient interface { FindAllEnabledNodesWithGrantId(ctx context.Context, in *FindAllEnabledNodesWithGrantIdRequest, opts ...grpc.CallOption) (*FindAllEnabledNodesWithGrantIdResponse, error) // 列出所有未安装的节点 FindAllNotInstalledNodesWithClusterId(ctx context.Context, in *FindAllNotInstalledNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllNotInstalledNodesWithClusterIdResponse, error) + // 列出所有需要升级的节点 + FindAllUpgradeNodesWithClusterId(ctx context.Context, in *FindAllUpgradeNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllUpgradeNodesWithClusterIdResponse, error) // 读取节点安装状态 FindNodeInstallStatus(ctx context.Context, in *FindNodeInstallStatusRequest, opts ...grpc.CallOption) (*FindNodeInstallStatusResponse, error) // 修改节点登录信息 @@ -3294,6 +3666,15 @@ func (c *nodeServiceClient) InstallNode(ctx context.Context, in *InstallNodeRequ return out, nil } +func (c *nodeServiceClient) UpgradeNode(ctx context.Context, in *UpgradeNodeRequest, opts ...grpc.CallOption) (*UpgradeNodeResponse, error) { + out := new(UpgradeNodeResponse) + err := c.cc.Invoke(ctx, "/pb.NodeService/upgradeNode", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *nodeServiceClient) StartNode(ctx context.Context, in *StartNodeRequest, opts ...grpc.CallOption) (*StartNodeResponse, error) { out := new(StartNodeResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/startNode", in, out, opts...) @@ -3348,6 +3729,15 @@ func (c *nodeServiceClient) FindAllNotInstalledNodesWithClusterId(ctx context.Co return out, nil } +func (c *nodeServiceClient) FindAllUpgradeNodesWithClusterId(ctx context.Context, in *FindAllUpgradeNodesWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllUpgradeNodesWithClusterIdResponse, error) { + out := new(FindAllUpgradeNodesWithClusterIdResponse) + err := c.cc.Invoke(ctx, "/pb.NodeService/findAllUpgradeNodesWithClusterId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *nodeServiceClient) FindNodeInstallStatus(ctx context.Context, in *FindNodeInstallStatusRequest, opts ...grpc.CallOption) (*FindNodeInstallStatusResponse, error) { out := new(FindNodeInstallStatusResponse) err := c.cc.Invoke(ctx, "/pb.NodeService/findNodeInstallStatus", in, out, opts...) @@ -3400,6 +3790,8 @@ type NodeServiceServer interface { UpdateNodeIsInstalled(context.Context, *UpdateNodeIsInstalledRequest) (*RPCUpdateSuccess, error) // 安装节点 InstallNode(context.Context, *InstallNodeRequest) (*InstallNodeResponse, error) + // 升级节点 + UpgradeNode(context.Context, *UpgradeNodeRequest) (*UpgradeNodeResponse, error) // 启动节点 StartNode(context.Context, *StartNodeRequest) (*StartNodeResponse, error) // 停止节点 @@ -3412,6 +3804,8 @@ type NodeServiceServer interface { FindAllEnabledNodesWithGrantId(context.Context, *FindAllEnabledNodesWithGrantIdRequest) (*FindAllEnabledNodesWithGrantIdResponse, error) // 列出所有未安装的节点 FindAllNotInstalledNodesWithClusterId(context.Context, *FindAllNotInstalledNodesWithClusterIdRequest) (*FindAllNotInstalledNodesWithClusterIdResponse, error) + // 列出所有需要升级的节点 + FindAllUpgradeNodesWithClusterId(context.Context, *FindAllUpgradeNodesWithClusterIdRequest) (*FindAllUpgradeNodesWithClusterIdResponse, error) // 读取节点安装状态 FindNodeInstallStatus(context.Context, *FindNodeInstallStatusRequest) (*FindNodeInstallStatusResponse, error) // 修改节点登录信息 @@ -3470,6 +3864,9 @@ func (*UnimplementedNodeServiceServer) UpdateNodeIsInstalled(context.Context, *U func (*UnimplementedNodeServiceServer) InstallNode(context.Context, *InstallNodeRequest) (*InstallNodeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InstallNode not implemented") } +func (*UnimplementedNodeServiceServer) UpgradeNode(context.Context, *UpgradeNodeRequest) (*UpgradeNodeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpgradeNode not implemented") +} func (*UnimplementedNodeServiceServer) StartNode(context.Context, *StartNodeRequest) (*StartNodeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StartNode not implemented") } @@ -3488,6 +3885,9 @@ func (*UnimplementedNodeServiceServer) FindAllEnabledNodesWithGrantId(context.Co func (*UnimplementedNodeServiceServer) FindAllNotInstalledNodesWithClusterId(context.Context, *FindAllNotInstalledNodesWithClusterIdRequest) (*FindAllNotInstalledNodesWithClusterIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAllNotInstalledNodesWithClusterId not implemented") } +func (*UnimplementedNodeServiceServer) FindAllUpgradeNodesWithClusterId(context.Context, *FindAllUpgradeNodesWithClusterIdRequest) (*FindAllUpgradeNodesWithClusterIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAllUpgradeNodesWithClusterId not implemented") +} func (*UnimplementedNodeServiceServer) FindNodeInstallStatus(context.Context, *FindNodeInstallStatusRequest) (*FindNodeInstallStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindNodeInstallStatus not implemented") } @@ -3795,6 +4195,24 @@ func _NodeService_InstallNode_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _NodeService_UpgradeNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpgradeNodeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NodeServiceServer).UpgradeNode(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.NodeService/UpgradeNode", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NodeServiceServer).UpgradeNode(ctx, req.(*UpgradeNodeRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _NodeService_StartNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(StartNodeRequest) if err := dec(in); err != nil { @@ -3903,6 +4321,24 @@ func _NodeService_FindAllNotInstalledNodesWithClusterId_Handler(srv interface{}, return interceptor(ctx, in, info, handler) } +func _NodeService_FindAllUpgradeNodesWithClusterId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindAllUpgradeNodesWithClusterIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NodeServiceServer).FindAllUpgradeNodesWithClusterId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.NodeService/FindAllUpgradeNodesWithClusterId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NodeServiceServer).FindAllUpgradeNodesWithClusterId(ctx, req.(*FindAllUpgradeNodesWithClusterIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _NodeService_FindNodeInstallStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindNodeInstallStatusRequest) if err := dec(in); err != nil { @@ -4003,6 +4439,10 @@ var _NodeService_serviceDesc = grpc.ServiceDesc{ MethodName: "installNode", Handler: _NodeService_InstallNode_Handler, }, + { + MethodName: "upgradeNode", + Handler: _NodeService_UpgradeNode_Handler, + }, { MethodName: "startNode", Handler: _NodeService_StartNode_Handler, @@ -4027,6 +4467,10 @@ var _NodeService_serviceDesc = grpc.ServiceDesc{ MethodName: "findAllNotInstalledNodesWithClusterId", Handler: _NodeService_FindAllNotInstalledNodesWithClusterId_Handler, }, + { + MethodName: "findAllUpgradeNodesWithClusterId", + Handler: _NodeService_FindAllUpgradeNodesWithClusterId_Handler, + }, { MethodName: "findNodeInstallStatus", Handler: _NodeService_FindNodeInstallStatus_Handler, diff --git a/pkg/rpc/protos/service_node.proto b/pkg/rpc/protos/service_node.proto index af6e172..0256fcd 100644 --- a/pkg/rpc/protos/service_node.proto +++ b/pkg/rpc/protos/service_node.proto @@ -57,6 +57,9 @@ service NodeService { // 安装节点 rpc installNode (InstallNodeRequest) returns (InstallNodeResponse); + // 升级节点 + rpc upgradeNode (UpgradeNodeRequest) returns (UpgradeNodeResponse); + // 启动节点 rpc startNode (StartNodeRequest) returns (StartNodeResponse); @@ -75,6 +78,9 @@ service NodeService { // 列出所有未安装的节点 rpc findAllNotInstalledNodesWithClusterId (FindAllNotInstalledNodesWithClusterIdRequest) returns (FindAllNotInstalledNodesWithClusterIdResponse); + // 列出所有需要升级的节点 + rpc findAllUpgradeNodesWithClusterId (FindAllUpgradeNodesWithClusterIdRequest) returns (FindAllUpgradeNodesWithClusterIdResponse); + // 读取节点安装状态 rpc findNodeInstallStatus (FindNodeInstallStatusRequest) returns (FindNodeInstallStatusResponse); @@ -223,6 +229,14 @@ message InstallNodeResponse { } +// 升级节点 +message UpgradeNodeRequest { + int64 nodeId = 1; +} + +message UpgradeNodeResponse { +} + // 启动节点 message StartNodeRequest { int64 nodeId = 1; @@ -275,6 +289,23 @@ message FindAllNotInstalledNodesWithClusterIdResponse { repeated Node nodes = 1; } +// 列出所有需要升级的节点 +message FindAllUpgradeNodesWithClusterIdRequest { + int64 clusterId = 1; +} + +message FindAllUpgradeNodesWithClusterIdResponse { + repeated NodeUpgrade nodes = 1; + + message NodeUpgrade { + Node node = 1; + string os = 2; + string arch = 3; + string oldVersion = 4; + string newVersion = 5; + } +} + // 读取节点安装状态 message FindNodeInstallStatusRequest { int64 nodeId = 1;