Class Meta.ColumnDefinition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.ColumnDefinition
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.ColumnDefinitionOrBuilder, Serializable
Enclosing class:
Meta

public static final class Meta.ColumnDefinition extends com.google.protobuf.GeneratedMessageV3 implements Meta.ColumnDefinitionOrBuilder

 Column Definition.
 
Protobuf type dingodb.pb.meta.ColumnDefinition
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SQL_TYPE_FIELD_NUMBER

      public static final int SQL_TYPE_FIELD_NUMBER
      See Also:
    • ELEMENT_TYPE_FIELD_NUMBER

      public static final int ELEMENT_TYPE_FIELD_NUMBER
      See Also:
    • PRECISION_FIELD_NUMBER

      public static final int PRECISION_FIELD_NUMBER
      See Also:
    • SCALE_FIELD_NUMBER

      public static final int SCALE_FIELD_NUMBER
      See Also:
    • NULLABLE_FIELD_NUMBER

      public static final int NULLABLE_FIELD_NUMBER
      See Also:
    • INDEXOFKEY_FIELD_NUMBER

      public static final int INDEXOFKEY_FIELD_NUMBER
      See Also:
    • HAS_DEFAULT_VAL_FIELD_NUMBER

      public static final int HAS_DEFAULT_VAL_FIELD_NUMBER
      See Also:
    • DEFAULT_VAL_FIELD_NUMBER

      public static final int DEFAULT_VAL_FIELD_NUMBER
      See Also:
    • IS_AUTO_INCREMENT_FIELD_NUMBER

      public static final int IS_AUTO_INCREMENT_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • COMMENT_FIELD_NUMBER

      public static final int COMMENT_FIELD_NUMBER
      See Also:
    • SCHEMASTATE_FIELD_NUMBER

      public static final int SCHEMASTATE_FIELD_NUMBER
      See Also:
    • CREATE_VERSION_FIELD_NUMBER

      public static final int CREATE_VERSION_FIELD_NUMBER
      See Also:
    • UPDATE_VERSION_FIELD_NUMBER

      public static final int UPDATE_VERSION_FIELD_NUMBER
      See Also:
    • DELETE_VERSION_FIELD_NUMBER

      public static final int DELETE_VERSION_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
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The bytes for name.
    • getSqlType

      public String getSqlType()
      string sql_type = 2;
      Specified by:
      getSqlType in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The sqlType.
    • getSqlTypeBytes

      public com.google.protobuf.ByteString getSqlTypeBytes()
      string sql_type = 2;
      Specified by:
      getSqlTypeBytes in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The bytes for sqlType.
    • getElementType

      public String getElementType()
      string element_type = 3;
      Specified by:
      getElementType in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The elementType.
    • getElementTypeBytes

      public com.google.protobuf.ByteString getElementTypeBytes()
      string element_type = 3;
      Specified by:
      getElementTypeBytes in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The bytes for elementType.
    • getPrecision

      public int getPrecision()
      int32 precision = 4;
      Specified by:
      getPrecision in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The precision.
    • getScale

      public int getScale()
      int32 scale = 5;
      Specified by:
      getScale in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The scale.
    • getNullable

      public boolean getNullable()
      bool nullable = 6;
      Specified by:
      getNullable in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The nullable.
    • getIndexOfKey

      public int getIndexOfKey()
      int32 indexOfKey = 7;
      Specified by:
      getIndexOfKey in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The indexOfKey.
    • getHasDefaultVal

      public boolean getHasDefaultVal()
      bool has_default_val = 8;
      Specified by:
      getHasDefaultVal in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The hasDefaultVal.
    • getDefaultVal

      public String getDefaultVal()
      string default_val = 9;
      Specified by:
      getDefaultVal in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The defaultVal.
    • getDefaultValBytes

      public com.google.protobuf.ByteString getDefaultValBytes()
      string default_val = 9;
      Specified by:
      getDefaultValBytes in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The bytes for defaultVal.
    • getIsAutoIncrement

      public boolean getIsAutoIncrement()
      bool is_auto_increment = 10;
      Specified by:
      getIsAutoIncrement in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The isAutoIncrement.
    • getState

      public int getState()
      int32 state = 20;
      Specified by:
      getState in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The state.
    • getComment

      public String getComment()
      string comment = 30;
      Specified by:
      getComment in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The comment.
    • getCommentBytes

      public com.google.protobuf.ByteString getCommentBytes()
      string comment = 30;
      Specified by:
      getCommentBytes in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The bytes for comment.
    • getSchemaStateValue

      public int getSchemaStateValue()
      .dingodb.pb.common.SchemaState schemaState = 31;
      Specified by:
      getSchemaStateValue in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The enum numeric value on the wire for schemaState.
    • getSchemaState

      public Common.SchemaState getSchemaState()
      .dingodb.pb.common.SchemaState schemaState = 31;
      Specified by:
      getSchemaState in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The schemaState.
    • getCreateVersion

      public int getCreateVersion()
      uint32 create_version = 51;
      Specified by:
      getCreateVersion in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The createVersion.
    • getUpdateVersion

      public int getUpdateVersion()
      uint32 update_version = 52;
      Specified by:
      getUpdateVersion in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The updateVersion.
    • getDeleteVersion

      public int getDeleteVersion()
      uint32 delete_version = 53;
      Specified by:
      getDeleteVersion in interface Meta.ColumnDefinitionOrBuilder
      Returns:
      The deleteVersion.
    • 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 Meta.ColumnDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Meta.ColumnDefinition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Meta.ColumnDefinition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Meta.ColumnDefinition.Builder newBuilder()
    • newBuilder

      public static Meta.ColumnDefinition.Builder newBuilder(Meta.ColumnDefinition prototype)
    • toBuilder

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

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

      public static Meta.ColumnDefinition getDefaultInstance()
    • parser

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

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