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 FAILED
FAILED = 6;
INITIALIZED
INITIALIZED = 2;
INITIALIZING
INITIALIZING = 1;
OFFLINE
OFFLINE = 0;
RUNNING
RUNNING = 4;
STARTING
STARTING = 3;
STOPPING
STOPPING = 5;
-
Field Summary
Fields Modifier and Type Field Description static int
FAILED_VALUE
FAILED = 6;
static int
INITIALIZED_VALUE
INITIALIZED = 2;
static int
INITIALIZING_VALUE
INITIALIZING = 1;
static int
OFFLINE_VALUE
OFFLINE = 0;
static int
RUNNING_VALUE
RUNNING = 4;
static int
STARTING_VALUE
STARTING = 3;
static int
STOPPING_VALUE
STOPPING = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static YamcsInstance.InstanceState
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<YamcsInstance.InstanceState>
internalGetValueMap()
static YamcsInstance.InstanceState
valueOf(int value)
Deprecated.static YamcsInstance.InstanceState
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static YamcsInstance.InstanceState
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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)
- 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:
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 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
-
-