Class SqlServerSchema.Builder (1.54.0)

public static final class SqlServerSchema.Builder extends GeneratedMessageV3.Builder<SqlServerSchema.Builder> implements SqlServerSchemaOrBuilder

SQLServer schema.

Protobuf type google.cloud.datastream.v1.SqlServerSchema

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

getDefaultInstanceForType()

public SqlServerSchema getDefaultInstanceForType()
Returns
Type Description
SqlServerSchema

getDescriptorForType()

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

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchema(String value)

public SqlServerSchema.Builder setSchema(String value)

Schema name.

string schema = 1;

Parameter
Name Description
value String

The 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 ByteString

The 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

setUnknownFields(UnknownFieldSet unknownFields)

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