Package com.elide.model
Enum Class DatapointType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DatapointType>,Constable
public enum DatapointType
extends Enum<DatapointType>
implements com.google.protobuf.ProtocolMessageEnum
Specifies the types an object may use when defining special objects. These types govern how an object is treated, listed, and adapted throughout its lifecycle.Protobuf enum
elide.model.DatapointType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe datamodel represents an event type.The datamodel represents a hash pre-image.The datamodel represents an object record.Specifies that this datapoint type is a record key.The datamodel represents a table.The datamodel represents a wire object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe datamodel represents an event type.static final intThe datamodel represents a hash pre-image.static final intSpecifies that this datapoint type is a record key.static final intThe datamodel represents an object record.static final intThe datamodel represents a table.static final intThe datamodel represents a wire object. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatapointTypeforNumber(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<DatapointType>static DatapointTypevalueOf(int value) Deprecated.static DatapointTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static DatapointTypeReturns the enum constant of this class with the specified name.static DatapointType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OBJECT
The datamodel represents an object record.
OBJECT = 0; -
OBJECT_KEY
Specifies that this datapoint type is a record key.
OBJECT_KEY = 1; -
EVENT
The datamodel represents an event type.
EVENT = 2; -
TABLE
The datamodel represents a table.
TABLE = 3; -
WIRE
The datamodel represents a wire object.
WIRE = 4; -
HASH
The datamodel represents a hash pre-image.
HASH = 5; -
UNRECOGNIZED
-
-
Field Details
-
OBJECT_VALUE
public static final int OBJECT_VALUEThe datamodel represents an object record.
OBJECT = 0;- See Also:
-
OBJECT_KEY_VALUE
public static final int OBJECT_KEY_VALUESpecifies that this datapoint type is a record key.
OBJECT_KEY = 1;- See Also:
-
EVENT_VALUE
public static final int EVENT_VALUEThe datamodel represents an event type.
EVENT = 2;- See Also:
-
TABLE_VALUE
public static final int TABLE_VALUEThe datamodel represents a table.
TABLE = 3;- See Also:
-
WIRE_VALUE
public static final int WIRE_VALUEThe datamodel represents a wire object.
WIRE = 4;- See Also:
-
HASH_VALUE
public static final int HASH_VALUEThe datamodel represents a hash pre-image.
HASH = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-