Enum EPICSEvent.PayloadType
- java.lang.Object
-
- java.lang.Enum<EPICSEvent.PayloadType>
-
- edu.stanford.slac.archiverappliance.PB.EPICSEvent.PayloadType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<EPICSEvent.PayloadType>
,Constable
- Enclosing class:
- EPICSEvent
public static enum EPICSEvent.PayloadType extends Enum<EPICSEvent.PayloadType> implements com.google.protobuf.ProtocolMessageEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SCALAR_BYTE
SCALAR_DOUBLE
SCALAR_ENUM
SCALAR_FLOAT
SCALAR_INT
SCALAR_SHORT
SCALAR_STRING
V4_GENERIC_BYTES
WAVEFORM_BYTE
WAVEFORM_DOUBLE
WAVEFORM_ENUM
WAVEFORM_FLOAT
WAVEFORM_INT
WAVEFORM_SHORT
WAVEFORM_STRING
-
Field Summary
Fields Modifier and Type Field Description static int
SCALAR_BYTE_VALUE
static int
SCALAR_DOUBLE_VALUE
static int
SCALAR_ENUM_VALUE
static int
SCALAR_FLOAT_VALUE
static int
SCALAR_INT_VALUE
static int
SCALAR_SHORT_VALUE
static int
SCALAR_STRING_VALUE
static int
V4_GENERIC_BYTES_VALUE
static int
WAVEFORM_BYTE_VALUE
static int
WAVEFORM_DOUBLE_VALUE
static int
WAVEFORM_ENUM_VALUE
static int
WAVEFORM_FLOAT_VALUE
static int
WAVEFORM_INT_VALUE
static int
WAVEFORM_SHORT_VALUE
static int
WAVEFORM_STRING_VALUE
-
Method Summary
Modifier and Type Method Description static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<EPICSEvent.PayloadType>
internalGetValueMap()
static EPICSEvent.PayloadType
valueOf(int value)
Returns the enum constant of this type with the specified name.static EPICSEvent.PayloadType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EPICSEvent.PayloadType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPICSEvent.PayloadType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALAR_STRING
public static final EPICSEvent.PayloadType SCALAR_STRING
-
SCALAR_SHORT
public static final EPICSEvent.PayloadType SCALAR_SHORT
-
SCALAR_FLOAT
public static final EPICSEvent.PayloadType SCALAR_FLOAT
-
SCALAR_ENUM
public static final EPICSEvent.PayloadType SCALAR_ENUM
-
SCALAR_BYTE
public static final EPICSEvent.PayloadType SCALAR_BYTE
-
SCALAR_INT
public static final EPICSEvent.PayloadType SCALAR_INT
-
SCALAR_DOUBLE
public static final EPICSEvent.PayloadType SCALAR_DOUBLE
-
WAVEFORM_STRING
public static final EPICSEvent.PayloadType WAVEFORM_STRING
-
WAVEFORM_SHORT
public static final EPICSEvent.PayloadType WAVEFORM_SHORT
-
WAVEFORM_FLOAT
public static final EPICSEvent.PayloadType WAVEFORM_FLOAT
-
WAVEFORM_ENUM
public static final EPICSEvent.PayloadType WAVEFORM_ENUM
-
WAVEFORM_BYTE
public static final EPICSEvent.PayloadType WAVEFORM_BYTE
-
WAVEFORM_INT
public static final EPICSEvent.PayloadType WAVEFORM_INT
-
WAVEFORM_DOUBLE
public static final EPICSEvent.PayloadType WAVEFORM_DOUBLE
-
V4_GENERIC_BYTES
public static final EPICSEvent.PayloadType V4_GENERIC_BYTES
-
-
Field Detail
-
SCALAR_STRING_VALUE
public static final int SCALAR_STRING_VALUE
- See Also:
- Constant Field Values
-
SCALAR_SHORT_VALUE
public static final int SCALAR_SHORT_VALUE
- See Also:
- Constant Field Values
-
SCALAR_FLOAT_VALUE
public static final int SCALAR_FLOAT_VALUE
- See Also:
- Constant Field Values
-
SCALAR_ENUM_VALUE
public static final int SCALAR_ENUM_VALUE
- See Also:
- Constant Field Values
-
SCALAR_BYTE_VALUE
public static final int SCALAR_BYTE_VALUE
- See Also:
- Constant Field Values
-
SCALAR_INT_VALUE
public static final int SCALAR_INT_VALUE
- See Also:
- Constant Field Values
-
SCALAR_DOUBLE_VALUE
public static final int SCALAR_DOUBLE_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_STRING_VALUE
public static final int WAVEFORM_STRING_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_SHORT_VALUE
public static final int WAVEFORM_SHORT_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_FLOAT_VALUE
public static final int WAVEFORM_FLOAT_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_ENUM_VALUE
public static final int WAVEFORM_ENUM_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_BYTE_VALUE
public static final int WAVEFORM_BYTE_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_INT_VALUE
public static final int WAVEFORM_INT_VALUE
- See Also:
- Constant Field Values
-
WAVEFORM_DOUBLE_VALUE
public static final int WAVEFORM_DOUBLE_VALUE
- See Also:
- Constant Field Values
-
V4_GENERIC_BYTES_VALUE
public static final int V4_GENERIC_BYTES_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EPICSEvent.PayloadType[] 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
public static EPICSEvent.PayloadType 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
public static EPICSEvent.PayloadType valueOf(int value)
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
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EPICSEvent.PayloadType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EPICSEvent.PayloadType 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
-
-