Package org.yamcs.protobuf
Enum Yamcs.ReplayStatus.ReplayState
- java.lang.Object
-
- java.lang.Enum<Yamcs.ReplayStatus.ReplayState>
-
- org.yamcs.protobuf.Yamcs.ReplayStatus.ReplayState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Yamcs.ReplayStatus.ReplayState>
- Enclosing class:
- Yamcs.ReplayStatus
public static enum Yamcs.ReplayStatus.ReplayState extends Enum<Yamcs.ReplayStatus.ReplayState> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.ReplayStatus.ReplayState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDThe replay is finished and closedERRORThe replay stopped due to an error.INITIALIZATIONjust at the beginning or when the replay request (start, stop or packet selection) changesPAUSEDPAUSED = 4;RUNNINGRUNNING = 1;STOPPEDThe replay has reached the end with the endaction stop
-
Field Summary
Fields Modifier and Type Field Description static intCLOSED_VALUEThe replay is finished and closedstatic intERROR_VALUEThe replay stopped due to an error.static intINITIALIZATION_VALUEjust at the beginning or when the replay request (start, stop or packet selection) changesstatic intPAUSED_VALUEPAUSED = 4;static intRUNNING_VALUERUNNING = 1;static intSTOPPED_VALUEThe replay has reached the end with the endaction stop
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Yamcs.ReplayStatus.ReplayStateforNumber(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<Yamcs.ReplayStatus.ReplayState>internalGetValueMap()static Yamcs.ReplayStatus.ReplayStatevalueOf(int value)Deprecated.static Yamcs.ReplayStatus.ReplayStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Yamcs.ReplayStatus.ReplayStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Yamcs.ReplayStatus.ReplayState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZATION
public static final Yamcs.ReplayStatus.ReplayState INITIALIZATION
just at the beginning or when the replay request (start, stop or packet selection) changes
INITIALIZATION = 0;
-
RUNNING
public static final Yamcs.ReplayStatus.ReplayState RUNNING
RUNNING = 1;
-
STOPPED
public static final Yamcs.ReplayStatus.ReplayState STOPPED
The replay has reached the end with the endaction stop
STOPPED = 2;
-
ERROR
public static final Yamcs.ReplayStatus.ReplayState ERROR
The replay stopped due to an error.
ERROR = 3;
-
PAUSED
public static final Yamcs.ReplayStatus.ReplayState PAUSED
PAUSED = 4;
-
CLOSED
public static final Yamcs.ReplayStatus.ReplayState CLOSED
The replay is finished and closed
CLOSED = 5;
-
-
Field Detail
-
INITIALIZATION_VALUE
public static final int INITIALIZATION_VALUE
just at the beginning or when the replay request (start, stop or packet selection) changes
INITIALIZATION = 0;- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
RUNNING = 1;- See Also:
- Constant Field Values
-
STOPPED_VALUE
public static final int STOPPED_VALUE
The replay has reached the end with the endaction stop
STOPPED = 2;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
The replay stopped due to an error.
ERROR = 3;- See Also:
- Constant Field Values
-
PAUSED_VALUE
public static final int PAUSED_VALUE
PAUSED = 4;- See Also:
- Constant Field Values
-
CLOSED_VALUE
public static final int CLOSED_VALUE
The replay is finished and closed
CLOSED = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Yamcs.ReplayStatus.ReplayState[] 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 (Yamcs.ReplayStatus.ReplayState c : Yamcs.ReplayStatus.ReplayState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Yamcs.ReplayStatus.ReplayState 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 Yamcs.ReplayStatus.ReplayState 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 Yamcs.ReplayStatus.ReplayState forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Yamcs.ReplayStatus.ReplayState> 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 Yamcs.ReplayStatus.ReplayState 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
-
-