Class TimeseriesPointPost

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.TimeseriesPointPost
All Implemented Interfaces:
TimeseriesPointPostOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class TimeseriesPointPost extends com.google.protobuf.GeneratedMessageV3 implements TimeseriesPointPostOrBuilder

The time series data point, write-version. This is a write-optimized version of the TS data point that is only used
when writing data points to CDF.
 
Protobuf type com.cognite.client.dto.TimeseriesPointPost
See Also:
  • Field Details

  • 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
    • getIdTypeCase

      public TimeseriesPointPost.IdTypeCase getIdTypeCase()
      Specified by:
      getIdTypeCase in interface TimeseriesPointPostOrBuilder
    • getValueTypeCase

      public TimeseriesPointPost.ValueTypeCase getValueTypeCase()
      Specified by:
      getValueTypeCase in interface TimeseriesPointPostOrBuilder
    • hasId

      public boolean hasId()
      int64 id = 1;
      Specified by:
      hasId in interface TimeseriesPointPostOrBuilder
      Returns:
      Whether the id field is set.
    • getId

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

      public boolean hasExternalId()
      string external_id = 2;
      Specified by:
      hasExternalId in interface TimeseriesPointPostOrBuilder
      Returns:
      Whether the externalId field is set.
    • getExternalId

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

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

      public long getTimestamp()
      int64 timestamp = 3;
      Specified by:
      getTimestamp in interface TimeseriesPointPostOrBuilder
      Returns:
      The timestamp.
    • hasValueNum

      public boolean hasValueNum()
      double value_num = 4;
      Specified by:
      hasValueNum in interface TimeseriesPointPostOrBuilder
      Returns:
      Whether the valueNum field is set.
    • getValueNum

      public double getValueNum()
      double value_num = 4;
      Specified by:
      getValueNum in interface TimeseriesPointPostOrBuilder
      Returns:
      The valueNum.
    • hasValueString

      public boolean hasValueString()
      string value_string = 5;
      Specified by:
      hasValueString in interface TimeseriesPointPostOrBuilder
      Returns:
      Whether the valueString field is set.
    • getValueString

      public String getValueString()
      string value_string = 5;
      Specified by:
      getValueString in interface TimeseriesPointPostOrBuilder
      Returns:
      The valueString.
    • getValueStringBytes

      public com.google.protobuf.ByteString getValueStringBytes()
      string value_string = 5;
      Specified by:
      getValueStringBytes in interface TimeseriesPointPostOrBuilder
      Returns:
      The bytes for valueString.
    • getIsStep

      public boolean getIsStep()
      bool isStep = 6;
      Specified by:
      getIsStep in interface TimeseriesPointPostOrBuilder
      Returns:
      The isStep.
    • 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 TimeseriesPointPost parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TimeseriesPointPost parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimeseriesPointPost parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimeseriesPointPost parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimeseriesPointPost parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimeseriesPointPost parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimeseriesPointPost parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static TimeseriesPointPost.Builder newBuilder()
    • newBuilder

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

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

      protected TimeseriesPointPost.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static TimeseriesPointPost getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TimeseriesPointPost> parser()
    • getParserForType

      public com.google.protobuf.Parser<TimeseriesPointPost> 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 TimeseriesPointPost getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder