Class PostgresqlSchema.Builder (1.41.0)

public static final class PostgresqlSchema.Builder extends GeneratedMessageV3.Builder<PostgresqlSchema.Builder> implements PostgresqlSchemaOrBuilder

PostgreSQL schema.

Protobuf type google.cloud.datastream.v1.PostgresqlSchema

Static Methods

getDescriptor()

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

Methods

addAllPostgresqlTables(Iterable<? extends PostgresqlTable> values)

public PostgresqlSchema.Builder addAllPostgresqlTables(Iterable<? extends PostgresqlTable> values)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

addPostgresqlTables(PostgresqlTable value)

public PostgresqlSchema.Builder addPostgresqlTables(PostgresqlTable value)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
value PostgresqlTable
Returns
Type Description
PostgresqlSchema.Builder

addPostgresqlTables(PostgresqlTable.Builder builderForValue)

public PostgresqlSchema.Builder addPostgresqlTables(PostgresqlTable.Builder builderForValue)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

addPostgresqlTables(int index, PostgresqlTable value)

public PostgresqlSchema.Builder addPostgresqlTables(int index, PostgresqlTable value)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

addPostgresqlTables(int index, PostgresqlTable.Builder builderForValue)

public PostgresqlSchema.Builder addPostgresqlTables(int index, PostgresqlTable.Builder builderForValue)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

addPostgresqlTablesBuilder()

public PostgresqlTable.Builder addPostgresqlTablesBuilder()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
Type Description
PostgresqlTable.Builder

addPostgresqlTablesBuilder(int index)

public PostgresqlTable.Builder addPostgresqlTablesBuilder(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlTable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PostgresqlSchema build()
Returns
Type Description
PostgresqlSchema

buildPartial()

public PostgresqlSchema buildPartial()
Returns
Type Description
PostgresqlSchema

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPostgresqlTables()

public PostgresqlSchema.Builder clearPostgresqlTables()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
Type Description
PostgresqlSchema.Builder

clearSchema()

public PostgresqlSchema.Builder clearSchema()

Schema name.

string schema = 1;

Returns
Type Description
PostgresqlSchema.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PostgresqlSchema getDefaultInstanceForType()
Returns
Type Description
PostgresqlSchema

getDescriptorForType()

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

getPostgresqlTables(int index)

public PostgresqlTable getPostgresqlTables(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlTable

getPostgresqlTablesBuilder(int index)

public PostgresqlTable.Builder getPostgresqlTablesBuilder(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlTable.Builder

getPostgresqlTablesBuilderList()

public List<PostgresqlTable.Builder> getPostgresqlTablesBuilderList()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
Type Description
List<Builder>

getPostgresqlTablesCount()

public int getPostgresqlTablesCount()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
Type Description
int

getPostgresqlTablesList()

public List<PostgresqlTable> getPostgresqlTablesList()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Returns
Type Description
List<PostgresqlTable>

getPostgresqlTablesOrBuilder(int index)

public PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlTableOrBuilder

getPostgresqlTablesOrBuilderList()

public List<? extends PostgresqlTableOrBuilder> getPostgresqlTablesOrBuilderList()

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

getSchema()

public String getSchema()

Schema name.

string schema = 1;

Returns
Type Description
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Schema name.

string schema = 1;

Returns
Type Description
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PostgresqlSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePostgresqlTables(int index)

public PostgresqlSchema.Builder removePostgresqlTables(int index)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
PostgresqlSchema.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPostgresqlTables(int index, PostgresqlTable value)

public PostgresqlSchema.Builder setPostgresqlTables(int index, PostgresqlTable value)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

setPostgresqlTables(int index, PostgresqlTable.Builder builderForValue)

public PostgresqlSchema.Builder setPostgresqlTables(int index, PostgresqlTable.Builder builderForValue)

Tables in the schema.

repeated .google.cloud.datastream.v1.PostgresqlTable postgresql_tables = 2;

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

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

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

setSchema(String value)

public PostgresqlSchema.Builder setSchema(String value)

Schema name.

string schema = 1;

Parameter
Name Description
value String

The schema to set.

Returns
Type Description
PostgresqlSchema.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

public PostgresqlSchema.Builder setSchemaBytes(ByteString value)

Schema name.

string schema = 1;

Parameter
Name Description
value ByteString

The bytes for schema to set.

Returns
Type Description
PostgresqlSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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