Package org.yamcs.protobuf
Enum Pvalue.MonitoringResult
- java.lang.Object
-
- java.lang.Enum<Pvalue.MonitoringResult>
-
- org.yamcs.protobuf.Pvalue.MonitoringResult
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Pvalue.MonitoringResult>
- Enclosing class:
- Pvalue
public static enum Pvalue.MonitoringResult extends Enum<Pvalue.MonitoringResult> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.pvalue.MonitoringResult
-
-
Field Summary
Fields Modifier and Type Field Description static int
CRITICAL_VALUE
CRITICAL = 16;
static int
DISABLED_VALUE
DISABLED = 0;
static int
DISTRESS_VALUE
DISTRESS = 13;
static int
IN_LIMITS_VALUE
IN_LIMITS = 1;
static int
SEVERE_VALUE
SEVERE = 19;
static int
WARNING_VALUE
WARNING = 10;
static int
WATCH_VALUE
WATCH = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Pvalue.MonitoringResult
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<Pvalue.MonitoringResult>
internalGetValueMap()
static Pvalue.MonitoringResult
valueOf(int value)
Deprecated.static Pvalue.MonitoringResult
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Pvalue.MonitoringResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static Pvalue.MonitoringResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final Pvalue.MonitoringResult DISABLED
DISABLED = 0;
-
IN_LIMITS
public static final Pvalue.MonitoringResult IN_LIMITS
IN_LIMITS = 1;
-
WATCH
public static final Pvalue.MonitoringResult WATCH
WATCH = 7;
-
WARNING
public static final Pvalue.MonitoringResult WARNING
WARNING = 10;
-
DISTRESS
public static final Pvalue.MonitoringResult DISTRESS
DISTRESS = 13;
-
CRITICAL
public static final Pvalue.MonitoringResult CRITICAL
CRITICAL = 16;
-
SEVERE
public static final Pvalue.MonitoringResult SEVERE
SEVERE = 19;
-
-
Field Detail
-
DISABLED_VALUE
public static final int DISABLED_VALUE
DISABLED = 0;
- See Also:
- Constant Field Values
-
IN_LIMITS_VALUE
public static final int IN_LIMITS_VALUE
IN_LIMITS = 1;
- See Also:
- Constant Field Values
-
WATCH_VALUE
public static final int WATCH_VALUE
WATCH = 7;
- See Also:
- Constant Field Values
-
WARNING_VALUE
public static final int WARNING_VALUE
WARNING = 10;
- See Also:
- Constant Field Values
-
DISTRESS_VALUE
public static final int DISTRESS_VALUE
DISTRESS = 13;
- See Also:
- Constant Field Values
-
CRITICAL_VALUE
public static final int CRITICAL_VALUE
CRITICAL = 16;
- See Also:
- Constant Field Values
-
SEVERE_VALUE
public static final int SEVERE_VALUE
SEVERE = 19;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Pvalue.MonitoringResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Pvalue.MonitoringResult c : Pvalue.MonitoringResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pvalue.MonitoringResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Pvalue.MonitoringResult valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Pvalue.MonitoringResult forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Pvalue.MonitoringResult> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Pvalue.MonitoringResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-