Package com.cognite.client.dto
Class TimeseriesPoint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.TimeseriesPoint
- All Implemented Interfaces:
TimeseriesPointOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class TimeseriesPoint
extends com.google.protobuf.GeneratedMessageV3
implements TimeseriesPointOrBuilder
The time series data point. This is the read-version of the data point which includes aggregate information.Protobuf type
com.cognite.client.dto.TimeseriesPoint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.cognite.client.dto.TimeseriesPoint.Aggregatesstatic interfacestatic final classThe time series data point.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TimeseriesPointstatic final com.google.protobuf.Descriptors.Descriptoroptional string external_id = 2;com.google.protobuf.ByteStringoptional string external_id = 2;longgetId()int64 id = 1;booleanoptional bool is_step = 3;com.google.protobuf.Parser<TimeseriesPoint>intlongint64 timestamp = 4;.com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;.com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;doubledouble value_num = 5;string value_string = 6;com.google.protobuf.ByteStringstring value_string = 6;booleanoptional string external_id = 2;inthashCode()booleanoptional bool is_step = 3;boolean.com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;booleandouble value_num = 5;booleanstring value_string = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic TimeseriesPoint.Builderstatic TimeseriesPoint.BuildernewBuilder(TimeseriesPoint prototype) protected TimeseriesPoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static TimeseriesPointparseDelimitedFrom(InputStream input) static TimeseriesPointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimeseriesPointparseFrom(byte[] data) static TimeseriesPointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimeseriesPointparseFrom(com.google.protobuf.ByteString data) static TimeseriesPointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimeseriesPointparseFrom(com.google.protobuf.CodedInputStream input) static TimeseriesPointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimeseriesPointparseFrom(InputStream input) static TimeseriesPointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TimeseriesPointparseFrom(ByteBuffer data) static TimeseriesPointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TimeseriesPoint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER- See Also:
-
IS_STEP_FIELD_NUMBER
public static final int IS_STEP_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
VALUE_NUM_FIELD_NUMBER
public static final int VALUE_NUM_FIELD_NUMBER- See Also:
-
VALUE_STRING_FIELD_NUMBER
public static final int VALUE_STRING_FIELD_NUMBER- See Also:
-
VALUE_AGGREGATES_FIELD_NUMBER
public static final int VALUE_AGGREGATES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDatapointTypeCase
- Specified by:
getDatapointTypeCasein interfaceTimeseriesPointOrBuilder
-
getId
public long getId()int64 id = 1;- Specified by:
getIdin interfaceTimeseriesPointOrBuilder- Returns:
- The id.
-
hasExternalId
public boolean hasExternalId()optional string external_id = 2;- Specified by:
hasExternalIdin interfaceTimeseriesPointOrBuilder- Returns:
- Whether the externalId field is set.
-
getExternalId
optional string external_id = 2;- Specified by:
getExternalIdin interfaceTimeseriesPointOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()optional string external_id = 2;- Specified by:
getExternalIdBytesin interfaceTimeseriesPointOrBuilder- Returns:
- The bytes for externalId.
-
hasIsStep
public boolean hasIsStep()optional bool is_step = 3;- Specified by:
hasIsStepin interfaceTimeseriesPointOrBuilder- Returns:
- Whether the isStep field is set.
-
getIsStep
public boolean getIsStep()optional bool is_step = 3;- Specified by:
getIsStepin interfaceTimeseriesPointOrBuilder- Returns:
- The isStep.
-
getTimestamp
public long getTimestamp()int64 timestamp = 4;- Specified by:
getTimestampin interfaceTimeseriesPointOrBuilder- Returns:
- The timestamp.
-
hasValueNum
public boolean hasValueNum()double value_num = 5;- Specified by:
hasValueNumin interfaceTimeseriesPointOrBuilder- Returns:
- Whether the valueNum field is set.
-
getValueNum
public double getValueNum()double value_num = 5;- Specified by:
getValueNumin interfaceTimeseriesPointOrBuilder- Returns:
- The valueNum.
-
hasValueString
public boolean hasValueString()string value_string = 6;- Specified by:
hasValueStringin interfaceTimeseriesPointOrBuilder- Returns:
- Whether the valueString field is set.
-
getValueString
string value_string = 6;- Specified by:
getValueStringin interfaceTimeseriesPointOrBuilder- Returns:
- The valueString.
-
getValueStringBytes
public com.google.protobuf.ByteString getValueStringBytes()string value_string = 6;- Specified by:
getValueStringBytesin interfaceTimeseriesPointOrBuilder- Returns:
- The bytes for valueString.
-
hasValueAggregates
public boolean hasValueAggregates().com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;- Specified by:
hasValueAggregatesin interfaceTimeseriesPointOrBuilder- Returns:
- Whether the valueAggregates field is set.
-
getValueAggregates
.com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;- Specified by:
getValueAggregatesin interfaceTimeseriesPointOrBuilder- Returns:
- The valueAggregates.
-
getValueAggregatesOrBuilder
.com.cognite.client.dto.TimeseriesPoint.Aggregates value_aggregates = 7;- Specified by:
getValueAggregatesOrBuilderin interfaceTimeseriesPointOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TimeseriesPoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimeseriesPoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimeseriesPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimeseriesPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimeseriesPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TimeseriesPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TimeseriesPoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TimeseriesPoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TimeseriesPoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TimeseriesPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TimeseriesPoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-