- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Cop1State>,Constable
@Generated
public enum Cop1State
extends Enum<Cop1State>
implements com.google.protobuf.ProtocolMessageEnum
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 ConstantsEnum ConstantDescriptionACTIVE = 1;INITIALIZING_WITH_BC = 5;INITIALIZING_WITHOUT_BC = 4;RETRANSMIT_WITH_WAIT = 3;RETRANSMIT_WITHOUT_WAIT = 2;SUSPENDED = 7;UNINITIALIZED = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intACTIVE = 1;static final intINITIALIZING_WITH_BC = 5;static final intINITIALIZING_WITHOUT_BC = 4;static final intRETRANSMIT_WITH_WAIT = 3;static final intRETRANSMIT_WITHOUT_WAIT = 2;static final intSUSPENDED = 7;static final intUNINITIALIZED = 6; -
Method Summary
Modifier and TypeMethodDescriptionstatic Cop1StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Cop1State> static Cop1StatevalueOf(int value) Deprecated.static Cop1StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Cop1StateReturns 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:
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
-
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 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
-