public static enum Alarms.AlarmSeverity extends Enum<Alarms.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 Alarms.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<Alarms.AlarmSeverity> |
internalGetValueMap() |
static Alarms.AlarmSeverity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Alarms.AlarmSeverity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Alarms.AlarmSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alarms.AlarmSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarms.AlarmSeverity WATCH
WATCH = 1;public static final Alarms.AlarmSeverity WARNING
WARNING = 2;public static final Alarms.AlarmSeverity DISTRESS
DISTRESS = 3;public static final Alarms.AlarmSeverity CRITICAL
CRITICAL = 4;public static final Alarms.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 Alarms.AlarmSeverity[] values()
for (Alarms.AlarmSeverity c : Alarms.AlarmSeverity.values()) System.out.println(c);
public static Alarms.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 Alarms.AlarmSeverity valueOf(int value)
forNumber(int) instead.public static Alarms.AlarmSeverity forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Alarms.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 Alarms.AlarmSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Space Applications Services. All rights reserved.