Package com.google.cloud.datastream.v1
Interface PostgresqlColumnOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PostgresqlColumn,PostgresqlColumn.Builder
public interface PostgresqlColumnOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetColumn()Column name.com.google.protobuf.ByteStringgetColumnBytes()Column name.StringgetDataType()The PostgreSQL data type.com.google.protobuf.ByteStringgetDataTypeBytes()The PostgreSQL data type.intgetLength()Column length.booleangetNullable()Whether or not the column can accept a null value.intgetOrdinalPosition()The ordinal position of the column in the table.intgetPrecision()Column precision.booleangetPrimaryKey()Whether or not the column represents a primary key.intgetScale()Column scale.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getColumn
String getColumn()
Column name.
string column = 1;- Returns:
- The column.
-
getColumnBytes
com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;- Returns:
- The bytes for column.
-
getDataType
String getDataType()
The PostgreSQL data type.
string data_type = 2;- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()
The PostgreSQL data type.
string data_type = 2;- Returns:
- The bytes for dataType.
-
getLength
int getLength()
Column length.
int32 length = 3;- Returns:
- The length.
-
getPrecision
int getPrecision()
Column precision.
int32 precision = 4;- Returns:
- The precision.
-
getScale
int getScale()
Column scale.
int32 scale = 5;- Returns:
- The scale.
-
getPrimaryKey
boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 7;- Returns:
- The primaryKey.
-
getNullable
boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 8;- Returns:
- The nullable.
-
getOrdinalPosition
int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 9;- Returns:
- The ordinalPosition.
-
-