Package org.yamcs.protobuf
Enum 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 enum
yamcs.protobuf.instances.YamcsInstance.InstanceState
-
Enum Constant Summary
Enum ConstantDescriptionFAILED = 6;
INITIALIZED = 2;
INITIALIZING = 1;
OFFLINE = 0;
RUNNING = 4;
STARTING = 3;
STOPPING = 5;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
FAILED = 6;
static final int
INITIALIZED = 2;
static final int
INITIALIZING = 1;
static final int
OFFLINE = 0;
static final int
RUNNING = 4;
static final int
STARTING = 3;
static final int
STOPPING = 5;
-
Method Summary
Modifier and TypeMethodDescriptionstatic YamcsInstance.InstanceState
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<YamcsInstance.InstanceState>
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
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 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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
-