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 columnProtobuf type
ai.pipestream.parsed.data.database.v1.ColumnInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetailed information about a database columnNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether column auto-incrementsColumn data typecom.google.protobuf.ByteStringColumn data typestatic ColumnInfoDefault value for columncom.google.protobuf.ByteStringDefault value for columnstatic final com.google.protobuf.Descriptors.DescriptorDisplay format for columncom.google.protobuf.ByteStringDisplay format for columngetLabel()Column label/descriptioncom.google.protobuf.ByteStringColumn label/descriptionintMaximum length for text columnsgetName()Column namecom.google.protobuf.ByteStringColumn namebooleanWhether column allows NULL valuescom.google.protobuf.Parser<ColumnInfo> booleanWhether column is primary keyintTable this column belongs tocom.google.protobuf.ByteStringTable this column belongs tobooleanWhether column auto-incrementsbooleanColumn data typebooleanDefault value for columnbooleanDisplay format for columninthashCode()booleanhasLabel()Column label/descriptionbooleanMaximum length for text columnsbooleanhasName()Column namebooleanWhether column allows NULL valuesbooleanWhether column is primary keybooleanTable this column belongs toprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ColumnInfo.Builderstatic ColumnInfo.BuildernewBuilder(ColumnInfo prototype) protected ColumnInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ColumnInfoparseDelimitedFrom(InputStream input) static ColumnInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ColumnInfoparseFrom(byte[] data) static ColumnInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ColumnInfoparseFrom(com.google.protobuf.ByteString data) static ColumnInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ColumnInfoparseFrom(com.google.protobuf.CodedInputStream input) static ColumnInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ColumnInfoparseFrom(InputStream input) static ColumnInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ColumnInfoparseFrom(ByteBuffer data) static ColumnInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ColumnInfo> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER- See Also:
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER- See Also:
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER- See Also:
-
MAX_LENGTH_FIELD_NUMBER
public static final int MAX_LENGTH_FIELD_NUMBER- See Also:
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER- See Also:
-
PRIMARY_KEY_FIELD_NUMBER
public static final int PRIMARY_KEY_FIELD_NUMBER- See Also:
-
AUTO_INCREMENT_FIELD_NUMBER
public static final int AUTO_INCREMENT_FIELD_NUMBER- See Also:
-
DEFAULT_VALUE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER- See Also:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasName
public boolean hasName()Column name
optional string name = 1 [json_name = "name"];- Specified by:
hasNamein interfaceColumnInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Column name
optional string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceColumnInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Column name
optional string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for name.
-
hasLabel
public boolean hasLabel()Column label/description
optional string label = 2 [json_name = "label"];- Specified by:
hasLabelin interfaceColumnInfoOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Column label/description
optional string label = 2 [json_name = "label"];- Specified by:
getLabelin interfaceColumnInfoOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Column label/description
optional string label = 2 [json_name = "label"];- Specified by:
getLabelBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for label.
-
hasTableName
public boolean hasTableName()Table this column belongs to
optional string table_name = 3 [json_name = "tableName"];- Specified by:
hasTableNamein interfaceColumnInfoOrBuilder- Returns:
- Whether the tableName field is set.
-
getTableName
Table this column belongs to
optional string table_name = 3 [json_name = "tableName"];- Specified by:
getTableNamein interfaceColumnInfoOrBuilder- 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:
getTableNameBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for tableName.
-
hasDataType
public boolean hasDataType()Column data type
optional string data_type = 4 [json_name = "dataType"];- Specified by:
hasDataTypein interfaceColumnInfoOrBuilder- Returns:
- Whether the dataType field is set.
-
getDataType
Column data type
optional string data_type = 4 [json_name = "dataType"];- Specified by:
getDataTypein interfaceColumnInfoOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()Column data type
optional string data_type = 4 [json_name = "dataType"];- Specified by:
getDataTypeBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for dataType.
-
hasMaxLength
public boolean hasMaxLength()Maximum length for text columns
optional int32 max_length = 5 [json_name = "maxLength"];- Specified by:
hasMaxLengthin interfaceColumnInfoOrBuilder- 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:
getMaxLengthin interfaceColumnInfoOrBuilder- Returns:
- The maxLength.
-
hasNullable
public boolean hasNullable()Whether column allows NULL values
optional bool nullable = 6 [json_name = "nullable"];- Specified by:
hasNullablein interfaceColumnInfoOrBuilder- 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:
getNullablein interfaceColumnInfoOrBuilder- Returns:
- The nullable.
-
hasPrimaryKey
public boolean hasPrimaryKey()Whether column is primary key
optional bool primary_key = 7 [json_name = "primaryKey"];- Specified by:
hasPrimaryKeyin interfaceColumnInfoOrBuilder- 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:
getPrimaryKeyin interfaceColumnInfoOrBuilder- Returns:
- The primaryKey.
-
hasAutoIncrement
public boolean hasAutoIncrement()Whether column auto-increments
optional bool auto_increment = 8 [json_name = "autoIncrement"];- Specified by:
hasAutoIncrementin interfaceColumnInfoOrBuilder- 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:
getAutoIncrementin interfaceColumnInfoOrBuilder- Returns:
- The autoIncrement.
-
hasDefaultValue
public boolean hasDefaultValue()Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Specified by:
hasDefaultValuein interfaceColumnInfoOrBuilder- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Specified by:
getDefaultValuein interfaceColumnInfoOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Specified by:
getDefaultValueBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for defaultValue.
-
hasFormat
public boolean hasFormat()Display format for column
optional string format = 10 [json_name = "format"];- Specified by:
hasFormatin interfaceColumnInfoOrBuilder- Returns:
- Whether the format field is set.
-
getFormat
Display format for column
optional string format = 10 [json_name = "format"];- Specified by:
getFormatin interfaceColumnInfoOrBuilder- Returns:
- The format.
-
getFormatBytes
public com.google.protobuf.ByteString getFormatBytes()Display format for column
optional string format = 10 [json_name = "format"];- Specified by:
getFormatBytesin interfaceColumnInfoOrBuilder- Returns:
- The bytes for format.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ColumnInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ColumnInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ColumnInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ColumnInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-