public static final class PostgresqlSchema.Builder extends GeneratedMessage.Builder<PostgresqlSchema.Builder> implements PostgresqlSchemaOrBuilderPostgreSQL schema.
Protobuf type google.cloud.datastream.v1.PostgresqlSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PostgresqlSchema.BuilderImplements
PostgresqlSchemaOrBuilderStatic 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 |
|
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 |
|
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. |
getDefaultInstanceForType()
public PostgresqlSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PostgresqlSchema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PostgresqlSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSchema.Builder |
|
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 |
|
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 |
|
setSchema(String value)
public PostgresqlSchema.Builder setSchema(String value)Schema name.
string schema = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for schema to set. |
| Returns | |
|---|---|
| Type | Description |
PostgresqlSchema.Builder |
This builder for chaining. |