Package org.yamcs.protobuf
Enum Cop1State
- java.lang.Object
-
- java.lang.Enum<Cop1State>
-
- org.yamcs.protobuf.Cop1State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Cop1State>
public enum Cop1State extends Enum<Cop1State> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.cop1.Cop1State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEACTIVE = 1;INITIALIZING_WITH_BCINITIALIZING_WITH_BC = 5;INITIALIZING_WITHOUT_BCINITIALIZING_WITHOUT_BC = 4;RETRANSMIT_WITH_WAITRETRANSMIT_WITH_WAIT = 3;RETRANSMIT_WITHOUT_WAITRETRANSMIT_WITHOUT_WAIT = 2;SUSPENDEDSUSPENDED = 7;UNINITIALIZEDUNINITIALIZED = 6;
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_VALUEACTIVE = 1;static intINITIALIZING_WITH_BC_VALUEINITIALIZING_WITH_BC = 5;static intINITIALIZING_WITHOUT_BC_VALUEINITIALIZING_WITHOUT_BC = 4;static intRETRANSMIT_WITH_WAIT_VALUERETRANSMIT_WITH_WAIT = 3;static intRETRANSMIT_WITHOUT_WAIT_VALUERETRANSMIT_WITHOUT_WAIT = 2;static intSUSPENDED_VALUESUSPENDED = 7;static intUNINITIALIZED_VALUEUNINITIALIZED = 6;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Cop1StateforNumber(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<Cop1State>internalGetValueMap()static Cop1StatevalueOf(int value)Deprecated.static Cop1StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Cop1StatevalueOf(String name)Returns the enum constant of this type with the specified name.static Cop1State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final Cop1State ACTIVE
ACTIVE = 1;
-
RETRANSMIT_WITHOUT_WAIT
public static final Cop1State RETRANSMIT_WITHOUT_WAIT
RETRANSMIT_WITHOUT_WAIT = 2;
-
RETRANSMIT_WITH_WAIT
public static final Cop1State RETRANSMIT_WITH_WAIT
RETRANSMIT_WITH_WAIT = 3;
-
INITIALIZING_WITHOUT_BC
public static final Cop1State INITIALIZING_WITHOUT_BC
INITIALIZING_WITHOUT_BC = 4;
-
INITIALIZING_WITH_BC
public static final Cop1State INITIALIZING_WITH_BC
INITIALIZING_WITH_BC = 5;
-
UNINITIALIZED
public static final Cop1State UNINITIALIZED
UNINITIALIZED = 6;
-
SUSPENDED
public static final Cop1State SUSPENDED
SUSPENDED = 7;
-
-
Field Detail
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
ACTIVE = 1;- See Also:
- Constant Field Values
-
RETRANSMIT_WITHOUT_WAIT_VALUE
public static final int RETRANSMIT_WITHOUT_WAIT_VALUE
RETRANSMIT_WITHOUT_WAIT = 2;- See Also:
- Constant Field Values
-
RETRANSMIT_WITH_WAIT_VALUE
public static final int RETRANSMIT_WITH_WAIT_VALUE
RETRANSMIT_WITH_WAIT = 3;- See Also:
- Constant Field Values
-
INITIALIZING_WITHOUT_BC_VALUE
public static final int INITIALIZING_WITHOUT_BC_VALUE
INITIALIZING_WITHOUT_BC = 4;- See Also:
- Constant Field Values
-
INITIALIZING_WITH_BC_VALUE
public static final int INITIALIZING_WITH_BC_VALUE
INITIALIZING_WITH_BC = 5;- See Also:
- Constant Field Values
-
UNINITIALIZED_VALUE
public static final int UNINITIALIZED_VALUE
UNINITIALIZED = 6;- See Also:
- Constant Field Values
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUE
SUSPENDED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Cop1State[] 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 (Cop1State c : Cop1State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cop1State 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 Cop1State 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 Cop1State forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Cop1State> 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 Cop1State 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
-
-