public static final class SqlServerSchema.Builder extends GeneratedMessage.Builder<SqlServerSchema.Builder> implements SqlServerSchemaOrBuilderSQLServer schema.
Protobuf type google.cloud.datastream.v1.SqlServerSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlServerSchema.BuilderImplements
SqlServerSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTables(Iterable<? extends SqlServerTable> values)
public SqlServerSchema.Builder addAllTables(Iterable<? extends SqlServerTable> values)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.datastream.v1.SqlServerTable> |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
addTables(SqlServerTable value)
public SqlServerSchema.Builder addTables(SqlServerTable value)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlServerTable |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
addTables(SqlServerTable.Builder builderForValue)
public SqlServerSchema.Builder addTables(SqlServerTable.Builder builderForValue)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SqlServerTable.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
addTables(int index, SqlServerTable value)
public SqlServerSchema.Builder addTables(int index, SqlServerTable value)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SqlServerTable |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
addTables(int index, SqlServerTable.Builder builderForValue)
public SqlServerSchema.Builder addTables(int index, SqlServerTable.Builder builderForValue)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SqlServerTable.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
addTablesBuilder()
public SqlServerTable.Builder addTablesBuilder()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
SqlServerTable.Builder |
|
addTablesBuilder(int index)
public SqlServerTable.Builder addTablesBuilder(int index)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SqlServerTable.Builder |
|
build()
public SqlServerSchema build()| Returns | |
|---|---|
| Type | Description |
SqlServerSchema |
|
buildPartial()
public SqlServerSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlServerSchema |
|
clear()
public SqlServerSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
clearSchema()
public SqlServerSchema.Builder clearSchema()Schema name.
string schema = 1;
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
This builder for chaining. |
clearTables()
public SqlServerSchema.Builder clearTables()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
getDefaultInstanceForType()
public SqlServerSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlServerSchema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getTables(int index)
public SqlServerTable getTables(int index)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SqlServerTable |
|
getTablesBuilder(int index)
public SqlServerTable.Builder getTablesBuilder(int index)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SqlServerTable.Builder |
|
getTablesBuilderList()
public List<SqlServerTable.Builder> getTablesBuilderList()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTablesCount()
public int getTablesCount()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTablesList()
public List<SqlServerTable> getTablesList()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
List<SqlServerTable> |
|
getTablesOrBuilder(int index)
public SqlServerTableOrBuilder getTablesOrBuilder(int index)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SqlServerTableOrBuilder |
|
getTablesOrBuilderList()
public List<? extends SqlServerTableOrBuilder> getTablesOrBuilderList()Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.datastream.v1.SqlServerTableOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SqlServerSchema other)
public SqlServerSchema.Builder mergeFrom(SqlServerSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlServerSchema |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlServerSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlServerSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
removeTables(int index)
public SqlServerSchema.Builder removeTables(int index)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
setSchema(String value)
public SqlServerSchema.Builder setSchema(String value)Schema name.
string schema = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe schema to set. |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
This builder for chaining. |
setSchemaBytes(ByteString value)
public SqlServerSchema.Builder setSchemaBytes(ByteString value)Schema name.
string schema = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for schema to set. |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
This builder for chaining. |
setTables(int index, SqlServerTable value)
public SqlServerSchema.Builder setTables(int index, SqlServerTable value)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SqlServerTable |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|
setTables(int index, SqlServerTable.Builder builderForValue)
public SqlServerSchema.Builder setTables(int index, SqlServerTable.Builder builderForValue)Tables in the schema.
repeated .google.cloud.datastream.v1.SqlServerTable tables = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SqlServerTable.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlServerSchema.Builder |
|