public enum AlarmSeverity extends Enum<AlarmSeverity> implements com.google.protobuf.ProtocolMessageEnum
yamcs.protobuf.alarms.AlarmSeverity| Enum Constant and Description |
|---|
CRITICAL
CRITICAL = 4; |
DISTRESS
DISTRESS = 3; |
SEVERE
SEVERE = 5; |
WARNING
WARNING = 2; |
WATCH
WATCH = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CRITICAL_VALUE
CRITICAL = 4; |
static int |
DISTRESS_VALUE
DISTRESS = 3; |
static int |
SEVERE_VALUE
SEVERE = 5; |
static int |
WARNING_VALUE
WARNING = 2; |
static int |
WATCH_VALUE
WATCH = 1; |
| Modifier and Type | Method and Description |
|---|---|
static AlarmSeverity |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AlarmSeverity> |
internalGetValueMap() |
static AlarmSeverity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AlarmSeverity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AlarmSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmSeverity WATCH
WATCH = 1;public static final AlarmSeverity WARNING
WARNING = 2;public static final AlarmSeverity DISTRESS
DISTRESS = 3;public static final AlarmSeverity CRITICAL
CRITICAL = 4;public static final AlarmSeverity SEVERE
SEVERE = 5;public static final int WATCH_VALUE
WATCH = 1;public static final int WARNING_VALUE
WARNING = 2;public static final int DISTRESS_VALUE
DISTRESS = 3;public static final int CRITICAL_VALUE
CRITICAL = 4;public static final int SEVERE_VALUE
SEVERE = 5;public static AlarmSeverity[] values()
for (AlarmSeverity c : AlarmSeverity.values()) System.out.println(c);
public static AlarmSeverity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AlarmSeverity valueOf(int value)
forNumber(int) instead.public static AlarmSeverity forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AlarmSeverity> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AlarmSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Space Applications Services. All rights reserved.