Package org.yamcs.protobuf
Enum Yamcs.ProtoDataType
- java.lang.Object
-
- java.lang.Enum<Yamcs.ProtoDataType>
-
- org.yamcs.protobuf.Yamcs.ProtoDataType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Yamcs.ProtoDataType>
- Enclosing class:
- Yamcs
public static enum Yamcs.ProtoDataType extends Enum<Yamcs.ProtoDataType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.ProtoDataType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE_INDEXARCHIVE_INDEX = 6;ARCHIVE_TAGARCHIVE_TAG = 7;CMD_HISTORYCMD_HISTORY = 9;DT_ERRORerror in replayEVENTEVENT = 5;PARAMETERPARAMETER = 8;PPPP = 4;STATE_CHANGEthe replay status has changed (e.g. stopped or closed) the body contains a ReplayStatusTM_PACKETTM_PACKET = 3;
-
Field Summary
Fields Modifier and Type Field Description static intARCHIVE_INDEX_VALUEARCHIVE_INDEX = 6;static intARCHIVE_TAG_VALUEARCHIVE_TAG = 7;static intCMD_HISTORY_VALUECMD_HISTORY = 9;static intDT_ERROR_VALUEerror in replaystatic intEVENT_VALUEEVENT = 5;static intPARAMETER_VALUEPARAMETER = 8;static intPP_VALUEPP = 4;static intSTATE_CHANGE_VALUEthe replay status has changed (e.g. stopped or closed) the body contains a ReplayStatusstatic intTM_PACKET_VALUETM_PACKET = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Yamcs.ProtoDataTypeforNumber(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.ProtoDataType>internalGetValueMap()static Yamcs.ProtoDataTypevalueOf(int value)Deprecated.static Yamcs.ProtoDataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Yamcs.ProtoDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Yamcs.ProtoDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DT_ERROR
public static final Yamcs.ProtoDataType DT_ERROR
error in replay
DT_ERROR = 1;
-
STATE_CHANGE
public static final Yamcs.ProtoDataType STATE_CHANGE
the replay status has changed (e.g. stopped or closed) the body contains a ReplayStatus
STATE_CHANGE = 2;
-
TM_PACKET
public static final Yamcs.ProtoDataType TM_PACKET
TM_PACKET = 3;
-
PP
public static final Yamcs.ProtoDataType PP
PP = 4;
-
EVENT
public static final Yamcs.ProtoDataType EVENT
EVENT = 5;
-
ARCHIVE_INDEX
public static final Yamcs.ProtoDataType ARCHIVE_INDEX
ARCHIVE_INDEX = 6;
-
ARCHIVE_TAG
public static final Yamcs.ProtoDataType ARCHIVE_TAG
ARCHIVE_TAG = 7;
-
PARAMETER
public static final Yamcs.ProtoDataType PARAMETER
PARAMETER = 8;
-
CMD_HISTORY
public static final Yamcs.ProtoDataType CMD_HISTORY
CMD_HISTORY = 9;
-
-
Field Detail
-
DT_ERROR_VALUE
public static final int DT_ERROR_VALUE
error in replay
DT_ERROR = 1;- See Also:
- Constant Field Values
-
STATE_CHANGE_VALUE
public static final int STATE_CHANGE_VALUE
the replay status has changed (e.g. stopped or closed) the body contains a ReplayStatus
STATE_CHANGE = 2;- See Also:
- Constant Field Values
-
TM_PACKET_VALUE
public static final int TM_PACKET_VALUE
TM_PACKET = 3;- See Also:
- Constant Field Values
-
PP_VALUE
public static final int PP_VALUE
PP = 4;- See Also:
- Constant Field Values
-
EVENT_VALUE
public static final int EVENT_VALUE
EVENT = 5;- See Also:
- Constant Field Values
-
ARCHIVE_INDEX_VALUE
public static final int ARCHIVE_INDEX_VALUE
ARCHIVE_INDEX = 6;- See Also:
- Constant Field Values
-
ARCHIVE_TAG_VALUE
public static final int ARCHIVE_TAG_VALUE
ARCHIVE_TAG = 7;- See Also:
- Constant Field Values
-
PARAMETER_VALUE
public static final int PARAMETER_VALUE
PARAMETER = 8;- See Also:
- Constant Field Values
-
CMD_HISTORY_VALUE
public static final int CMD_HISTORY_VALUE
CMD_HISTORY = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Yamcs.ProtoDataType[] 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.ProtoDataType c : Yamcs.ProtoDataType.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.ProtoDataType 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.ProtoDataType 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.ProtoDataType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Yamcs.ProtoDataType> 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.ProtoDataType 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
-
-