public static enum Yamcs.Event.EventSeverity extends Enum<Yamcs.Event.EventSeverity> implements com.google.protobuf.ProtocolMessageEnum
yamcs.protobuf.Event.EventSeverity| Enum Constant and Description |
|---|
CRITICAL
CRITICAL = 6; |
DISTRESS
DISTRESS = 5; |
ERROR
ERROR = 2; |
INFO
INFO = 0; |
SEVERE
SEVERE = 7; |
WARNING
WARNING = 1; |
WATCH
the levels below are compatible with XTCE
we left the 4 out since it could be used
for warning if we ever decide to get rid of the old ones
WATCH = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CRITICAL_VALUE
CRITICAL = 6; |
static int |
DISTRESS_VALUE
DISTRESS = 5; |
static int |
ERROR_VALUE
ERROR = 2; |
static int |
INFO_VALUE
INFO = 0; |
static int |
SEVERE_VALUE
SEVERE = 7; |
static int |
WARNING_VALUE
WARNING = 1; |
static int |
WATCH_VALUE
the levels below are compatible with XTCE
we left the 4 out since it could be used
for warning if we ever decide to get rid of the old ones
WATCH = 3; |
| Modifier and Type | Method and Description |
|---|---|
static Yamcs.Event.EventSeverity |
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<Yamcs.Event.EventSeverity> |
internalGetValueMap() |
static Yamcs.Event.EventSeverity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Yamcs.Event.EventSeverity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Yamcs.Event.EventSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Yamcs.Event.EventSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Yamcs.Event.EventSeverity INFO
INFO = 0;public static final Yamcs.Event.EventSeverity WARNING
WARNING = 1;public static final Yamcs.Event.EventSeverity ERROR
ERROR = 2;public static final Yamcs.Event.EventSeverity WATCH
the levels below are compatible with XTCE we left the 4 out since it could be used for warning if we ever decide to get rid of the old ones
WATCH = 3;public static final Yamcs.Event.EventSeverity DISTRESS
DISTRESS = 5;public static final Yamcs.Event.EventSeverity CRITICAL
CRITICAL = 6;public static final Yamcs.Event.EventSeverity SEVERE
SEVERE = 7;public static final int INFO_VALUE
INFO = 0;public static final int WARNING_VALUE
WARNING = 1;public static final int ERROR_VALUE
ERROR = 2;public static final int WATCH_VALUE
the levels below are compatible with XTCE we left the 4 out since it could be used for warning if we ever decide to get rid of the old ones
WATCH = 3;public static final int DISTRESS_VALUE
DISTRESS = 5;public static final int CRITICAL_VALUE
CRITICAL = 6;public static final int SEVERE_VALUE
SEVERE = 7;public static Yamcs.Event.EventSeverity[] values()
for (Yamcs.Event.EventSeverity c : Yamcs.Event.EventSeverity.values()) System.out.println(c);
public static Yamcs.Event.EventSeverity 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 Yamcs.Event.EventSeverity valueOf(int value)
forNumber(int) instead.public static Yamcs.Event.EventSeverity forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Yamcs.Event.EventSeverity> 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 Yamcs.Event.EventSeverity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Space Applications Services. All rights reserved.