Class ColumnInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.database.v1.ColumnInfo
All Implemented Interfaces:
ColumnInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ColumnInfo extends com.google.protobuf.GeneratedMessage implements ColumnInfoOrBuilder
 Detailed information about a database column
 
Protobuf type ai.pipestream.parsed.data.database.v1.ColumnInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Detailed information about a database column

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    Whether column auto-increments
    Column data type
    com.google.protobuf.ByteString
    Column data type
    static ColumnInfo
     
     
    Default value for column
    com.google.protobuf.ByteString
    Default value for column
    static final com.google.protobuf.Descriptors.Descriptor
     
    Display format for column
    com.google.protobuf.ByteString
    Display format for column
    Column label/description
    com.google.protobuf.ByteString
    Column label/description
    int
    Maximum length for text columns
    Column name
    com.google.protobuf.ByteString
    Column name
    boolean
    Whether column allows NULL values
    com.google.protobuf.Parser<ColumnInfo>
     
    boolean
    Whether column is primary key
    int
     
    Table this column belongs to
    com.google.protobuf.ByteString
    Table this column belongs to
    boolean
    Whether column auto-increments
    boolean
    Column data type
    boolean
    Default value for column
    boolean
    Display format for column
    int
     
    boolean
    Column label/description
    boolean
    Maximum length for text columns
    boolean
    Column name
    boolean
    Whether column allows NULL values
    boolean
    Whether column is primary key
    boolean
    Table this column belongs to
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static ColumnInfo
     
    static ColumnInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ColumnInfo
    parseFrom(byte[] data)
     
    static ColumnInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ColumnInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static ColumnInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ColumnInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ColumnInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ColumnInfo
     
    static ColumnInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ColumnInfo
     
    static ColumnInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ColumnInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasName

      public boolean hasName()
       Column name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      hasName in interface ColumnInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Column name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getName in interface ColumnInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Column name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for name.
    • hasLabel

      public boolean hasLabel()
       Column label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      hasLabel in interface ColumnInfoOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Column label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      getLabel in interface ColumnInfoOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Column label/description
       
      optional string label = 2 [json_name = "label"];
      Specified by:
      getLabelBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for label.
    • hasTableName

      public boolean hasTableName()
       Table this column belongs to
       
      optional string table_name = 3 [json_name = "tableName"];
      Specified by:
      hasTableName in interface ColumnInfoOrBuilder
      Returns:
      Whether the tableName field is set.
    • getTableName

      public String getTableName()
       Table this column belongs to
       
      optional string table_name = 3 [json_name = "tableName"];
      Specified by:
      getTableName in interface ColumnInfoOrBuilder
      Returns:
      The tableName.
    • getTableNameBytes

      public com.google.protobuf.ByteString getTableNameBytes()
       Table this column belongs to
       
      optional string table_name = 3 [json_name = "tableName"];
      Specified by:
      getTableNameBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for tableName.
    • hasDataType

      public boolean hasDataType()
       Column data type
       
      optional string data_type = 4 [json_name = "dataType"];
      Specified by:
      hasDataType in interface ColumnInfoOrBuilder
      Returns:
      Whether the dataType field is set.
    • getDataType

      public String getDataType()
       Column data type
       
      optional string data_type = 4 [json_name = "dataType"];
      Specified by:
      getDataType in interface ColumnInfoOrBuilder
      Returns:
      The dataType.
    • getDataTypeBytes

      public com.google.protobuf.ByteString getDataTypeBytes()
       Column data type
       
      optional string data_type = 4 [json_name = "dataType"];
      Specified by:
      getDataTypeBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for dataType.
    • hasMaxLength

      public boolean hasMaxLength()
       Maximum length for text columns
       
      optional int32 max_length = 5 [json_name = "maxLength"];
      Specified by:
      hasMaxLength in interface ColumnInfoOrBuilder
      Returns:
      Whether the maxLength field is set.
    • getMaxLength

      public int getMaxLength()
       Maximum length for text columns
       
      optional int32 max_length = 5 [json_name = "maxLength"];
      Specified by:
      getMaxLength in interface ColumnInfoOrBuilder
      Returns:
      The maxLength.
    • hasNullable

      public boolean hasNullable()
       Whether column allows NULL values
       
      optional bool nullable = 6 [json_name = "nullable"];
      Specified by:
      hasNullable in interface ColumnInfoOrBuilder
      Returns:
      Whether the nullable field is set.
    • getNullable

      public boolean getNullable()
       Whether column allows NULL values
       
      optional bool nullable = 6 [json_name = "nullable"];
      Specified by:
      getNullable in interface ColumnInfoOrBuilder
      Returns:
      The nullable.
    • hasPrimaryKey

      public boolean hasPrimaryKey()
       Whether column is primary key
       
      optional bool primary_key = 7 [json_name = "primaryKey"];
      Specified by:
      hasPrimaryKey in interface ColumnInfoOrBuilder
      Returns:
      Whether the primaryKey field is set.
    • getPrimaryKey

      public boolean getPrimaryKey()
       Whether column is primary key
       
      optional bool primary_key = 7 [json_name = "primaryKey"];
      Specified by:
      getPrimaryKey in interface ColumnInfoOrBuilder
      Returns:
      The primaryKey.
    • hasAutoIncrement

      public boolean hasAutoIncrement()
       Whether column auto-increments
       
      optional bool auto_increment = 8 [json_name = "autoIncrement"];
      Specified by:
      hasAutoIncrement in interface ColumnInfoOrBuilder
      Returns:
      Whether the autoIncrement field is set.
    • getAutoIncrement

      public boolean getAutoIncrement()
       Whether column auto-increments
       
      optional bool auto_increment = 8 [json_name = "autoIncrement"];
      Specified by:
      getAutoIncrement in interface ColumnInfoOrBuilder
      Returns:
      The autoIncrement.
    • hasDefaultValue

      public boolean hasDefaultValue()
       Default value for column
       
      optional string default_value = 9 [json_name = "defaultValue"];
      Specified by:
      hasDefaultValue in interface ColumnInfoOrBuilder
      Returns:
      Whether the defaultValue field is set.
    • getDefaultValue

      public String getDefaultValue()
       Default value for column
       
      optional string default_value = 9 [json_name = "defaultValue"];
      Specified by:
      getDefaultValue in interface ColumnInfoOrBuilder
      Returns:
      The defaultValue.
    • getDefaultValueBytes

      public com.google.protobuf.ByteString getDefaultValueBytes()
       Default value for column
       
      optional string default_value = 9 [json_name = "defaultValue"];
      Specified by:
      getDefaultValueBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for defaultValue.
    • hasFormat

      public boolean hasFormat()
       Display format for column
       
      optional string format = 10 [json_name = "format"];
      Specified by:
      hasFormat in interface ColumnInfoOrBuilder
      Returns:
      Whether the format field is set.
    • getFormat

      public String getFormat()
       Display format for column
       
      optional string format = 10 [json_name = "format"];
      Specified by:
      getFormat in interface ColumnInfoOrBuilder
      Returns:
      The format.
    • getFormatBytes

      public com.google.protobuf.ByteString getFormatBytes()
       Display format for column
       
      optional string format = 10 [json_name = "format"];
      Specified by:
      getFormatBytes in interface ColumnInfoOrBuilder
      Returns:
      The bytes for format.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ColumnInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ColumnInfo.Builder newBuilder()
    • newBuilder

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

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

      protected ColumnInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ColumnInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ColumnInfo> 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.GeneratedMessage
    • getDefaultInstanceForType

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