Package com.cognite.client.dto
Enum TimeseriesPoint.DatapointTypeCase
- java.lang.Object
-
- java.lang.Enum<TimeseriesPoint.DatapointTypeCase>
-
- com.cognite.client.dto.TimeseriesPoint.DatapointTypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<TimeseriesPoint.DatapointTypeCase>
- Enclosing class:
- TimeseriesPoint
public static enum TimeseriesPoint.DatapointTypeCase extends Enum<TimeseriesPoint.DatapointTypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATAPOINTTYPE_NOT_SET
VALUE_AGGREGATES
VALUE_NUM
VALUE_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TimeseriesPoint.DatapointTypeCase
forNumber(int value)
int
getNumber()
static TimeseriesPoint.DatapointTypeCase
valueOf(int value)
Deprecated.static TimeseriesPoint.DatapointTypeCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeseriesPoint.DatapointTypeCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE_NUM
public static final TimeseriesPoint.DatapointTypeCase VALUE_NUM
-
VALUE_STRING
public static final TimeseriesPoint.DatapointTypeCase VALUE_STRING
-
VALUE_AGGREGATES
public static final TimeseriesPoint.DatapointTypeCase VALUE_AGGREGATES
-
DATAPOINTTYPE_NOT_SET
public static final TimeseriesPoint.DatapointTypeCase DATAPOINTTYPE_NOT_SET
-
-
Method Detail
-
values
public static TimeseriesPoint.DatapointTypeCase[] 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 (TimeseriesPoint.DatapointTypeCase c : TimeseriesPoint.DatapointTypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeseriesPoint.DatapointTypeCase 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
-
valueOf
@Deprecated public static TimeseriesPoint.DatapointTypeCase 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 TimeseriesPoint.DatapointTypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-