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 type com.cognite.v1.timeseries.proto.DataPointListItem
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • EXTERNALID_FIELD_NUMBER

      public static final int EXTERNALID_FIELD_NUMBER
      See Also:
    • ISSTRING_FIELD_NUMBER

      public static final int ISSTRING_FIELD_NUMBER
      See Also:
    • ISSTEP_FIELD_NUMBER

      public static final int ISSTEP_FIELD_NUMBER
      See Also:
    • UNIT_FIELD_NUMBER

      public static final int UNIT_FIELD_NUMBER
      See Also:
    • NUMERICDATAPOINTS_FIELD_NUMBER

      public static final int NUMERICDATAPOINTS_FIELD_NUMBER
      See Also:
    • STRINGDATAPOINTS_FIELD_NUMBER

      public static final int STRINGDATAPOINTS_FIELD_NUMBER
      See Also:
    • AGGREGATEDATAPOINTS_FIELD_NUMBER

      public static final int AGGREGATEDATAPOINTS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getDatapointTypeCase

      public DataPointListItem.DatapointTypeCase getDatapointTypeCase()
      Specified by:
      getDatapointTypeCase in interface DataPointListItemOrBuilder
    • getId

      public long getId()
      int64 id = 1;
      Specified by:
      getId in interface DataPointListItemOrBuilder
      Returns:
      The id.
    • getExternalId

      public String getExternalId()
      string externalId = 2;
      Specified by:
      getExternalId in interface DataPointListItemOrBuilder
      Returns:
      The externalId.
    • getExternalIdBytes

      public com.google.protobuf.ByteString getExternalIdBytes()
      string externalId = 2;
      Specified by:
      getExternalIdBytes in interface DataPointListItemOrBuilder
      Returns:
      The bytes for externalId.
    • getIsString

      public boolean getIsString()
      bool isString = 6;
      Specified by:
      getIsString in interface DataPointListItemOrBuilder
      Returns:
      The isString.
    • getIsStep

      public boolean getIsStep()
      bool isStep = 7;
      Specified by:
      getIsStep in interface DataPointListItemOrBuilder
      Returns:
      The isStep.
    • getUnit

      public String getUnit()
      string unit = 8;
      Specified by:
      getUnit in interface DataPointListItemOrBuilder
      Returns:
      The unit.
    • getUnitBytes

      public com.google.protobuf.ByteString getUnitBytes()
      string unit = 8;
      Specified by:
      getUnitBytes in interface DataPointListItemOrBuilder
      Returns:
      The bytes for unit.
    • hasNumericDatapoints

      public boolean hasNumericDatapoints()
      .com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;
      Specified by:
      hasNumericDatapoints in interface DataPointListItemOrBuilder
      Returns:
      Whether the numericDatapoints field is set.
    • getNumericDatapoints

      public NumericDatapoints getNumericDatapoints()
      .com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;
      Specified by:
      getNumericDatapoints in interface DataPointListItemOrBuilder
      Returns:
      The numericDatapoints.
    • getNumericDatapointsOrBuilder

      public NumericDatapointsOrBuilder getNumericDatapointsOrBuilder()
      .com.cognite.v1.timeseries.proto.NumericDatapoints numericDatapoints = 3;
      Specified by:
      getNumericDatapointsOrBuilder in interface DataPointListItemOrBuilder
    • hasStringDatapoints

      public boolean hasStringDatapoints()
      .com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;
      Specified by:
      hasStringDatapoints in interface DataPointListItemOrBuilder
      Returns:
      Whether the stringDatapoints field is set.
    • getStringDatapoints

      public StringDatapoints getStringDatapoints()
      .com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;
      Specified by:
      getStringDatapoints in interface DataPointListItemOrBuilder
      Returns:
      The stringDatapoints.
    • getStringDatapointsOrBuilder

      public StringDatapointsOrBuilder getStringDatapointsOrBuilder()
      .com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;
      Specified by:
      getStringDatapointsOrBuilder in interface DataPointListItemOrBuilder
    • hasAggregateDatapoints

      public boolean hasAggregateDatapoints()
      .com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;
      Specified by:
      hasAggregateDatapoints in interface DataPointListItemOrBuilder
      Returns:
      Whether the aggregateDatapoints field is set.
    • getAggregateDatapoints

      public AggregateDatapoints getAggregateDatapoints()
      .com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;
      Specified by:
      getAggregateDatapoints in interface DataPointListItemOrBuilder
      Returns:
      The aggregateDatapoints.
    • getAggregateDatapointsOrBuilder

      public AggregateDatapointsOrBuilder getAggregateDatapointsOrBuilder()
      .com.cognite.v1.timeseries.proto.AggregateDatapoints aggregateDatapoints = 5;
      Specified by:
      getAggregateDatapointsOrBuilder in interface DataPointListItemOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataPointListItem.Builder newBuilder()
    • newBuilder

      public static DataPointListItem.Builder newBuilder(DataPointListItem prototype)
    • toBuilder

      public DataPointListItem.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataPointListItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DataPointListItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder