Class DataPointInsertionItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.v1.timeseries.proto.DataPointInsertionItem
All Implemented Interfaces:
DataPointInsertionItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DataPointInsertionItem extends com.google.protobuf.GeneratedMessageV3 implements DataPointInsertionItemOrBuilder
Protobuf type com.cognite.v1.timeseries.proto.DataPointInsertionItem
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:
    • NUMERICDATAPOINTS_FIELD_NUMBER

      public static final int NUMERICDATAPOINTS_FIELD_NUMBER
      See Also:
    • STRINGDATAPOINTS_FIELD_NUMBER

      public static final int STRINGDATAPOINTS_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
    • getIdOrExternalIdCase

      public DataPointInsertionItem.IdOrExternalIdCase getIdOrExternalIdCase()
      Specified by:
      getIdOrExternalIdCase in interface DataPointInsertionItemOrBuilder
    • getDatapointTypeCase

      public DataPointInsertionItem.DatapointTypeCase getDatapointTypeCase()
      Specified by:
      getDatapointTypeCase in interface DataPointInsertionItemOrBuilder
    • hasId

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

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

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

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

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

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

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

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

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

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

      public StringDatapointsOrBuilder getStringDatapointsOrBuilder()
      .com.cognite.v1.timeseries.proto.StringDatapoints stringDatapoints = 4;
      Specified by:
      getStringDatapointsOrBuilder in interface DataPointInsertionItemOrBuilder
    • 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 DataPointInsertionItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DataPointInsertionItem.Builder newBuilder()
    • newBuilder

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

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

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

      public static DataPointInsertionItem getDefaultInstance()
    • parser

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

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