Class SequenceColumn

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

public final class SequenceColumn extends com.google.protobuf.GeneratedMessageV3 implements SequenceColumnOrBuilder

A SequenceColumn describes the data that is contained in the sequence rows.
 
Protobuf type com.cognite.client.dto.SequenceColumn
See Also:
  • Field Details

    • EXTERNAL_ID_FIELD_NUMBER

      public static final int EXTERNAL_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • VALUE_TYPE_FIELD_NUMBER

      public static final int VALUE_TYPE_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • CREATED_TIME_FIELD_NUMBER

      public static final int CREATED_TIME_FIELD_NUMBER
      See Also:
    • LAST_UPDATED_TIME_FIELD_NUMBER

      public static final int LAST_UPDATED_TIME_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()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

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

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

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

      public boolean hasName()
      optional string name = 2;
      Specified by:
      hasName in interface SequenceColumnOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
      optional string name = 2;
      Specified by:
      getName in interface SequenceColumnOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 2;
      Specified by:
      getNameBytes in interface SequenceColumnOrBuilder
      Returns:
      The bytes for name.
    • hasDescription

      public boolean hasDescription()
      optional string description = 3;
      Specified by:
      hasDescription in interface SequenceColumnOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 3;
      Specified by:
      getDescription in interface SequenceColumnOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 3;
      Specified by:
      getDescriptionBytes in interface SequenceColumnOrBuilder
      Returns:
      The bytes for description.
    • getValueTypeValue

      public int getValueTypeValue()
      .com.cognite.client.dto.SequenceColumn.ValueType value_type = 4;
      Specified by:
      getValueTypeValue in interface SequenceColumnOrBuilder
      Returns:
      The enum numeric value on the wire for valueType.
    • getValueType

      public SequenceColumn.ValueType getValueType()
      .com.cognite.client.dto.SequenceColumn.ValueType value_type = 4;
      Specified by:
      getValueType in interface SequenceColumnOrBuilder
      Returns:
      The valueType.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: SequenceColumnOrBuilder
      map<string, string> metadata = 5;
      Specified by:
      getMetadataCount in interface SequenceColumnOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
      map<string, string> metadata = 5;
      Specified by:
      containsMetadata in interface SequenceColumnOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface SequenceColumnOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
      map<string, string> metadata = 5;
      Specified by:
      getMetadataMap in interface SequenceColumnOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
      map<string, string> metadata = 5;
      Specified by:
      getMetadataOrDefault in interface SequenceColumnOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
      map<string, string> metadata = 5;
      Specified by:
      getMetadataOrThrow in interface SequenceColumnOrBuilder
    • hasCreatedTime

      public boolean hasCreatedTime()
      optional int64 created_time = 6;
      Specified by:
      hasCreatedTime in interface SequenceColumnOrBuilder
      Returns:
      Whether the createdTime field is set.
    • getCreatedTime

      public long getCreatedTime()
      optional int64 created_time = 6;
      Specified by:
      getCreatedTime in interface SequenceColumnOrBuilder
      Returns:
      The createdTime.
    • hasLastUpdatedTime

      public boolean hasLastUpdatedTime()
      optional int64 last_updated_time = 7;
      Specified by:
      hasLastUpdatedTime in interface SequenceColumnOrBuilder
      Returns:
      Whether the lastUpdatedTime field is set.
    • getLastUpdatedTime

      public long getLastUpdatedTime()
      optional int64 last_updated_time = 7;
      Specified by:
      getLastUpdatedTime in interface SequenceColumnOrBuilder
      Returns:
      The lastUpdatedTime.
    • 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 SequenceColumn parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SequenceColumn.Builder newBuilder()
    • newBuilder

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

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

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

      public static SequenceColumn getDefaultInstance()
    • parser

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

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