Class PostgresqlColumn (1.36.0)

public final class PostgresqlColumn extends GeneratedMessageV3 implements PostgresqlColumnOrBuilder

PostgreSQL Column.

Protobuf type google.cloud.datastream.v1.PostgresqlColumn

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
Field Value
TypeDescription
int

ORDINAL_POSITION_FIELD_NUMBER

public static final int ORDINAL_POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

PRECISION_FIELD_NUMBER

public static final int PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_KEY_FIELD_NUMBER

public static final int PRIMARY_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PostgresqlColumn getDefaultInstance()
Returns
TypeDescription
PostgresqlColumn

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PostgresqlColumn.Builder newBuilder()
Returns
TypeDescription
PostgresqlColumn.Builder

newBuilder(PostgresqlColumn prototype)

public static PostgresqlColumn.Builder newBuilder(PostgresqlColumn prototype)
Parameter
NameDescription
prototypePostgresqlColumn
Returns
TypeDescription
PostgresqlColumn.Builder

parseDelimitedFrom(InputStream input)

public static PostgresqlColumn parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PostgresqlColumn parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PostgresqlColumn parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PostgresqlColumn parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PostgresqlColumn parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PostgresqlColumn parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PostgresqlColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PostgresqlColumn> parser()
Returns
TypeDescription
Parser<PostgresqlColumn>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getColumn()

public String getColumn()

Column name.

string column = 1;

Returns
TypeDescription
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Column name.

string column = 1;

Returns
TypeDescription
ByteString

The bytes for column.

getDataType()

public String getDataType()

The PostgreSQL data type.

string data_type = 2;

Returns
TypeDescription
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

The PostgreSQL data type.

string data_type = 2;

Returns
TypeDescription
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public PostgresqlColumn getDefaultInstanceForType()
Returns
TypeDescription
PostgresqlColumn

getLength()

public int getLength()

Column length.

int32 length = 3;

Returns
TypeDescription
int

The length.

getNullable()

public boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 8;

Returns
TypeDescription
boolean

The nullable.

getOrdinalPosition()

public int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 9;

Returns
TypeDescription
int

The ordinalPosition.

getParserForType()

public Parser<PostgresqlColumn> getParserForType()
Returns
TypeDescription
Parser<PostgresqlColumn>
Overrides

getPrecision()

public int getPrecision()

Column precision.

int32 precision = 4;

Returns
TypeDescription
int

The precision.

getPrimaryKey()

public boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 7;

Returns
TypeDescription
boolean

The primaryKey.

getScale()

public int getScale()

Column scale.

int32 scale = 5;

Returns
TypeDescription
int

The scale.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PostgresqlColumn.Builder newBuilderForType()
Returns
TypeDescription
PostgresqlColumn.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PostgresqlColumn.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PostgresqlColumn.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PostgresqlColumn.Builder toBuilder()
Returns
TypeDescription
PostgresqlColumn.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException