- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Db.ProtoDataType>
- Enclosing class:
- Db
public static enum Db.ProtoDataType
extends Enum<Db.ProtoDataType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
ProtoDataType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionARCHIVE_INDEX = 6;ARCHIVE_TAG = 7;CMD_HISTORY = 9;error in replayEVENT = 5;PARAMETER = 8;PP = 4;the replay status has changed (e.g. stopped or closed) the body contains a ReplayStatusTM_PACKET = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intARCHIVE_INDEX = 6;static final intARCHIVE_TAG = 7;static final intCMD_HISTORY = 9;static final interror in replaystatic final intEVENT = 5;static final intPARAMETER = 8;static final intPP = 4;static final intthe replay status has changed (e.g. stopped or closed) the body contains a ReplayStatusstatic final intTM_PACKET = 3; -
Method Summary
Modifier and TypeMethodDescriptionstatic Db.ProtoDataTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Db.ProtoDataType>static Db.ProtoDataTypevalueOf(int value) Deprecated.static Db.ProtoDataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Db.ProtoDataTypeReturns the enum constant of this type with the specified name.static Db.ProtoDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DT_ERROR
error in replay
DT_ERROR = 1; -
STATE_CHANGE
the replay status has changed (e.g. stopped or closed) the body contains a ReplayStatus
STATE_CHANGE = 2; -
TM_PACKET
TM_PACKET = 3; -
PP
PP = 4; -
EVENT
EVENT = 5; -
ARCHIVE_INDEX
ARCHIVE_INDEX = 6; -
ARCHIVE_TAG
ARCHIVE_TAG = 7; -
PARAMETER
PARAMETER = 8; -
CMD_HISTORY
CMD_HISTORY = 9;
-
-
Field Details
-
DT_ERROR_VALUE
public static final int DT_ERROR_VALUEerror in replay
DT_ERROR = 1;- See Also:
-
STATE_CHANGE_VALUE
public static final int STATE_CHANGE_VALUEthe replay status has changed (e.g. stopped or closed) the body contains a ReplayStatus
STATE_CHANGE = 2;- See Also:
-
TM_PACKET_VALUE
public static final int TM_PACKET_VALUETM_PACKET = 3;- See Also:
-
PP_VALUE
public static final int PP_VALUEPP = 4;- See Also:
-
EVENT_VALUE
public static final int EVENT_VALUEEVENT = 5;- See Also:
-
ARCHIVE_INDEX_VALUE
public static final int ARCHIVE_INDEX_VALUEARCHIVE_INDEX = 6;- See Also:
-
ARCHIVE_TAG_VALUE
public static final int ARCHIVE_TAG_VALUEARCHIVE_TAG = 7;- See Also:
-
PARAMETER_VALUE
public static final int PARAMETER_VALUEPARAMETER = 8;- See Also:
-
CMD_HISTORY_VALUE
public static final int CMD_HISTORY_VALUECMD_HISTORY = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-