Package org.yamcs.protobuf
Enum YamcsInstance.InstanceState
- java.lang.Object
-
- java.lang.Enum<YamcsInstance.InstanceState>
-
- org.yamcs.protobuf.YamcsInstance.InstanceState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<YamcsInstance.InstanceState>
- Enclosing class:
- YamcsInstance
public static enum YamcsInstance.InstanceState extends Enum<YamcsInstance.InstanceState> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.yamcsManagement.YamcsInstance.InstanceState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDFAILED = 6;INITIALIZEDINITIALIZED = 2;INITIALIZINGINITIALIZING = 1;OFFLINEOFFLINE = 0;RUNNINGRUNNING = 4;STARTINGSTARTING = 3;STOPPINGSTOPPING = 5;
-
Field Summary
Fields Modifier and Type Field Description static intFAILED_VALUEFAILED = 6;static intINITIALIZED_VALUEINITIALIZED = 2;static intINITIALIZING_VALUEINITIALIZING = 1;static intOFFLINE_VALUEOFFLINE = 0;static intRUNNING_VALUERUNNING = 4;static intSTARTING_VALUESTARTING = 3;static intSTOPPING_VALUESTOPPING = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static YamcsInstance.InstanceStateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<YamcsInstance.InstanceState>internalGetValueMap()static YamcsInstance.InstanceStatevalueOf(int value)Deprecated.static YamcsInstance.InstanceStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static YamcsInstance.InstanceStatevalueOf(String name)Returns the enum constant of this type with the specified name.static YamcsInstance.InstanceState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFFLINE
public static final YamcsInstance.InstanceState OFFLINE
OFFLINE = 0;
-
INITIALIZING
public static final YamcsInstance.InstanceState INITIALIZING
INITIALIZING = 1;
-
INITIALIZED
public static final YamcsInstance.InstanceState INITIALIZED
INITIALIZED = 2;
-
STARTING
public static final YamcsInstance.InstanceState STARTING
STARTING = 3;
-
RUNNING
public static final YamcsInstance.InstanceState RUNNING
RUNNING = 4;
-
STOPPING
public static final YamcsInstance.InstanceState STOPPING
STOPPING = 5;
-
FAILED
public static final YamcsInstance.InstanceState FAILED
FAILED = 6;
-
-
Field Detail
-
OFFLINE_VALUE
public static final int OFFLINE_VALUE
OFFLINE = 0;- See Also:
- Constant Field Values
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUE
INITIALIZING = 1;- See Also:
- Constant Field Values
-
INITIALIZED_VALUE
public static final int INITIALIZED_VALUE
INITIALIZED = 2;- See Also:
- Constant Field Values
-
STARTING_VALUE
public static final int STARTING_VALUE
STARTING = 3;- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
RUNNING = 4;- See Also:
- Constant Field Values
-
STOPPING_VALUE
public static final int STOPPING_VALUE
STOPPING = 5;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
FAILED = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static YamcsInstance.InstanceState[] 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 (YamcsInstance.InstanceState c : YamcsInstance.InstanceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YamcsInstance.InstanceState 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static YamcsInstance.InstanceState 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 YamcsInstance.InstanceState forNumber(int 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 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
-
-