Class PostgresqlSchema.Builder (1.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1.PostgresqlTable>
Returns
TypeDescription
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
NameDescription
valuePostgresqlTable
Returns
TypeDescription
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
NameDescription
builderForValuePostgresqlTable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePostgresqlTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePostgresqlTable.Builder
Returns
TypeDescription
PostgresqlSchema.Builder

addPostgresqlTablesBuilder()

public PostgresqlTable.Builder addPostgresqlTablesBuilder()

Tables in the schema.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PostgresqlTable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PostgresqlSchema build()
Returns
TypeDescription
PostgresqlSchema

buildPartial()

public PostgresqlSchema buildPartial()
Returns
TypeDescription
PostgresqlSchema

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PostgresqlSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PostgresqlSchema.Builder
Overrides

clearPostgresqlTables()

public PostgresqlSchema.Builder clearPostgresqlTables()

Tables in the schema.

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

Returns
TypeDescription
PostgresqlSchema.Builder

clearSchema()

public PostgresqlSchema.Builder clearSchema()

Schema name.

string schema = 1;

Returns
TypeDescription
PostgresqlSchema.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PostgresqlSchema getDefaultInstanceForType()
Returns
TypeDescription
PostgresqlSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPostgresqlTables(int index)

public PostgresqlTable getPostgresqlTables(int index)

Tables in the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PostgresqlTable

getPostgresqlTablesBuilder(int index)

public PostgresqlTable.Builder getPostgresqlTablesBuilder(int index)

Tables in the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PostgresqlTable.Builder

getPostgresqlTablesBuilderList()

public List<PostgresqlTable.Builder> getPostgresqlTablesBuilderList()

Tables in the schema.

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

Returns
TypeDescription
List<Builder>

getPostgresqlTablesCount()

public int getPostgresqlTablesCount()

Tables in the schema.

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

Returns
TypeDescription
int

getPostgresqlTablesList()

public List<PostgresqlTable> getPostgresqlTablesList()

Tables in the schema.

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

Returns
TypeDescription
List<PostgresqlTable>

getPostgresqlTablesOrBuilder(int index)

public PostgresqlTableOrBuilder getPostgresqlTablesOrBuilder(int index)

Tables in the schema.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PostgresqlTableOrBuilder

getPostgresqlTablesOrBuilderList()

public List<? extends PostgresqlTableOrBuilder> getPostgresqlTablesOrBuilderList()

Tables in the schema.

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

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

getSchema()

public String getSchema()

Schema name.

string schema = 1;

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public ByteString getSchemaBytes()

Schema name.

string schema = 1;

Returns
TypeDescription
ByteString

The bytes for schema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PostgresqlSchema other)

public PostgresqlSchema.Builder mergeFrom(PostgresqlSchema other)
Parameter
NameDescription
otherPostgresqlSchema
Returns
TypeDescription
PostgresqlSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchema(String value)

public PostgresqlSchema.Builder setSchema(String value)

Schema name.

string schema = 1;

Parameter
NameDescription
valueString

The schema to set.

Returns
TypeDescription
PostgresqlSchema.Builder

This builder for chaining.

setSchemaBytes(ByteString value)

public PostgresqlSchema.Builder setSchemaBytes(ByteString value)

Schema name.

string schema = 1;

Parameter
NameDescription
valueByteString

The bytes for schema to set.

Returns
TypeDescription
PostgresqlSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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