Package org.yamcs.protobuf
Enum Class Cop1State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Cop1State>
,Constable
Protobuf enum
yamcs.protobuf.cop1.Cop1State
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionACTIVE = 1;
INITIALIZING_WITH_BC = 5;
INITIALIZING_WITHOUT_BC = 4;
RETRANSMIT_WITH_WAIT = 3;
RETRANSMIT_WITHOUT_WAIT = 2;
SUSPENDED = 7;
UNINITIALIZED = 6;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ACTIVE = 1;
static final int
INITIALIZING_WITH_BC = 5;
static final int
INITIALIZING_WITHOUT_BC = 4;
static final int
RETRANSMIT_WITH_WAIT = 3;
static final int
RETRANSMIT_WITHOUT_WAIT = 2;
static final int
SUSPENDED = 7;
static final int
UNINITIALIZED = 6;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Cop1State
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<Cop1State>
static Cop1State
valueOf
(int value) Deprecated.static Cop1State
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Cop1State
Returns the enum constant of this class with the specified name.static Cop1State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
ACTIVE = 1;
-
RETRANSMIT_WITHOUT_WAIT
RETRANSMIT_WITHOUT_WAIT = 2;
-
RETRANSMIT_WITH_WAIT
RETRANSMIT_WITH_WAIT = 3;
-
INITIALIZING_WITHOUT_BC
INITIALIZING_WITHOUT_BC = 4;
-
INITIALIZING_WITH_BC
INITIALIZING_WITH_BC = 5;
-
UNINITIALIZED
UNINITIALIZED = 6;
-
SUSPENDED
SUSPENDED = 7;
-
-
Field Details
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEACTIVE = 1;
- See Also:
-
RETRANSMIT_WITHOUT_WAIT_VALUE
public static final int RETRANSMIT_WITHOUT_WAIT_VALUERETRANSMIT_WITHOUT_WAIT = 2;
- See Also:
-
RETRANSMIT_WITH_WAIT_VALUE
public static final int RETRANSMIT_WITH_WAIT_VALUERETRANSMIT_WITH_WAIT = 3;
- See Also:
-
INITIALIZING_WITHOUT_BC_VALUE
public static final int INITIALIZING_WITHOUT_BC_VALUEINITIALIZING_WITHOUT_BC = 4;
- See Also:
-
INITIALIZING_WITH_BC_VALUE
public static final int INITIALIZING_WITH_BC_VALUEINITIALIZING_WITH_BC = 5;
- See Also:
-
UNINITIALIZED_VALUE
public static final int UNINITIALIZED_VALUEUNINITIALIZED = 6;
- See Also:
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUESUSPENDED = 7;
- 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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
-
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
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
-