From e7ff7ba45dceb60a1abb94357b58b74a574e3364 Mon Sep 17 00:00:00 2001 From: Mykola Kobets Date: Thu, 5 Sep 2024 11:45:44 +0300 Subject: [PATCH] [vendor] Vendor update for service required resources interface change Signed-off-by: Mykola Kobets --- go.mod | 2 +- go.sum | 4 +- .../aosedge/aos_common/aostypes/aostypes.go | 33 +- .../api/servicemanager/servicemanager.pb.go | 1101 +++++++++-------- .../resourcemonitor/resourcemonitor.go | 71 +- vendor/modules.txt | 2 +- 6 files changed, 612 insertions(+), 601 deletions(-) diff --git a/go.mod b/go.mod index da9bbd2c..6d644c73 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ replace github.com/anexia-it/fsquota => github.com/aosedge/fsquota v0.0.0-202311 require ( code.cloudfoundry.org/bytefmt v0.0.0-20231017140541-3b893ed0421b - github.com/aosedge/aos_common v0.0.0-20240919073545-c003861229df + github.com/aosedge/aos_common v0.0.0-20240920111133-bbcdc07c1664 github.com/apparentlymart/go-cidr v1.1.0 github.com/cavaliergopher/grab/v3 v3.0.1 github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf diff --git a/go.sum b/go.sum index 73f96cf1..5508f617 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ code.cloudfoundry.org/bytefmt v0.0.0-20231017140541-3b893ed0421b h1:/2OEIBwZAaJ8n8iTXrM4v/+bdyLDTLwcW6RZtkO4+r0= code.cloudfoundry.org/bytefmt v0.0.0-20231017140541-3b893ed0421b/go.mod h1:CKNYSQxmKcMCNIKoRG5rRR4AIgJMIoK65ya+Z5xHnk4= -github.com/aosedge/aos_common v0.0.0-20240919073545-c003861229df h1:9dD1t9oC7Qbig7KZVuWZX8a7Zi3NW3JKDmsoYPsOMbM= -github.com/aosedge/aos_common v0.0.0-20240919073545-c003861229df/go.mod h1:CG/e1tQPMo2fvdwRHi+Cx5StpNURu7InTZSgyfmBVYM= +github.com/aosedge/aos_common v0.0.0-20240920111133-bbcdc07c1664 h1:AvwdHsdKR1hVIpa64RjC33Qy7Z5SB4CYqhv7C/tX8ug= +github.com/aosedge/aos_common v0.0.0-20240920111133-bbcdc07c1664/go.mod h1:CG/e1tQPMo2fvdwRHi+Cx5StpNURu7InTZSgyfmBVYM= github.com/aosedge/crypto11 v1.0.3-0.20220217163524-ddd0ace39e6f h1:xL5hA9axQFHnoVVF/Q8CkKl9JiTvA7U72jRDltMBB9M= github.com/aosedge/crypto11 v1.0.3-0.20220217163524-ddd0ace39e6f/go.mod h1:ILDKtnCKiQ7zRoNxcp36Y1ZR8LBPmR2E23+wTQe/MlE= github.com/aosedge/fsquota v0.0.0-20231127111317-842d831105a7 h1:KR+SuYXJ9HigUaJdUwRlkDOOpkCrliFF3liBVKu2GKY= diff --git a/vendor/github.com/aosedge/aos_common/aostypes/aostypes.go b/vendor/github.com/aosedge/aos_common/aostypes/aostypes.go index 3cc2c9b5..78800249 100644 --- a/vendor/github.com/aosedge/aos_common/aostypes/aostypes.go +++ b/vendor/github.com/aosedge/aos_common/aostypes/aostypes.go @@ -187,11 +187,11 @@ type PartitionAlertRule struct { // AlertRules define service monitoring alerts rules. type AlertRules struct { - RAM *AlertRulePercents `json:"ram,omitempty"` - CPU *AlertRulePercents `json:"cpu,omitempty"` - UsedDisks []PartitionAlertRule `json:"usedDisks,omitempty"` - Download *AlertRulePoints `json:"download,omitempty"` - Upload *AlertRulePoints `json:"upload,omitempty"` + RAM *AlertRulePercents `json:"ram,omitempty"` + CPU *AlertRulePercents `json:"cpu,omitempty"` + Partitions []PartitionAlertRule `json:"partitions,omitempty"` + Download *AlertRulePoints `json:"download,omitempty"` + Upload *AlertRulePoints `json:"upload,omitempty"` } // ResourceRatiosInfo resource ratios info. @@ -199,6 +199,15 @@ type ResourceRatiosInfo struct { CPU *float64 `json:"cpu"` RAM *float64 `json:"ram"` Storage *float64 `json:"storage"` + State *float64 `json:"state"` +} + +// RequestedResources requested service resources (in absolute values: dmips, bytes). +type RequestedResources struct { + CPU *uint64 `json:"cpu"` + RAM *uint64 `json:"ram"` + Storage *uint64 `json:"storage"` + State *uint64 `json:"state"` } // ServiceConfig Aos service configuration. @@ -212,7 +221,7 @@ type ServiceConfig struct { Sysctl map[string]string `json:"sysctl,omitempty"` OfflineTTL Duration `json:"offlineTtl,omitempty"` Quotas ServiceQuotas `json:"quotas"` - ResourceRatios *ResourceRatiosInfo `json:"resourceRatios"` + RequestedResources *RequestedResources `json:"requestedResources"` AllowedConnections map[string]struct{} `json:"allowedConnections,omitempty"` Devices []ServiceDevice `json:"devices,omitempty"` Resources []string `json:"resources,omitempty"` @@ -228,12 +237,12 @@ type PartitionUsage struct { // MonitoringData monitoring data. type MonitoringData struct { - Timestamp time.Time `json:"timestamp"` - RAM uint64 `json:"ram"` - CPU uint64 `json:"cpu"` - Download uint64 `json:"download"` - Upload uint64 `json:"upload"` - Disk []PartitionUsage `json:"disk"` + Timestamp time.Time `json:"timestamp"` + RAM uint64 `json:"ram"` + CPU uint64 `json:"cpu"` + Download uint64 `json:"download"` + Upload uint64 `json:"upload"` + Partitions []PartitionUsage `json:"partitions"` } type InstanceMonitoring struct { diff --git a/vendor/github.com/aosedge/aos_common/api/servicemanager/servicemanager.pb.go b/vendor/github.com/aosedge/aos_common/api/servicemanager/servicemanager.pb.go index dd864834..6b114fcd 100644 --- a/vendor/github.com/aosedge/aos_common/api/servicemanager/servicemanager.pb.go +++ b/vendor/github.com/aosedge/aos_common/api/servicemanager/servicemanager.pb.go @@ -1780,6 +1780,173 @@ func (x *ImageContent) GetData() []byte { return nil } +type Alert struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + // Types that are assignable to AlertItem: + // + // *Alert_SystemQuotaAlert + // *Alert_InstanceQuotaAlert + // *Alert_ResourceValidateAlert + // *Alert_DeviceAllocateAlert + // *Alert_SystemAlert + // *Alert_CoreAlert + // *Alert_InstanceAlert + AlertItem isAlert_AlertItem `protobuf_oneof:"AlertItem"` +} + +func (x *Alert) Reset() { + *x = Alert{} + if protoimpl.UnsafeEnabled { + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Alert) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Alert) ProtoMessage() {} + +func (x *Alert) ProtoReflect() protoreflect.Message { + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Alert.ProtoReflect.Descriptor instead. +func (*Alert) Descriptor() ([]byte, []int) { + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{24} +} + +func (x *Alert) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +func (x *Alert) GetTag() string { + if x != nil { + return x.Tag + } + return "" +} + +func (m *Alert) GetAlertItem() isAlert_AlertItem { + if m != nil { + return m.AlertItem + } + return nil +} + +func (x *Alert) GetSystemQuotaAlert() *SystemQuotaAlert { + if x, ok := x.GetAlertItem().(*Alert_SystemQuotaAlert); ok { + return x.SystemQuotaAlert + } + return nil +} + +func (x *Alert) GetInstanceQuotaAlert() *InstanceQuotaAlert { + if x, ok := x.GetAlertItem().(*Alert_InstanceQuotaAlert); ok { + return x.InstanceQuotaAlert + } + return nil +} + +func (x *Alert) GetResourceValidateAlert() *ResourceValidateAlert { + if x, ok := x.GetAlertItem().(*Alert_ResourceValidateAlert); ok { + return x.ResourceValidateAlert + } + return nil +} + +func (x *Alert) GetDeviceAllocateAlert() *DeviceAllocateAlert { + if x, ok := x.GetAlertItem().(*Alert_DeviceAllocateAlert); ok { + return x.DeviceAllocateAlert + } + return nil +} + +func (x *Alert) GetSystemAlert() *SystemAlert { + if x, ok := x.GetAlertItem().(*Alert_SystemAlert); ok { + return x.SystemAlert + } + return nil +} + +func (x *Alert) GetCoreAlert() *CoreAlert { + if x, ok := x.GetAlertItem().(*Alert_CoreAlert); ok { + return x.CoreAlert + } + return nil +} + +func (x *Alert) GetInstanceAlert() *InstanceAlert { + if x, ok := x.GetAlertItem().(*Alert_InstanceAlert); ok { + return x.InstanceAlert + } + return nil +} + +type isAlert_AlertItem interface { + isAlert_AlertItem() +} + +type Alert_SystemQuotaAlert struct { + SystemQuotaAlert *SystemQuotaAlert `protobuf:"bytes,3,opt,name=system_quota_alert,json=systemQuotaAlert,proto3,oneof"` +} + +type Alert_InstanceQuotaAlert struct { + InstanceQuotaAlert *InstanceQuotaAlert `protobuf:"bytes,4,opt,name=instance_quota_alert,json=instanceQuotaAlert,proto3,oneof"` +} + +type Alert_ResourceValidateAlert struct { + ResourceValidateAlert *ResourceValidateAlert `protobuf:"bytes,5,opt,name=resource_validate_alert,json=resourceValidateAlert,proto3,oneof"` +} + +type Alert_DeviceAllocateAlert struct { + DeviceAllocateAlert *DeviceAllocateAlert `protobuf:"bytes,6,opt,name=device_allocate_alert,json=deviceAllocateAlert,proto3,oneof"` +} + +type Alert_SystemAlert struct { + SystemAlert *SystemAlert `protobuf:"bytes,7,opt,name=system_alert,json=systemAlert,proto3,oneof"` +} + +type Alert_CoreAlert struct { + CoreAlert *CoreAlert `protobuf:"bytes,8,opt,name=core_alert,json=coreAlert,proto3,oneof"` +} + +type Alert_InstanceAlert struct { + InstanceAlert *InstanceAlert `protobuf:"bytes,9,opt,name=instance_alert,json=instanceAlert,proto3,oneof"` +} + +func (*Alert_SystemQuotaAlert) isAlert_AlertItem() {} + +func (*Alert_InstanceQuotaAlert) isAlert_AlertItem() {} + +func (*Alert_ResourceValidateAlert) isAlert_AlertItem() {} + +func (*Alert_DeviceAllocateAlert) isAlert_AlertItem() {} + +func (*Alert_SystemAlert) isAlert_AlertItem() {} + +func (*Alert_CoreAlert) isAlert_AlertItem() {} + +func (*Alert_InstanceAlert) isAlert_AlertItem() {} + type SMOutgoingMessages struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1803,7 +1970,7 @@ type SMOutgoingMessages struct { func (x *SMOutgoingMessages) Reset() { *x = SMOutgoingMessages{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[24] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1816,7 +1983,7 @@ func (x *SMOutgoingMessages) String() string { func (*SMOutgoingMessages) ProtoMessage() {} func (x *SMOutgoingMessages) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[24] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1829,7 +1996,7 @@ func (x *SMOutgoingMessages) ProtoReflect() protoreflect.Message { // Deprecated: Use SMOutgoingMessages.ProtoReflect.Descriptor instead. func (*SMOutgoingMessages) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{24} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{25} } func (m *SMOutgoingMessages) GetSMOutgoingMessage() isSMOutgoingMessages_SMOutgoingMessage { @@ -1986,7 +2153,7 @@ type Partition struct { func (x *Partition) Reset() { *x = Partition{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[25] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1999,7 +2166,7 @@ func (x *Partition) String() string { func (*Partition) ProtoMessage() {} func (x *Partition) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[25] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2012,7 +2179,7 @@ func (x *Partition) ProtoReflect() protoreflect.Message { // Deprecated: Use Partition.ProtoReflect.Descriptor instead. func (*Partition) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{25} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{26} } func (x *Partition) GetName() string { @@ -2050,7 +2217,7 @@ type NodeConfigStatus struct { func (x *NodeConfigStatus) Reset() { *x = NodeConfigStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[26] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2063,7 +2230,7 @@ func (x *NodeConfigStatus) String() string { func (*NodeConfigStatus) ProtoMessage() {} func (x *NodeConfigStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[26] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2076,7 +2243,7 @@ func (x *NodeConfigStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeConfigStatus.ProtoReflect.Descriptor instead. func (*NodeConfigStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{26} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{27} } func (x *NodeConfigStatus) GetNodeId() string { @@ -2118,7 +2285,7 @@ type RunInstancesStatus struct { func (x *RunInstancesStatus) Reset() { *x = RunInstancesStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[27] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2131,7 +2298,7 @@ func (x *RunInstancesStatus) String() string { func (*RunInstancesStatus) ProtoMessage() {} func (x *RunInstancesStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[27] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2144,7 +2311,7 @@ func (x *RunInstancesStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use RunInstancesStatus.ProtoReflect.Descriptor instead. func (*RunInstancesStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{27} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{28} } func (x *RunInstancesStatus) GetInstances() []*InstanceStatus { @@ -2165,7 +2332,7 @@ type UpdateInstancesStatus struct { func (x *UpdateInstancesStatus) Reset() { *x = UpdateInstancesStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[28] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2178,7 +2345,7 @@ func (x *UpdateInstancesStatus) String() string { func (*UpdateInstancesStatus) ProtoMessage() {} func (x *UpdateInstancesStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[28] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2191,7 +2358,7 @@ func (x *UpdateInstancesStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateInstancesStatus.ProtoReflect.Descriptor instead. func (*UpdateInstancesStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{28} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{29} } func (x *UpdateInstancesStatus) GetInstances() []*InstanceStatus { @@ -2215,7 +2382,7 @@ type InstanceStatus struct { func (x *InstanceStatus) Reset() { *x = InstanceStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[29] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2228,7 +2395,7 @@ func (x *InstanceStatus) String() string { func (*InstanceStatus) ProtoMessage() {} func (x *InstanceStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[29] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2241,7 +2408,7 @@ func (x *InstanceStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use InstanceStatus.ProtoReflect.Descriptor instead. func (*InstanceStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{29} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{30} } func (x *InstanceStatus) GetInstance() *common.InstanceIdent { @@ -2284,7 +2451,7 @@ type OverrideEnvVarStatus struct { func (x *OverrideEnvVarStatus) Reset() { *x = OverrideEnvVarStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[30] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2297,7 +2464,7 @@ func (x *OverrideEnvVarStatus) String() string { func (*OverrideEnvVarStatus) ProtoMessage() {} func (x *OverrideEnvVarStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[30] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2310,7 +2477,7 @@ func (x *OverrideEnvVarStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use OverrideEnvVarStatus.ProtoReflect.Descriptor instead. func (*OverrideEnvVarStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{30} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{31} } func (x *OverrideEnvVarStatus) GetEnvVarsStatus() []*EnvVarInstanceStatus { @@ -2339,7 +2506,7 @@ type EnvVarInstanceStatus struct { func (x *EnvVarInstanceStatus) Reset() { *x = EnvVarInstanceStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[31] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2352,7 +2519,7 @@ func (x *EnvVarInstanceStatus) String() string { func (*EnvVarInstanceStatus) ProtoMessage() {} func (x *EnvVarInstanceStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[31] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2365,7 +2532,7 @@ func (x *EnvVarInstanceStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use EnvVarInstanceStatus.ProtoReflect.Descriptor instead. func (*EnvVarInstanceStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{31} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{32} } func (x *EnvVarInstanceStatus) GetInstanceFilter() *InstanceFilter { @@ -2394,7 +2561,7 @@ type EnvVarStatus struct { func (x *EnvVarStatus) Reset() { *x = EnvVarStatus{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[32] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2407,7 +2574,7 @@ func (x *EnvVarStatus) String() string { func (*EnvVarStatus) ProtoMessage() {} func (x *EnvVarStatus) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[32] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2420,7 +2587,7 @@ func (x *EnvVarStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use EnvVarStatus.ProtoReflect.Descriptor instead. func (*EnvVarStatus) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{32} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{33} } func (x *EnvVarStatus) GetName() string { @@ -2453,7 +2620,7 @@ type LogData struct { func (x *LogData) Reset() { *x = LogData{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[33] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2466,7 +2633,7 @@ func (x *LogData) String() string { func (*LogData) ProtoMessage() {} func (x *LogData) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[33] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2479,7 +2646,7 @@ func (x *LogData) ProtoReflect() protoreflect.Message { // Deprecated: Use LogData.ProtoReflect.Descriptor instead. func (*LogData) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{33} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{34} } func (x *LogData) GetLogId() string { @@ -2536,7 +2703,7 @@ type InstantMonitoring struct { func (x *InstantMonitoring) Reset() { *x = InstantMonitoring{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[34] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2549,7 +2716,7 @@ func (x *InstantMonitoring) String() string { func (*InstantMonitoring) ProtoMessage() {} func (x *InstantMonitoring) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[34] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2562,7 +2729,7 @@ func (x *InstantMonitoring) ProtoReflect() protoreflect.Message { // Deprecated: Use InstantMonitoring.ProtoReflect.Descriptor instead. func (*InstantMonitoring) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{34} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{35} } func (x *InstantMonitoring) GetNodeMonitoring() *MonitoringData { @@ -2591,7 +2758,7 @@ type AverageMonitoring struct { func (x *AverageMonitoring) Reset() { *x = AverageMonitoring{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[35] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2604,7 +2771,7 @@ func (x *AverageMonitoring) String() string { func (*AverageMonitoring) ProtoMessage() {} func (x *AverageMonitoring) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[35] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2617,7 +2784,7 @@ func (x *AverageMonitoring) ProtoReflect() protoreflect.Message { // Deprecated: Use AverageMonitoring.ProtoReflect.Descriptor instead. func (*AverageMonitoring) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{35} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{36} } func (x *AverageMonitoring) GetNodeMonitoring() *MonitoringData { @@ -2639,18 +2806,18 @@ type MonitoringData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ram uint64 `protobuf:"varint,1,opt,name=ram,proto3" json:"ram,omitempty"` - Cpu uint64 `protobuf:"varint,2,opt,name=cpu,proto3" json:"cpu,omitempty"` - Disk []*PartitionUsage `protobuf:"bytes,3,rep,name=disk,proto3" json:"disk,omitempty"` - Download uint64 `protobuf:"varint,4,opt,name=download,proto3" json:"download,omitempty"` - Upload uint64 `protobuf:"varint,5,opt,name=upload,proto3" json:"upload,omitempty"` - Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Ram uint64 `protobuf:"varint,1,opt,name=ram,proto3" json:"ram,omitempty"` + Cpu uint64 `protobuf:"varint,2,opt,name=cpu,proto3" json:"cpu,omitempty"` + Partitions []*PartitionUsage `protobuf:"bytes,3,rep,name=partitions,proto3" json:"partitions,omitempty"` + Download uint64 `protobuf:"varint,4,opt,name=download,proto3" json:"download,omitempty"` + Upload uint64 `protobuf:"varint,5,opt,name=upload,proto3" json:"upload,omitempty"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } func (x *MonitoringData) Reset() { *x = MonitoringData{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[36] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2663,7 +2830,7 @@ func (x *MonitoringData) String() string { func (*MonitoringData) ProtoMessage() {} func (x *MonitoringData) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[36] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2676,7 +2843,7 @@ func (x *MonitoringData) ProtoReflect() protoreflect.Message { // Deprecated: Use MonitoringData.ProtoReflect.Descriptor instead. func (*MonitoringData) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{36} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{37} } func (x *MonitoringData) GetRam() uint64 { @@ -2693,9 +2860,9 @@ func (x *MonitoringData) GetCpu() uint64 { return 0 } -func (x *MonitoringData) GetDisk() []*PartitionUsage { +func (x *MonitoringData) GetPartitions() []*PartitionUsage { if x != nil { - return x.Disk + return x.Partitions } return nil } @@ -2733,7 +2900,7 @@ type PartitionUsage struct { func (x *PartitionUsage) Reset() { *x = PartitionUsage{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[37] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2746,7 +2913,7 @@ func (x *PartitionUsage) String() string { func (*PartitionUsage) ProtoMessage() {} func (x *PartitionUsage) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[37] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2759,7 +2926,7 @@ func (x *PartitionUsage) ProtoReflect() protoreflect.Message { // Deprecated: Use PartitionUsage.ProtoReflect.Descriptor instead. func (*PartitionUsage) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{37} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{38} } func (x *PartitionUsage) GetName() string { @@ -2788,7 +2955,7 @@ type InstanceMonitoring struct { func (x *InstanceMonitoring) Reset() { *x = InstanceMonitoring{} if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[38] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2801,7 +2968,7 @@ func (x *InstanceMonitoring) String() string { func (*InstanceMonitoring) ProtoMessage() {} func (x *InstanceMonitoring) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[38] + mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2814,7 +2981,7 @@ func (x *InstanceMonitoring) ProtoReflect() protoreflect.Message { // Deprecated: Use InstanceMonitoring.ProtoReflect.Descriptor instead. func (*InstanceMonitoring) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{38} + return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{39} } func (x *InstanceMonitoring) GetInstance() *common.InstanceIdent { @@ -2831,173 +2998,6 @@ func (x *InstanceMonitoring) GetMonitoringData() *MonitoringData { return nil } -type Alert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` - // Types that are assignable to AlertItem: - // - // *Alert_SystemQuotaAlert - // *Alert_InstanceQuotaAlert - // *Alert_ResourceValidateAlert - // *Alert_DeviceAllocateAlert - // *Alert_SystemAlert - // *Alert_CoreAlert - // *Alert_InstanceAlert - AlertItem isAlert_AlertItem `protobuf_oneof:"AlertItem"` -} - -func (x *Alert) Reset() { - *x = Alert{} - if protoimpl.UnsafeEnabled { - mi := &file_servicemanager_v4_servicemanager_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Alert) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Alert) ProtoMessage() {} - -func (x *Alert) ProtoReflect() protoreflect.Message { - mi := &file_servicemanager_v4_servicemanager_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 Alert.ProtoReflect.Descriptor instead. -func (*Alert) Descriptor() ([]byte, []int) { - return file_servicemanager_v4_servicemanager_proto_rawDescGZIP(), []int{39} -} - -func (x *Alert) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *Alert) GetTag() string { - if x != nil { - return x.Tag - } - return "" -} - -func (m *Alert) GetAlertItem() isAlert_AlertItem { - if m != nil { - return m.AlertItem - } - return nil -} - -func (x *Alert) GetSystemQuotaAlert() *SystemQuotaAlert { - if x, ok := x.GetAlertItem().(*Alert_SystemQuotaAlert); ok { - return x.SystemQuotaAlert - } - return nil -} - -func (x *Alert) GetInstanceQuotaAlert() *InstanceQuotaAlert { - if x, ok := x.GetAlertItem().(*Alert_InstanceQuotaAlert); ok { - return x.InstanceQuotaAlert - } - return nil -} - -func (x *Alert) GetResourceValidateAlert() *ResourceValidateAlert { - if x, ok := x.GetAlertItem().(*Alert_ResourceValidateAlert); ok { - return x.ResourceValidateAlert - } - return nil -} - -func (x *Alert) GetDeviceAllocateAlert() *DeviceAllocateAlert { - if x, ok := x.GetAlertItem().(*Alert_DeviceAllocateAlert); ok { - return x.DeviceAllocateAlert - } - return nil -} - -func (x *Alert) GetSystemAlert() *SystemAlert { - if x, ok := x.GetAlertItem().(*Alert_SystemAlert); ok { - return x.SystemAlert - } - return nil -} - -func (x *Alert) GetCoreAlert() *CoreAlert { - if x, ok := x.GetAlertItem().(*Alert_CoreAlert); ok { - return x.CoreAlert - } - return nil -} - -func (x *Alert) GetInstanceAlert() *InstanceAlert { - if x, ok := x.GetAlertItem().(*Alert_InstanceAlert); ok { - return x.InstanceAlert - } - return nil -} - -type isAlert_AlertItem interface { - isAlert_AlertItem() -} - -type Alert_SystemQuotaAlert struct { - SystemQuotaAlert *SystemQuotaAlert `protobuf:"bytes,3,opt,name=system_quota_alert,json=systemQuotaAlert,proto3,oneof"` -} - -type Alert_InstanceQuotaAlert struct { - InstanceQuotaAlert *InstanceQuotaAlert `protobuf:"bytes,4,opt,name=instance_quota_alert,json=instanceQuotaAlert,proto3,oneof"` -} - -type Alert_ResourceValidateAlert struct { - ResourceValidateAlert *ResourceValidateAlert `protobuf:"bytes,5,opt,name=resource_validate_alert,json=resourceValidateAlert,proto3,oneof"` -} - -type Alert_DeviceAllocateAlert struct { - DeviceAllocateAlert *DeviceAllocateAlert `protobuf:"bytes,6,opt,name=device_allocate_alert,json=deviceAllocateAlert,proto3,oneof"` -} - -type Alert_SystemAlert struct { - SystemAlert *SystemAlert `protobuf:"bytes,7,opt,name=system_alert,json=systemAlert,proto3,oneof"` -} - -type Alert_CoreAlert struct { - CoreAlert *CoreAlert `protobuf:"bytes,8,opt,name=core_alert,json=coreAlert,proto3,oneof"` -} - -type Alert_InstanceAlert struct { - InstanceAlert *InstanceAlert `protobuf:"bytes,9,opt,name=instance_alert,json=instanceAlert,proto3,oneof"` -} - -func (*Alert_SystemQuotaAlert) isAlert_AlertItem() {} - -func (*Alert_InstanceQuotaAlert) isAlert_AlertItem() {} - -func (*Alert_ResourceValidateAlert) isAlert_AlertItem() {} - -func (*Alert_DeviceAllocateAlert) isAlert_AlertItem() {} - -func (*Alert_SystemAlert) isAlert_AlertItem() {} - -func (*Alert_CoreAlert) isAlert_AlertItem() {} - -func (*Alert_InstanceAlert) isAlert_AlertItem() {} - type ImageContentRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3793,135 +3793,189 @@ var file_servicemanager_v4_servicemanager_proto_rawDesc = []byte{ 0x28, 0x04, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe2, 0x06, 0x0a, 0x12, 0x53, 0x4d, 0x4f, 0x75, 0x74, - 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x53, 0x0a, - 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4e, 0x6f, - 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, - 0x52, 0x10, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x72, 0x75, 0x6e, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x12, 0x72, 0x75, 0x6e, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x62, 0x0a, - 0x17, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, - 0x76, 0x34, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x15, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x60, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x65, 0x6e, - 0x76, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, - 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x14, 0x6f, - 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x03, - 0x6c, 0x6f, 0x67, 0x12, 0x55, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6d, - 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, - 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x55, 0x0a, 0x12, 0x61, 0x76, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x76, 0x65, 0x72, 0x61, - 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x11, - 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, - 0x67, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x05, 0x61, 0x6c, - 0x65, 0x72, 0x74, 0x12, 0x5c, 0x0a, 0x15, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x13, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x5f, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa1, 0x05, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, + 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, + 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x53, 0x0a, 0x12, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x5f, 0x61, 0x6c, 0x65, + 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, + 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, + 0x74, 0x12, 0x59, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x71, 0x75, + 0x6f, 0x74, 0x61, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, + 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x62, 0x0a, 0x17, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, - 0x34, 0x2e, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x53, 0x4d, 0x4f, 0x75, 0x74, 0x67, - 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x54, 0x0a, 0x09, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, - 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, - 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x22, 0x55, 0x0a, 0x12, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x58, 0x0a, 0x15, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x75, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x4f, 0x76, 0x65, 0x72, - 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x4f, 0x0a, 0x0f, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x73, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x45, 0x6e, - 0x76, 0x56, 0x61, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9f, 0x01, - 0x0a, 0x14, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x34, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, + 0x12, 0x5c, 0x0a, 0x15, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x2e, 0x76, 0x34, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x13, 0x64, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x43, + 0x0a, 0x0c, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, + 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x6c, + 0x65, 0x72, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x72, 0x65, + 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6c, 0x65, + 0x72, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, + 0x6c, 0x65, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x0d, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x0b, 0x0a, + 0x09, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x22, 0xe2, 0x06, 0x0a, 0x12, 0x53, + 0x4d, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x12, 0x53, 0x0a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, + 0x34, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x48, 0x00, 0x52, 0x10, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x59, 0x0a, 0x14, 0x72, 0x75, 0x6e, 0x5f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x12, 0x72, + 0x75, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x62, 0x0a, 0x17, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x00, 0x52, 0x15, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x60, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 0x65, 0x5f, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, + 0x00, 0x52, 0x14, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x76, 0x56, 0x61, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, + 0x48, 0x00, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x55, 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4d, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x11, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x55, + 0x0a, 0x12, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x41, + 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, + 0x48, 0x00, 0x52, 0x11, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, + 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, + 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x5c, 0x0a, 0x15, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, + 0x52, 0x13, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x53, + 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x53, 0x4d, + 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x54, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, + 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, + 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x55, 0x0a, 0x12, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x09, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x22, - 0x4e, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0xab, 0x01, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x15, 0x0a, 0x06, 0x6c, - 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x6f, 0x67, - 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb9, 0x01, - 0x0a, 0x11, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x58, 0x0a, + 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x75, 0x6e, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x75, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x14, + 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0f, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x73, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, + 0x34, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x65, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x45, 0x6e, 0x76, + 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x22, 0xab, 0x01, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0xb9, 0x01, 0x0a, 0x11, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4d, 0x6f, 0x6e, + 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x4a, 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, + 0x61, 0x74, 0x61, 0x52, 0x0e, 0x6e, 0x6f, 0x64, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x69, 0x6e, 0x67, 0x12, 0x58, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, + 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xb9, 0x01, + 0x0a, 0x11, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x4a, 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, @@ -3932,26 +3986,15 @@ var file_servicemanager_v4_servicemanager_proto_rawDesc = []byte{ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4d, - 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xb9, 0x01, 0x0a, 0x11, 0x41, 0x76, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, - 0x4a, 0x0a, 0x0f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x6f, 0x6e, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x6e, 0x6f, 0x64, - 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x58, 0x0a, 0x14, 0x69, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, - 0x52, 0x13, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, - 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xd9, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, - 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x72, 0x61, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x70, - 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x35, 0x0a, 0x04, - 0x64, 0x69, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 0x64, - 0x69, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xe5, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, + 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, + 0x72, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x72, 0x61, 0x6d, 0x12, 0x10, + 0x0a, 0x03, 0x63, 0x70, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x63, 0x70, 0x75, + 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, @@ -3971,113 +4014,71 @@ var file_servicemanager_v4_servicemanager_proto_rawDesc = []byte{ 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0e, 0x6d, - 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x22, 0xa1, 0x05, - 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x74, 0x61, 0x67, 0x12, 0x53, 0x0a, 0x12, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, - 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x10, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x51, 0x75, - 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x59, 0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, - 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x12, 0x62, 0x0a, 0x17, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, - 0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x5c, 0x0a, 0x15, 0x64, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, - 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, - 0x52, 0x13, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, - 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, - 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x63, 0x6f, - 0x72, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, - 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, - 0x63, 0x6f, 0x72, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6c, - 0x65, 0x72, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x49, 0x74, 0x65, - 0x6d, 0x22, 0x69, 0x0a, 0x13, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x12, 0x0a, 0x10, - 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x5e, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, - 0x6c, 0x65, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0x96, 0x01, 0x0a, 0x12, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x51, 0x75, 0x6f, - 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7d, 0x0a, 0x13, 0x44, 0x65, 0x76, - 0x69, 0x63, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x59, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x6c, 0x65, - 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4c, 0x0a, 0x09, - 0x43, 0x6f, 0x72, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x72, - 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0d, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x08, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x22, 0x69, 0x0a, + 0x13, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x63, + 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x10, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, 0x65, 0x72, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x96, 0x01, 0x0a, + 0x12, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x6c, + 0x65, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, + 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7d, 0x0a, 0x13, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x31, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, - 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, - 0x4e, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x01, 0x32, 0x6d, 0x0a, 0x09, 0x53, 0x4d, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x0a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x53, 0x4d, 0x12, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x4d, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, - 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x53, - 0x4d, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x59, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, + 0x27, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4c, 0x0a, 0x09, 0x43, 0x6f, 0x72, 0x65, + 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x6f, + 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, + 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, + 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x2a, 0x31, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x6e, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, + 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, + 0x45, 0x44, 0x10, 0x01, 0x32, 0x6d, 0x0a, 0x09, 0x53, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x60, 0x0a, 0x0a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4d, 0x12, + 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x4d, 0x4f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x34, 0x2e, 0x53, 0x4d, 0x49, 0x6e, 0x63, + 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x00, 0x28, + 0x01, 0x30, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4120,22 +4121,22 @@ var file_servicemanager_v4_servicemanager_proto_goTypes = []interface{}{ (*ImageContentInfo)(nil), // 22: servicemanager.v4.ImageContentInfo (*ImageFile)(nil), // 23: servicemanager.v4.ImageFile (*ImageContent)(nil), // 24: servicemanager.v4.ImageContent - (*SMOutgoingMessages)(nil), // 25: servicemanager.v4.SMOutgoingMessages - (*Partition)(nil), // 26: servicemanager.v4.Partition - (*NodeConfigStatus)(nil), // 27: servicemanager.v4.NodeConfigStatus - (*RunInstancesStatus)(nil), // 28: servicemanager.v4.RunInstancesStatus - (*UpdateInstancesStatus)(nil), // 29: servicemanager.v4.UpdateInstancesStatus - (*InstanceStatus)(nil), // 30: servicemanager.v4.InstanceStatus - (*OverrideEnvVarStatus)(nil), // 31: servicemanager.v4.OverrideEnvVarStatus - (*EnvVarInstanceStatus)(nil), // 32: servicemanager.v4.EnvVarInstanceStatus - (*EnvVarStatus)(nil), // 33: servicemanager.v4.EnvVarStatus - (*LogData)(nil), // 34: servicemanager.v4.LogData - (*InstantMonitoring)(nil), // 35: servicemanager.v4.InstantMonitoring - (*AverageMonitoring)(nil), // 36: servicemanager.v4.AverageMonitoring - (*MonitoringData)(nil), // 37: servicemanager.v4.MonitoringData - (*PartitionUsage)(nil), // 38: servicemanager.v4.PartitionUsage - (*InstanceMonitoring)(nil), // 39: servicemanager.v4.InstanceMonitoring - (*Alert)(nil), // 40: servicemanager.v4.Alert + (*Alert)(nil), // 25: servicemanager.v4.Alert + (*SMOutgoingMessages)(nil), // 26: servicemanager.v4.SMOutgoingMessages + (*Partition)(nil), // 27: servicemanager.v4.Partition + (*NodeConfigStatus)(nil), // 28: servicemanager.v4.NodeConfigStatus + (*RunInstancesStatus)(nil), // 29: servicemanager.v4.RunInstancesStatus + (*UpdateInstancesStatus)(nil), // 30: servicemanager.v4.UpdateInstancesStatus + (*InstanceStatus)(nil), // 31: servicemanager.v4.InstanceStatus + (*OverrideEnvVarStatus)(nil), // 32: servicemanager.v4.OverrideEnvVarStatus + (*EnvVarInstanceStatus)(nil), // 33: servicemanager.v4.EnvVarInstanceStatus + (*EnvVarStatus)(nil), // 34: servicemanager.v4.EnvVarStatus + (*LogData)(nil), // 35: servicemanager.v4.LogData + (*InstantMonitoring)(nil), // 36: servicemanager.v4.InstantMonitoring + (*AverageMonitoring)(nil), // 37: servicemanager.v4.AverageMonitoring + (*MonitoringData)(nil), // 38: servicemanager.v4.MonitoringData + (*PartitionUsage)(nil), // 39: servicemanager.v4.PartitionUsage + (*InstanceMonitoring)(nil), // 40: servicemanager.v4.InstanceMonitoring (*ImageContentRequest)(nil), // 41: servicemanager.v4.ImageContentRequest (*ClockSyncRequest)(nil), // 42: servicemanager.v4.ClockSyncRequest (*SystemQuotaAlert)(nil), // 43: servicemanager.v4.SystemQuotaAlert @@ -4187,48 +4188,48 @@ var file_servicemanager_v4_servicemanager_proto_depIdxs = []int32{ 0, // 34: servicemanager.v4.ConnectionStatus.cloud_status:type_name -> servicemanager.v4.ConnectionEnum 23, // 35: servicemanager.v4.ImageContentInfo.image_files:type_name -> servicemanager.v4.ImageFile 52, // 36: servicemanager.v4.ImageContentInfo.error:type_name -> common.v1.ErrorInfo - 27, // 37: servicemanager.v4.SMOutgoingMessages.node_config_status:type_name -> servicemanager.v4.NodeConfigStatus - 28, // 38: servicemanager.v4.SMOutgoingMessages.run_instances_status:type_name -> servicemanager.v4.RunInstancesStatus - 29, // 39: servicemanager.v4.SMOutgoingMessages.update_instances_status:type_name -> servicemanager.v4.UpdateInstancesStatus - 31, // 40: servicemanager.v4.SMOutgoingMessages.override_env_var_status:type_name -> servicemanager.v4.OverrideEnvVarStatus - 34, // 41: servicemanager.v4.SMOutgoingMessages.log:type_name -> servicemanager.v4.LogData - 35, // 42: servicemanager.v4.SMOutgoingMessages.instant_monitoring:type_name -> servicemanager.v4.InstantMonitoring - 36, // 43: servicemanager.v4.SMOutgoingMessages.average_monitoring:type_name -> servicemanager.v4.AverageMonitoring - 40, // 44: servicemanager.v4.SMOutgoingMessages.alert:type_name -> servicemanager.v4.Alert - 41, // 45: servicemanager.v4.SMOutgoingMessages.image_content_request:type_name -> servicemanager.v4.ImageContentRequest - 42, // 46: servicemanager.v4.SMOutgoingMessages.clock_sync_request:type_name -> servicemanager.v4.ClockSyncRequest - 52, // 47: servicemanager.v4.NodeConfigStatus.error:type_name -> common.v1.ErrorInfo - 30, // 48: servicemanager.v4.RunInstancesStatus.instances:type_name -> servicemanager.v4.InstanceStatus - 30, // 49: servicemanager.v4.UpdateInstancesStatus.instances:type_name -> servicemanager.v4.InstanceStatus - 51, // 50: servicemanager.v4.InstanceStatus.instance:type_name -> common.v1.InstanceIdent - 52, // 51: servicemanager.v4.InstanceStatus.error_info:type_name -> common.v1.ErrorInfo - 32, // 52: servicemanager.v4.OverrideEnvVarStatus.env_vars_status:type_name -> servicemanager.v4.EnvVarInstanceStatus - 52, // 53: servicemanager.v4.OverrideEnvVarStatus.error:type_name -> common.v1.ErrorInfo - 17, // 54: servicemanager.v4.EnvVarInstanceStatus.instance_filter:type_name -> servicemanager.v4.InstanceFilter - 33, // 55: servicemanager.v4.EnvVarInstanceStatus.statuses:type_name -> servicemanager.v4.EnvVarStatus - 52, // 56: servicemanager.v4.EnvVarStatus.error:type_name -> common.v1.ErrorInfo - 52, // 57: servicemanager.v4.LogData.error:type_name -> common.v1.ErrorInfo - 37, // 58: servicemanager.v4.InstantMonitoring.node_monitoring:type_name -> servicemanager.v4.MonitoringData - 39, // 59: servicemanager.v4.InstantMonitoring.instances_monitoring:type_name -> servicemanager.v4.InstanceMonitoring - 37, // 60: servicemanager.v4.AverageMonitoring.node_monitoring:type_name -> servicemanager.v4.MonitoringData - 39, // 61: servicemanager.v4.AverageMonitoring.instances_monitoring:type_name -> servicemanager.v4.InstanceMonitoring - 38, // 62: servicemanager.v4.MonitoringData.disk:type_name -> servicemanager.v4.PartitionUsage - 50, // 63: servicemanager.v4.MonitoringData.timestamp:type_name -> google.protobuf.Timestamp - 51, // 64: servicemanager.v4.InstanceMonitoring.instance:type_name -> common.v1.InstanceIdent - 37, // 65: servicemanager.v4.InstanceMonitoring.monitoring_data:type_name -> servicemanager.v4.MonitoringData - 50, // 66: servicemanager.v4.Alert.timestamp:type_name -> google.protobuf.Timestamp - 43, // 67: servicemanager.v4.Alert.system_quota_alert:type_name -> servicemanager.v4.SystemQuotaAlert - 44, // 68: servicemanager.v4.Alert.instance_quota_alert:type_name -> servicemanager.v4.InstanceQuotaAlert - 46, // 69: servicemanager.v4.Alert.resource_validate_alert:type_name -> servicemanager.v4.ResourceValidateAlert - 45, // 70: servicemanager.v4.Alert.device_allocate_alert:type_name -> servicemanager.v4.DeviceAllocateAlert - 47, // 71: servicemanager.v4.Alert.system_alert:type_name -> servicemanager.v4.SystemAlert - 48, // 72: servicemanager.v4.Alert.core_alert:type_name -> servicemanager.v4.CoreAlert - 49, // 73: servicemanager.v4.Alert.instance_alert:type_name -> servicemanager.v4.InstanceAlert + 50, // 37: servicemanager.v4.Alert.timestamp:type_name -> google.protobuf.Timestamp + 43, // 38: servicemanager.v4.Alert.system_quota_alert:type_name -> servicemanager.v4.SystemQuotaAlert + 44, // 39: servicemanager.v4.Alert.instance_quota_alert:type_name -> servicemanager.v4.InstanceQuotaAlert + 46, // 40: servicemanager.v4.Alert.resource_validate_alert:type_name -> servicemanager.v4.ResourceValidateAlert + 45, // 41: servicemanager.v4.Alert.device_allocate_alert:type_name -> servicemanager.v4.DeviceAllocateAlert + 47, // 42: servicemanager.v4.Alert.system_alert:type_name -> servicemanager.v4.SystemAlert + 48, // 43: servicemanager.v4.Alert.core_alert:type_name -> servicemanager.v4.CoreAlert + 49, // 44: servicemanager.v4.Alert.instance_alert:type_name -> servicemanager.v4.InstanceAlert + 28, // 45: servicemanager.v4.SMOutgoingMessages.node_config_status:type_name -> servicemanager.v4.NodeConfigStatus + 29, // 46: servicemanager.v4.SMOutgoingMessages.run_instances_status:type_name -> servicemanager.v4.RunInstancesStatus + 30, // 47: servicemanager.v4.SMOutgoingMessages.update_instances_status:type_name -> servicemanager.v4.UpdateInstancesStatus + 32, // 48: servicemanager.v4.SMOutgoingMessages.override_env_var_status:type_name -> servicemanager.v4.OverrideEnvVarStatus + 35, // 49: servicemanager.v4.SMOutgoingMessages.log:type_name -> servicemanager.v4.LogData + 36, // 50: servicemanager.v4.SMOutgoingMessages.instant_monitoring:type_name -> servicemanager.v4.InstantMonitoring + 37, // 51: servicemanager.v4.SMOutgoingMessages.average_monitoring:type_name -> servicemanager.v4.AverageMonitoring + 25, // 52: servicemanager.v4.SMOutgoingMessages.alert:type_name -> servicemanager.v4.Alert + 41, // 53: servicemanager.v4.SMOutgoingMessages.image_content_request:type_name -> servicemanager.v4.ImageContentRequest + 42, // 54: servicemanager.v4.SMOutgoingMessages.clock_sync_request:type_name -> servicemanager.v4.ClockSyncRequest + 52, // 55: servicemanager.v4.NodeConfigStatus.error:type_name -> common.v1.ErrorInfo + 31, // 56: servicemanager.v4.RunInstancesStatus.instances:type_name -> servicemanager.v4.InstanceStatus + 31, // 57: servicemanager.v4.UpdateInstancesStatus.instances:type_name -> servicemanager.v4.InstanceStatus + 51, // 58: servicemanager.v4.InstanceStatus.instance:type_name -> common.v1.InstanceIdent + 52, // 59: servicemanager.v4.InstanceStatus.error_info:type_name -> common.v1.ErrorInfo + 33, // 60: servicemanager.v4.OverrideEnvVarStatus.env_vars_status:type_name -> servicemanager.v4.EnvVarInstanceStatus + 52, // 61: servicemanager.v4.OverrideEnvVarStatus.error:type_name -> common.v1.ErrorInfo + 17, // 62: servicemanager.v4.EnvVarInstanceStatus.instance_filter:type_name -> servicemanager.v4.InstanceFilter + 34, // 63: servicemanager.v4.EnvVarInstanceStatus.statuses:type_name -> servicemanager.v4.EnvVarStatus + 52, // 64: servicemanager.v4.EnvVarStatus.error:type_name -> common.v1.ErrorInfo + 52, // 65: servicemanager.v4.LogData.error:type_name -> common.v1.ErrorInfo + 38, // 66: servicemanager.v4.InstantMonitoring.node_monitoring:type_name -> servicemanager.v4.MonitoringData + 40, // 67: servicemanager.v4.InstantMonitoring.instances_monitoring:type_name -> servicemanager.v4.InstanceMonitoring + 38, // 68: servicemanager.v4.AverageMonitoring.node_monitoring:type_name -> servicemanager.v4.MonitoringData + 40, // 69: servicemanager.v4.AverageMonitoring.instances_monitoring:type_name -> servicemanager.v4.InstanceMonitoring + 39, // 70: servicemanager.v4.MonitoringData.partitions:type_name -> servicemanager.v4.PartitionUsage + 50, // 71: servicemanager.v4.MonitoringData.timestamp:type_name -> google.protobuf.Timestamp + 51, // 72: servicemanager.v4.InstanceMonitoring.instance:type_name -> common.v1.InstanceIdent + 38, // 73: servicemanager.v4.InstanceMonitoring.monitoring_data:type_name -> servicemanager.v4.MonitoringData 51, // 74: servicemanager.v4.InstanceQuotaAlert.instance:type_name -> common.v1.InstanceIdent 51, // 75: servicemanager.v4.DeviceAllocateAlert.instance:type_name -> common.v1.InstanceIdent 52, // 76: servicemanager.v4.ResourceValidateAlert.errors:type_name -> common.v1.ErrorInfo 51, // 77: servicemanager.v4.InstanceAlert.instance:type_name -> common.v1.InstanceIdent - 25, // 78: servicemanager.v4.SMService.RegisterSM:input_type -> servicemanager.v4.SMOutgoingMessages + 26, // 78: servicemanager.v4.SMService.RegisterSM:input_type -> servicemanager.v4.SMOutgoingMessages 1, // 79: servicemanager.v4.SMService.RegisterSM:output_type -> servicemanager.v4.SMIncomingMessages 79, // [79:80] is the sub-list for method output_type 78, // [78:79] is the sub-list for method input_type @@ -4532,7 +4533,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SMOutgoingMessages); i { + switch v := v.(*Alert); i { case 0: return &v.state case 1: @@ -4544,7 +4545,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Partition); i { + switch v := v.(*SMOutgoingMessages); i { case 0: return &v.state case 1: @@ -4556,7 +4557,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeConfigStatus); i { + switch v := v.(*Partition); i { case 0: return &v.state case 1: @@ -4568,7 +4569,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RunInstancesStatus); i { + switch v := v.(*NodeConfigStatus); i { case 0: return &v.state case 1: @@ -4580,7 +4581,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateInstancesStatus); i { + switch v := v.(*RunInstancesStatus); i { case 0: return &v.state case 1: @@ -4592,7 +4593,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstanceStatus); i { + switch v := v.(*UpdateInstancesStatus); i { case 0: return &v.state case 1: @@ -4604,7 +4605,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OverrideEnvVarStatus); i { + switch v := v.(*InstanceStatus); i { case 0: return &v.state case 1: @@ -4616,7 +4617,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvVarInstanceStatus); i { + switch v := v.(*OverrideEnvVarStatus); i { case 0: return &v.state case 1: @@ -4628,7 +4629,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnvVarStatus); i { + switch v := v.(*EnvVarInstanceStatus); i { case 0: return &v.state case 1: @@ -4640,7 +4641,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogData); i { + switch v := v.(*EnvVarStatus); i { case 0: return &v.state case 1: @@ -4652,7 +4653,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstantMonitoring); i { + switch v := v.(*LogData); i { case 0: return &v.state case 1: @@ -4664,7 +4665,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AverageMonitoring); i { + switch v := v.(*InstantMonitoring); i { case 0: return &v.state case 1: @@ -4676,7 +4677,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MonitoringData); i { + switch v := v.(*AverageMonitoring); i { case 0: return &v.state case 1: @@ -4688,7 +4689,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PartitionUsage); i { + switch v := v.(*MonitoringData); i { case 0: return &v.state case 1: @@ -4700,7 +4701,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InstanceMonitoring); i { + switch v := v.(*PartitionUsage); i { case 0: return &v.state case 1: @@ -4712,7 +4713,7 @@ func file_servicemanager_v4_servicemanager_proto_init() { } } file_servicemanager_v4_servicemanager_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Alert); i { + switch v := v.(*InstanceMonitoring); i { case 0: return &v.state case 1: @@ -4849,6 +4850,15 @@ func file_servicemanager_v4_servicemanager_proto_init() { (*SMIncomingMessages_ClockSync)(nil), } file_servicemanager_v4_servicemanager_proto_msgTypes[24].OneofWrappers = []interface{}{ + (*Alert_SystemQuotaAlert)(nil), + (*Alert_InstanceQuotaAlert)(nil), + (*Alert_ResourceValidateAlert)(nil), + (*Alert_DeviceAllocateAlert)(nil), + (*Alert_SystemAlert)(nil), + (*Alert_CoreAlert)(nil), + (*Alert_InstanceAlert)(nil), + } + file_servicemanager_v4_servicemanager_proto_msgTypes[25].OneofWrappers = []interface{}{ (*SMOutgoingMessages_NodeConfigStatus)(nil), (*SMOutgoingMessages_RunInstancesStatus)(nil), (*SMOutgoingMessages_UpdateInstancesStatus)(nil), @@ -4860,15 +4870,6 @@ func file_servicemanager_v4_servicemanager_proto_init() { (*SMOutgoingMessages_ImageContentRequest)(nil), (*SMOutgoingMessages_ClockSyncRequest)(nil), } - file_servicemanager_v4_servicemanager_proto_msgTypes[39].OneofWrappers = []interface{}{ - (*Alert_SystemQuotaAlert)(nil), - (*Alert_InstanceQuotaAlert)(nil), - (*Alert_ResourceValidateAlert)(nil), - (*Alert_DeviceAllocateAlert)(nil), - (*Alert_SystemAlert)(nil), - (*Alert_CoreAlert)(nil), - (*Alert_InstanceAlert)(nil), - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/vendor/github.com/aosedge/aos_common/resourcemonitor/resourcemonitor.go b/vendor/github.com/aosedge/aos_common/resourcemonitor/resourcemonitor.go index 0f925c79..9724f2d1 100644 --- a/vendor/github.com/aosedge/aos_common/resourcemonitor/resourcemonitor.go +++ b/vendor/github.com/aosedge/aos_common/resourcemonitor/resourcemonitor.go @@ -269,15 +269,15 @@ func (monitor *ResourceMonitor) StartInstanceMonitor( monitor.instanceMonitoringMap[instanceID] = instanceMonitoring - instanceMonitoring.monitoring.Disk = make( + instanceMonitoring.monitoring.Partitions = make( []aostypes.PartitionUsage, len(monitoringConfig.Partitions)) for i, partitionParam := range monitoringConfig.Partitions { - instanceMonitoring.monitoring.Disk[i].Name = partitionParam.Name + instanceMonitoring.monitoring.Partitions[i].Name = partitionParam.Name } instanceMonitoring.averageData = *newAverageMonitoring( - monitor.averageWindowCount, instanceMonitoring.monitoring.Disk) + monitor.averageWindowCount, instanceMonitoring.monitoring.Partitions) if monitoringConfig.AlertRules != nil && monitor.alertSender != nil { if err := monitor.setupInstanceAlerts( @@ -355,14 +355,14 @@ func (monitor *ResourceMonitor) setupNodeMonitoring(nodeInfo cloudprotocol.NodeI monitor.nodeInfo = nodeInfo monitor.nodeMonitoring = aostypes.MonitoringData{ - Disk: make([]aostypes.PartitionUsage, len(nodeInfo.Partitions)), + Partitions: make([]aostypes.PartitionUsage, len(nodeInfo.Partitions)), } for i, partitionParam := range nodeInfo.Partitions { - monitor.nodeMonitoring.Disk[i].Name = partitionParam.Name + monitor.nodeMonitoring.Partitions[i].Name = partitionParam.Name } - monitor.nodeAverageData = *newAverageMonitoring(monitor.averageWindowCount, monitor.nodeMonitoring.Disk) + monitor.nodeAverageData = *newAverageMonitoring(monitor.averageWindowCount, monitor.nodeMonitoring.Partitions) return nil } @@ -401,9 +401,9 @@ func (monitor *ResourceMonitor) setupSystemAlerts(nodeConfig cloudprotocol.NodeC *nodeConfig.AlertRules.RAM)) } - for _, diskRule := range nodeConfig.AlertRules.UsedDisks { + for _, diskRule := range nodeConfig.AlertRules.Partitions { diskUsageValue, diskTotalSize, findErr := getDiskUsageValue( - diskRule.Name, monitor.nodeMonitoring.Disk, monitor.nodeInfo.Partitions) + diskRule.Name, monitor.nodeMonitoring.Partitions, monitor.nodeInfo.Partitions) if findErr != nil && err == nil { err = findErr continue @@ -526,9 +526,9 @@ func (monitor *ResourceMonitor) setupInstanceAlerts(instanceID string, instanceM instanceMonitoring.alertProcessorElements = append(instanceMonitoring.alertProcessorElements, e) } - for _, diskRule := range rules.UsedDisks { + for _, diskRule := range rules.Partitions { diskUsageValue, diskTotalSize, findErr := getDiskUsageValue( - diskRule.Name, instanceMonitoring.monitoring.Disk, monitor.nodeInfo.Partitions) + diskRule.Name, instanceMonitoring.monitoring.Partitions, monitor.nodeInfo.Partitions) if findErr != nil && err == nil { err = findErr continue @@ -606,7 +606,7 @@ func (monitor *ResourceMonitor) getCurrentSystemData() { log.Errorf("Can't get system RAM: %s", err) } - for i, disk := range monitor.nodeMonitoring.Disk { + for i, disk := range monitor.nodeMonitoring.Partitions { mountPoint, err := getDiskPath(monitor.nodeInfo.Partitions, disk.Name) if err != nil { log.Errorf("Can't get disk path: %v", err) @@ -614,7 +614,7 @@ func (monitor *ResourceMonitor) getCurrentSystemData() { continue } - monitor.nodeMonitoring.Disk[i].UsedSize, err = getSystemDiskUsage(mountPoint) + monitor.nodeMonitoring.Partitions[i].UsedSize, err = getSystemDiskUsage(mountPoint) if err != nil { log.Errorf("Can't get system Disk usage: %v", err) } @@ -633,11 +633,11 @@ func (monitor *ResourceMonitor) getCurrentSystemData() { monitor.nodeAverageData.updateMonitoringData(monitor.nodeMonitoring) log.WithFields(log.Fields{ - "CPU": monitor.nodeMonitoring.CPU, - "RAM": monitor.nodeMonitoring.RAM, - "Disk": monitor.nodeMonitoring.Disk, - "Download": monitor.nodeMonitoring.Download, - "Upload": monitor.nodeMonitoring.Upload, + "CPU": monitor.nodeMonitoring.CPU, + "RAM": monitor.nodeMonitoring.RAM, + "Partitions": monitor.nodeMonitoring.Partitions, + "Download": monitor.nodeMonitoring.Download, + "Upload": monitor.nodeMonitoring.Upload, }).Debug("Monitoring data") } @@ -655,7 +655,8 @@ func (monitor *ResourceMonitor) getCurrentInstancesData() { value.monitoring.CPU = monitor.cpuToDMIPs(float64(value.monitoring.CPU)) for i, partitionParam := range value.partitions { - value.monitoring.Disk[i].UsedSize, err = getInstanceDiskUsage(partitionParam.Path, value.uid, value.gid) + value.monitoring.Partitions[i].UsedSize, err = getInstanceDiskUsage(partitionParam.Path, + value.uid, value.gid) if err != nil { log.Errorf("Can't get service disk usage: %v", err) } @@ -674,12 +675,12 @@ func (monitor *ResourceMonitor) getCurrentInstancesData() { value.averageData.updateMonitoringData(value.monitoring.MonitoringData) log.WithFields(log.Fields{ - "id": instanceID, - "CPU": value.monitoring.CPU, - "RAM": value.monitoring.RAM, - "Disk": value.monitoring.Disk, - "Download": value.monitoring.Download, - "Upload": value.monitoring.Upload, + "id": instanceID, + "CPU": value.monitoring.CPU, + "RAM": value.monitoring.RAM, + "Partitions": value.monitoring.Partitions, + "Download": value.monitoring.Download, + "Upload": value.monitoring.Upload, }).Debug("Instance monitoring data") } } @@ -797,16 +798,16 @@ func newAverageMonitoring(windowCount uint64, partitions []aostypes.PartitionUsa func (average *averageMonitoring) toMonitoringData(timestamp time.Time) aostypes.MonitoringData { data := aostypes.MonitoringData{ - CPU: average.cpu.getIntValue(), - RAM: average.ram.getIntValue(), - Download: average.download.getIntValue(), - Upload: average.upload.getIntValue(), - Disk: make([]aostypes.PartitionUsage, 0, len(average.disks)), - Timestamp: timestamp, + CPU: average.cpu.getIntValue(), + RAM: average.ram.getIntValue(), + Download: average.download.getIntValue(), + Upload: average.upload.getIntValue(), + Partitions: make([]aostypes.PartitionUsage, 0, len(average.disks)), + Timestamp: timestamp, } for name, diskUsage := range average.disks { - data.Disk = append(data.Disk, aostypes.PartitionUsage{ + data.Partitions = append(data.Partitions, aostypes.PartitionUsage{ Name: name, UsedSize: diskUsage.getIntValue(), }) } @@ -820,14 +821,14 @@ func (average *averageMonitoring) updateMonitoringData(data aostypes.MonitoringD average.download.calculate(float64(data.Download)) average.upload.calculate(float64(data.Upload)) - for _, disk := range data.Disk { - averageCalc, ok := average.disks[disk.Name] + for _, partition := range data.Partitions { + averageCalc, ok := average.disks[partition.Name] if !ok { - log.Errorf("Can't find disk: %s", disk.Name) + log.Errorf("Can't find disk: %s", partition.Name) continue } - averageCalc.calculate(float64(disk.UsedSize)) + averageCalc.calculate(float64(partition.UsedSize)) } } diff --git a/vendor/modules.txt b/vendor/modules.txt index 0f682f51..376c0fc9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -7,7 +7,7 @@ github.com/ThalesIgnite/crypto11 # github.com/anexia-it/fsquota v0.0.0-00010101000000-000000000000 => github.com/aosedge/fsquota v0.0.0-20231127111317-842d831105a7 ## explicit; go 1.21 github.com/anexia-it/fsquota -# github.com/aosedge/aos_common v0.0.0-20240919073545-c003861229df +# github.com/aosedge/aos_common v0.0.0-20240920111133-bbcdc07c1664 ## explicit; go 1.21 github.com/aosedge/aos_common/aoserrors github.com/aosedge/aos_common/aostypes