- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<YamcsInstance.InstanceState>,Constable
- Enclosing class:
YamcsInstance
public static enum YamcsInstance.InstanceState
extends Enum<YamcsInstance.InstanceState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
yamcs.protobuf.instances.YamcsInstance.InstanceState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFAILED = 6;INITIALIZED = 2;INITIALIZING = 1;OFFLINE = 0;RUNNING = 4;STARTING = 3;STOPPING = 5; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFAILED = 6;static final intINITIALIZED = 2;static final intINITIALIZING = 1;static final intOFFLINE = 0;static final intRUNNING = 4;static final intSTARTING = 3;static final intSTOPPING = 5; -
Method Summary
Modifier and TypeMethodDescriptionstatic YamcsInstance.InstanceStateforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<YamcsInstance.InstanceState> static YamcsInstance.InstanceStatevalueOf(int value) Deprecated.static YamcsInstance.InstanceStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static YamcsInstance.InstanceStateReturns the enum constant of this class with the specified name.static YamcsInstance.InstanceState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFFLINE
OFFLINE = 0; -
INITIALIZING
INITIALIZING = 1; -
INITIALIZED
INITIALIZED = 2; -
STARTING
STARTING = 3; -
RUNNING
RUNNING = 4; -
STOPPING
STOPPING = 5; -
FAILED
FAILED = 6;
-
-
Field Details
-
OFFLINE_VALUE
public static final int OFFLINE_VALUEOFFLINE = 0;- See Also:
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUEINITIALIZING = 1;- See Also:
-
INITIALIZED_VALUE
public static final int INITIALIZED_VALUEINITIALIZED = 2;- See Also:
-
STARTING_VALUE
public static final int STARTING_VALUESTARTING = 3;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUERUNNING = 4;- See Also:
-
STOPPING_VALUE
public static final int STOPPING_VALUESTOPPING = 5;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEFAILED = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<YamcsInstance.InstanceState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static YamcsInstance.InstanceState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-