Class PostgresqlTable.Builder (1.42.0)

public static final class PostgresqlTable.Builder extends GeneratedMessageV3.Builder<PostgresqlTable.Builder> implements PostgresqlTableOrBuilder

PostgreSQL table.

Protobuf type google.cloud.datastream.v1.PostgresqlTable

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPostgresqlColumns(Iterable<? extends PostgresqlColumn> values)

public PostgresqlTable.Builder addAllPostgresqlColumns(Iterable<? extends PostgresqlColumn> values)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datastream.v1.PostgresqlColumn>
Returns
Type Description
PostgresqlTable.Builder

addPostgresqlColumns(PostgresqlColumn value)

public PostgresqlTable.Builder addPostgresqlColumns(PostgresqlColumn value)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
value PostgresqlColumn
Returns
Type Description
PostgresqlTable.Builder

addPostgresqlColumns(PostgresqlColumn.Builder builderForValue)

public PostgresqlTable.Builder addPostgresqlColumns(PostgresqlColumn.Builder builderForValue)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
builderForValue PostgresqlColumn.Builder
Returns
Type Description
PostgresqlTable.Builder

addPostgresqlColumns(int index, PostgresqlColumn value)

public PostgresqlTable.Builder addPostgresqlColumns(int index, PostgresqlColumn value)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameters
Name Description
index int
value PostgresqlColumn
Returns
Type Description
PostgresqlTable.Builder

addPostgresqlColumns(int index, PostgresqlColumn.Builder builderForValue)

public PostgresqlTable.Builder addPostgresqlColumns(int index, PostgresqlColumn.Builder builderForValue)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameters
Name Description
index int
builderForValue PostgresqlColumn.Builder
Returns
Type Description
PostgresqlTable.Builder

addPostgresqlColumnsBuilder()

public PostgresqlColumn.Builder addPostgresqlColumnsBuilder()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
PostgresqlColumn.Builder

addPostgresqlColumnsBuilder(int index)

public PostgresqlColumn.Builder addPostgresqlColumnsBuilder(int index)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlColumn.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PostgresqlTable.Builder
Overrides

build()

public PostgresqlTable build()
Returns
Type Description
PostgresqlTable

buildPartial()

public PostgresqlTable buildPartial()
Returns
Type Description
PostgresqlTable

clear()

public PostgresqlTable.Builder clear()
Returns
Type Description
PostgresqlTable.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PostgresqlTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PostgresqlTable.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PostgresqlTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PostgresqlTable.Builder
Overrides

clearPostgresqlColumns()

public PostgresqlTable.Builder clearPostgresqlColumns()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
PostgresqlTable.Builder

clearTable()

public PostgresqlTable.Builder clearTable()

Table name.

string table = 1;

Returns
Type Description
PostgresqlTable.Builder

This builder for chaining.

clone()

public PostgresqlTable.Builder clone()
Returns
Type Description
PostgresqlTable.Builder
Overrides

getDefaultInstanceForType()

public PostgresqlTable getDefaultInstanceForType()
Returns
Type Description
PostgresqlTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPostgresqlColumns(int index)

public PostgresqlColumn getPostgresqlColumns(int index)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlColumn

getPostgresqlColumnsBuilder(int index)

public PostgresqlColumn.Builder getPostgresqlColumnsBuilder(int index)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlColumn.Builder

getPostgresqlColumnsBuilderList()

public List<PostgresqlColumn.Builder> getPostgresqlColumnsBuilderList()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
List<Builder>

getPostgresqlColumnsCount()

public int getPostgresqlColumnsCount()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
int

getPostgresqlColumnsList()

public List<PostgresqlColumn> getPostgresqlColumnsList()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
List<PostgresqlColumn>

getPostgresqlColumnsOrBuilder(int index)

public PostgresqlColumnOrBuilder getPostgresqlColumnsOrBuilder(int index)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlColumnOrBuilder

getPostgresqlColumnsOrBuilderList()

public List<? extends PostgresqlColumnOrBuilder> getPostgresqlColumnsOrBuilderList()

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder>

getTable()

public String getTable()

Table name.

string table = 1;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Table name.

string table = 1;

Returns
Type Description
ByteString

The bytes for table.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PostgresqlTable other)

public PostgresqlTable.Builder mergeFrom(PostgresqlTable other)
Parameter
Name Description
other PostgresqlTable
Returns
Type Description
PostgresqlTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PostgresqlTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PostgresqlTable.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PostgresqlTable.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PostgresqlTable.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PostgresqlTable.Builder
Overrides

removePostgresqlColumns(int index)

public PostgresqlTable.Builder removePostgresqlColumns(int index)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PostgresqlTable.Builder
Overrides

setPostgresqlColumns(int index, PostgresqlColumn value)

public PostgresqlTable.Builder setPostgresqlColumns(int index, PostgresqlColumn value)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameters
Name Description
index int
value PostgresqlColumn
Returns
Type Description
PostgresqlTable.Builder

setPostgresqlColumns(int index, PostgresqlColumn.Builder builderForValue)

public PostgresqlTable.Builder setPostgresqlColumns(int index, PostgresqlColumn.Builder builderForValue)

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.PostgresqlColumn postgresql_columns = 2;

Parameters
Name Description
index int
builderForValue PostgresqlColumn.Builder
Returns
Type Description
PostgresqlTable.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PostgresqlTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PostgresqlTable.Builder
Overrides

setTable(String value)

public PostgresqlTable.Builder setTable(String value)

Table name.

string table = 1;

Parameter
Name Description
value String

The table to set.

Returns
Type Description
PostgresqlTable.Builder

This builder for chaining.

setTableBytes(ByteString value)

public PostgresqlTable.Builder setTableBytes(ByteString value)

Table name.

string table = 1;

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
PostgresqlTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PostgresqlTable.Builder
Overrides