Class PostgresqlTable.Builder (1.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1.PostgresqlColumn>
Returns
TypeDescription
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
NameDescription
valuePostgresqlColumn
Returns
TypeDescription
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
NameDescription
builderForValuePostgresqlColumn.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePostgresqlColumn
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePostgresqlColumn.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PostgresqlColumn.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

build()

public PostgresqlTable build()
Returns
TypeDescription
PostgresqlTable

buildPartial()

public PostgresqlTable buildPartial()
Returns
TypeDescription
PostgresqlTable

clear()

public PostgresqlTable.Builder clear()
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PostgresqlTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PostgresqlTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PostgresqlTable.Builder

clearTable()

public PostgresqlTable.Builder clearTable()

Table name.

string table = 1;

Returns
TypeDescription
PostgresqlTable.Builder

This builder for chaining.

clone()

public PostgresqlTable.Builder clone()
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

getDefaultInstanceForType()

public PostgresqlTable getDefaultInstanceForType()
Returns
TypeDescription
PostgresqlTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datastream.v1.PostgresqlColumnOrBuilder>

getTable()

public String getTable()

Table name.

string table = 1;

Returns
TypeDescription
String

The table.

getTableBytes()

public ByteString getTableBytes()

Table name.

string table = 1;

Returns
TypeDescription
ByteString

The bytes for table.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PostgresqlTable other)

public PostgresqlTable.Builder mergeFrom(PostgresqlTable other)
Parameter
NameDescription
otherPostgresqlTable
Returns
TypeDescription
PostgresqlTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PostgresqlTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgresqlTable.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PostgresqlTable.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PostgresqlTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PostgresqlTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuePostgresqlColumn
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePostgresqlColumn.Builder
Returns
TypeDescription
PostgresqlTable.Builder

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

public PostgresqlTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PostgresqlTable.Builder
Overrides

setTable(String value)

public PostgresqlTable.Builder setTable(String value)

Table name.

string table = 1;

Parameter
NameDescription
valueString

The table to set.

Returns
TypeDescription
PostgresqlTable.Builder

This builder for chaining.

setTableBytes(ByteString value)

public PostgresqlTable.Builder setTableBytes(ByteString value)

Table name.

string table = 1;

Parameter
NameDescription
valueByteString

The bytes for table to set.

Returns
TypeDescription
PostgresqlTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PostgresqlTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PostgresqlTable.Builder
Overrides