Interface ColumnInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ColumnInfo,ColumnInfo.Builder
@Generated
public interface ColumnInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether column auto-incrementsColumn data typecom.google.protobuf.ByteStringColumn data typeDefault value for columncom.google.protobuf.ByteStringDefault value for columnDisplay 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 valuesbooleanWhether column is primary keyTable this column belongs tocom.google.protobuf.ByteStringTable this column belongs tobooleanWhether column auto-incrementsbooleanColumn data typebooleanDefault value for columnbooleanDisplay format for columnbooleanhasLabel()Column label/descriptionbooleanMaximum length for text columnsbooleanhasName()Column namebooleanWhether column allows NULL valuesbooleanWhether column is primary keybooleanTable this column belongs toMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Column name
optional string name = 1 [json_name = "name"];- Returns:
- Whether the name field is set.
-
getName
String getName()Column name
optional string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Column name
optional string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
hasLabel
boolean hasLabel()Column label/description
optional string label = 2 [json_name = "label"];- Returns:
- Whether the label field is set.
-
getLabel
String getLabel()Column label/description
optional string label = 2 [json_name = "label"];- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()Column label/description
optional string label = 2 [json_name = "label"];- Returns:
- The bytes for label.
-
hasTableName
boolean hasTableName()Table this column belongs to
optional string table_name = 3 [json_name = "tableName"];- Returns:
- Whether the tableName field is set.
-
getTableName
String getTableName()Table this column belongs to
optional string table_name = 3 [json_name = "tableName"];- Returns:
- The tableName.
-
getTableNameBytes
com.google.protobuf.ByteString getTableNameBytes()Table this column belongs to
optional string table_name = 3 [json_name = "tableName"];- Returns:
- The bytes for tableName.
-
hasDataType
boolean hasDataType()Column data type
optional string data_type = 4 [json_name = "dataType"];- Returns:
- Whether the dataType field is set.
-
getDataType
String getDataType()Column data type
optional string data_type = 4 [json_name = "dataType"];- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()Column data type
optional string data_type = 4 [json_name = "dataType"];- Returns:
- The bytes for dataType.
-
hasMaxLength
boolean hasMaxLength()Maximum length for text columns
optional int32 max_length = 5 [json_name = "maxLength"];- Returns:
- Whether the maxLength field is set.
-
getMaxLength
int getMaxLength()Maximum length for text columns
optional int32 max_length = 5 [json_name = "maxLength"];- Returns:
- The maxLength.
-
hasNullable
boolean hasNullable()Whether column allows NULL values
optional bool nullable = 6 [json_name = "nullable"];- Returns:
- Whether the nullable field is set.
-
getNullable
boolean getNullable()Whether column allows NULL values
optional bool nullable = 6 [json_name = "nullable"];- Returns:
- The nullable.
-
hasPrimaryKey
boolean hasPrimaryKey()Whether column is primary key
optional bool primary_key = 7 [json_name = "primaryKey"];- Returns:
- Whether the primaryKey field is set.
-
getPrimaryKey
boolean getPrimaryKey()Whether column is primary key
optional bool primary_key = 7 [json_name = "primaryKey"];- Returns:
- The primaryKey.
-
hasAutoIncrement
boolean hasAutoIncrement()Whether column auto-increments
optional bool auto_increment = 8 [json_name = "autoIncrement"];- Returns:
- Whether the autoIncrement field is set.
-
getAutoIncrement
boolean getAutoIncrement()Whether column auto-increments
optional bool auto_increment = 8 [json_name = "autoIncrement"];- Returns:
- The autoIncrement.
-
hasDefaultValue
boolean hasDefaultValue()Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
String getDefaultValue()Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Returns:
- The defaultValue.
-
getDefaultValueBytes
com.google.protobuf.ByteString getDefaultValueBytes()Default value for column
optional string default_value = 9 [json_name = "defaultValue"];- Returns:
- The bytes for defaultValue.
-
hasFormat
boolean hasFormat()Display format for column
optional string format = 10 [json_name = "format"];- Returns:
- Whether the format field is set.
-
getFormat
String getFormat()Display format for column
optional string format = 10 [json_name = "format"];- Returns:
- The format.
-
getFormatBytes
com.google.protobuf.ByteString getFormatBytes()Display format for column
optional string format = 10 [json_name = "format"];- Returns:
- The bytes for format.
-