Package com.cognite.v1.timeseries.proto
Class DataPointListItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.cognite.v1.timeseries.proto.DataPointListItem
-
- All Implemented Interfaces:
DataPointListItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataPointListItem extends com.google.protobuf.GeneratedMessageV3 implements DataPointListItemOrBuilder
Protobuf typecom.cognite.v1.timeseries.proto.DataPointListItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataPointListItem.BuilderProtobuf typecom.cognite.v1.timeseries.proto.DataPointListItemstatic classDataPointListItem.DatapointTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAGGREGATEDATAPOINTS_FIELD_NUMBERstatic intEXTERNALID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intISSTEP_FIELD_NUMBERstatic intISSTRING_FIELD_NUMBERstatic intNUMERICDATAPOINTS_FIELD_NUMBERstatic intSTRINGDATAPOINTS_FIELD_NUMBERstatic intUNIT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AggregateDatapointsgetAggregateDatapoints().com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;AggregateDatapointsOrBuildergetAggregateDatapointsOrBuilder().com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;DataPointListItem.DatapointTypeCasegetDatapointTypeCase()static DataPointListItemgetDefaultInstance()DataPointListItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalId()string externalId = 2;com.google.protobuf.ByteStringgetExternalIdBytes()string externalId = 2;longgetId()int64 id = 1;booleangetIsStep()bool isStep = 7;booleangetIsString()bool isString = 6;NumericDatapointsgetNumericDatapoints().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;NumericDatapointsOrBuildergetNumericDatapointsOrBuilder().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;com.google.protobuf.Parser<DataPointListItem>getParserForType()intgetSerializedSize()StringDatapointsgetStringDatapoints().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;StringDatapointsOrBuildergetStringDatapointsOrBuilder().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;StringgetUnit()string unit = 8;com.google.protobuf.ByteStringgetUnitBytes()string unit = 8;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAggregateDatapoints().com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;inthashCode()booleanhasNumericDatapoints().com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;booleanhasStringDatapoints().com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataPointListItem.BuildernewBuilder()static DataPointListItem.BuildernewBuilder(DataPointListItem prototype)DataPointListItem.BuildernewBuilderForType()protected DataPointListItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataPointListItemparseDelimitedFrom(InputStream input)static DataPointListItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointListItemparseFrom(byte[] data)static DataPointListItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointListItemparseFrom(com.google.protobuf.ByteString data)static DataPointListItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointListItemparseFrom(com.google.protobuf.CodedInputStream input)static DataPointListItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointListItemparseFrom(InputStream input)static DataPointListItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataPointListItemparseFrom(ByteBuffer data)static DataPointListItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataPointListItem>parser()DataPointListItem.BuildertoBuilder()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, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNALID_FIELD_NUMBER
public static final int EXTERNALID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISSTRING_FIELD_NUMBER
public static final int ISSTRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISSTEP_FIELD_NUMBER
public static final int ISSTEP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMERICDATAPOINTS_FIELD_NUMBER
public static final int NUMERICDATAPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRINGDATAPOINTS_FIELD_NUMBER
public static final int STRINGDATAPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AGGREGATEDATAPOINTS_FIELD_NUMBER
public static final int AGGREGATEDATAPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public DataPointListItem.DatapointTypeCase getDatapointTypeCase()
- Specified by:
getDatapointTypeCasein interfaceDataPointListItemOrBuilder
-
getId
public long getId()
int64 id = 1;- Specified by:
getIdin interfaceDataPointListItemOrBuilder- Returns:
- The id.
-
getExternalId
public String getExternalId()
string externalId = 2;- Specified by:
getExternalIdin interfaceDataPointListItemOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
string externalId = 2;- Specified by:
getExternalIdBytesin interfaceDataPointListItemOrBuilder- Returns:
- The bytes for externalId.
-
getIsString
public boolean getIsString()
bool isString = 6;- Specified by:
getIsStringin interfaceDataPointListItemOrBuilder- Returns:
- The isString.
-
getIsStep
public boolean getIsStep()
bool isStep = 7;- Specified by:
getIsStepin interfaceDataPointListItemOrBuilder- Returns:
- The isStep.
-
getUnit
public String getUnit()
string unit = 8;- Specified by:
getUnitin interfaceDataPointListItemOrBuilder- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()
string unit = 8;- Specified by:
getUnitBytesin interfaceDataPointListItemOrBuilder- Returns:
- The bytes for unit.
-
hasNumericDatapoints
public boolean hasNumericDatapoints()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
hasNumericDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- Whether the numericDatapoints field is set.
-
getNumericDatapoints
public NumericDatapoints getNumericDatapoints()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
getNumericDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- The numericDatapoints.
-
getNumericDatapointsOrBuilder
public NumericDatapointsOrBuilder getNumericDatapointsOrBuilder()
.com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;- Specified by:
getNumericDatapointsOrBuilderin interfaceDataPointListItemOrBuilder
-
hasStringDatapoints
public boolean hasStringDatapoints()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
hasStringDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- Whether the stringDatapoints field is set.
-
getStringDatapoints
public StringDatapoints getStringDatapoints()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
getStringDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- The stringDatapoints.
-
getStringDatapointsOrBuilder
public StringDatapointsOrBuilder getStringDatapointsOrBuilder()
.com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;- Specified by:
getStringDatapointsOrBuilderin interfaceDataPointListItemOrBuilder
-
hasAggregateDatapoints
public boolean hasAggregateDatapoints()
.com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;- Specified by:
hasAggregateDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- Whether the aggregateDatapoints field is set.
-
getAggregateDatapoints
public AggregateDatapoints getAggregateDatapoints()
.com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;- Specified by:
getAggregateDatapointsin interfaceDataPointListItemOrBuilder- Returns:
- The aggregateDatapoints.
-
getAggregateDatapointsOrBuilder
public AggregateDatapointsOrBuilder getAggregateDatapointsOrBuilder()
.com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;- Specified by:
getAggregateDatapointsOrBuilderin interfaceDataPointListItemOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 DataPointListItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataPointListItem parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointListItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataPointListItem parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataPointListItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointListItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataPointListItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataPointListItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataPointListItem.Builder newBuilder()
-
newBuilder
public static DataPointListItem.Builder newBuilder(DataPointListItem prototype)
-
toBuilder
public DataPointListItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataPointListItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataPointListItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataPointListItem> parser()
-
getParserForType
public com.google.protobuf.Parser<DataPointListItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataPointListItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-