Class SqlServerSourceConfig.Builder (1.54.0)

public static final class SqlServerSourceConfig.Builder extends GeneratedMessageV3.Builder<SqlServerSourceConfig.Builder> implements SqlServerSourceConfigOrBuilder

SQLServer data source configuration

Protobuf type google.cloud.datastream.v1.SqlServerSourceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SqlServerSourceConfig build()
Returns
Type Description
SqlServerSourceConfig

buildPartial()

public SqlServerSourceConfig buildPartial()
Returns
Type Description
SqlServerSourceConfig

clear()

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

clearCdcMethod()

public SqlServerSourceConfig.Builder clearCdcMethod()
Returns
Type Description
SqlServerSourceConfig.Builder

clearChangeTables()

public SqlServerSourceConfig.Builder clearChangeTables()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerSourceConfig.Builder

clearExcludeObjects()

public SqlServerSourceConfig.Builder clearExcludeObjects()

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Returns
Type Description
SqlServerSourceConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeObjects()

public SqlServerSourceConfig.Builder clearIncludeObjects()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerSourceConfig.Builder

clearMaxConcurrentBackfillTasks()

public SqlServerSourceConfig.Builder clearMaxConcurrentBackfillTasks()

Max concurrent backfill tasks.

int32 max_concurrent_backfill_tasks = 4;

Returns
Type Description
SqlServerSourceConfig.Builder

This builder for chaining.

clearMaxConcurrentCdcTasks()

public SqlServerSourceConfig.Builder clearMaxConcurrentCdcTasks()

Max concurrent CDC tasks.

int32 max_concurrent_cdc_tasks = 3;

Returns
Type Description
SqlServerSourceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransactionLogs()

public SqlServerSourceConfig.Builder clearTransactionLogs()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerSourceConfig.Builder

clone()

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

getCdcMethodCase()

public SqlServerSourceConfig.CdcMethodCase getCdcMethodCase()
Returns
Type Description
SqlServerSourceConfig.CdcMethodCase

getChangeTables()

public SqlServerChangeTables getChangeTables()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerChangeTables

The changeTables.

getChangeTablesBuilder()

public SqlServerChangeTables.Builder getChangeTablesBuilder()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerChangeTables.Builder

getChangeTablesOrBuilder()

public SqlServerChangeTablesOrBuilder getChangeTablesOrBuilder()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerChangeTablesOrBuilder

getDefaultInstanceForType()

public SqlServerSourceConfig getDefaultInstanceForType()
Returns
Type Description
SqlServerSourceConfig

getDescriptorForType()

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

getExcludeObjects()

public SqlServerRdbms getExcludeObjects()

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Returns
Type Description
SqlServerRdbms

The excludeObjects.

getExcludeObjectsBuilder()

public SqlServerRdbms.Builder getExcludeObjectsBuilder()

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Returns
Type Description
SqlServerRdbms.Builder

getExcludeObjectsOrBuilder()

public SqlServerRdbmsOrBuilder getExcludeObjectsOrBuilder()

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Returns
Type Description
SqlServerRdbmsOrBuilder

getIncludeObjects()

public SqlServerRdbms getIncludeObjects()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerRdbms

The includeObjects.

getIncludeObjectsBuilder()

public SqlServerRdbms.Builder getIncludeObjectsBuilder()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerRdbms.Builder

getIncludeObjectsOrBuilder()

public SqlServerRdbmsOrBuilder getIncludeObjectsOrBuilder()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerRdbmsOrBuilder

getMaxConcurrentBackfillTasks()

public int getMaxConcurrentBackfillTasks()

Max concurrent backfill tasks.

int32 max_concurrent_backfill_tasks = 4;

Returns
Type Description
int

The maxConcurrentBackfillTasks.

getMaxConcurrentCdcTasks()

public int getMaxConcurrentCdcTasks()

Max concurrent CDC tasks.

int32 max_concurrent_cdc_tasks = 3;

Returns
Type Description
int

The maxConcurrentCdcTasks.

getTransactionLogs()

public SqlServerTransactionLogs getTransactionLogs()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerTransactionLogs

The transactionLogs.

getTransactionLogsBuilder()

public SqlServerTransactionLogs.Builder getTransactionLogsBuilder()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerTransactionLogs.Builder

getTransactionLogsOrBuilder()

public SqlServerTransactionLogsOrBuilder getTransactionLogsOrBuilder()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerTransactionLogsOrBuilder

hasChangeTables()

public boolean hasChangeTables()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
boolean

Whether the changeTables field is set.

hasExcludeObjects()

public boolean hasExcludeObjects()

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Returns
Type Description
boolean

Whether the excludeObjects field is set.

hasIncludeObjects()

public boolean hasIncludeObjects()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
boolean

Whether the includeObjects field is set.

hasTransactionLogs()

public boolean hasTransactionLogs()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
boolean

Whether the transactionLogs field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChangeTables(SqlServerChangeTables value)

public SqlServerSourceConfig.Builder mergeChangeTables(SqlServerChangeTables value)

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Parameter
Name Description
value SqlServerChangeTables
Returns
Type Description
SqlServerSourceConfig.Builder

mergeExcludeObjects(SqlServerRdbms value)

public SqlServerSourceConfig.Builder mergeExcludeObjects(SqlServerRdbms value)

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Parameter
Name Description
value SqlServerRdbms
Returns
Type Description
SqlServerSourceConfig.Builder

mergeFrom(SqlServerSourceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncludeObjects(SqlServerRdbms value)

public SqlServerSourceConfig.Builder mergeIncludeObjects(SqlServerRdbms value)

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Parameter
Name Description
value SqlServerRdbms
Returns
Type Description
SqlServerSourceConfig.Builder

mergeTransactionLogs(SqlServerTransactionLogs value)

public SqlServerSourceConfig.Builder mergeTransactionLogs(SqlServerTransactionLogs value)

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Parameter
Name Description
value SqlServerTransactionLogs
Returns
Type Description
SqlServerSourceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setChangeTables(SqlServerChangeTables value)

public SqlServerSourceConfig.Builder setChangeTables(SqlServerChangeTables value)

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Parameter
Name Description
value SqlServerChangeTables
Returns
Type Description
SqlServerSourceConfig.Builder

setChangeTables(SqlServerChangeTables.Builder builderForValue)

public SqlServerSourceConfig.Builder setChangeTables(SqlServerChangeTables.Builder builderForValue)

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Parameter
Name Description
builderForValue SqlServerChangeTables.Builder
Returns
Type Description
SqlServerSourceConfig.Builder

setExcludeObjects(SqlServerRdbms value)

public SqlServerSourceConfig.Builder setExcludeObjects(SqlServerRdbms value)

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Parameter
Name Description
value SqlServerRdbms
Returns
Type Description
SqlServerSourceConfig.Builder

setExcludeObjects(SqlServerRdbms.Builder builderForValue)

public SqlServerSourceConfig.Builder setExcludeObjects(SqlServerRdbms.Builder builderForValue)

SQLServer objects to exclude from the stream.

.google.cloud.datastream.v1.SqlServerRdbms exclude_objects = 2;

Parameter
Name Description
builderForValue SqlServerRdbms.Builder
Returns
Type Description
SqlServerSourceConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeObjects(SqlServerRdbms value)

public SqlServerSourceConfig.Builder setIncludeObjects(SqlServerRdbms value)

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Parameter
Name Description
value SqlServerRdbms
Returns
Type Description
SqlServerSourceConfig.Builder

setIncludeObjects(SqlServerRdbms.Builder builderForValue)

public SqlServerSourceConfig.Builder setIncludeObjects(SqlServerRdbms.Builder builderForValue)

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Parameter
Name Description
builderForValue SqlServerRdbms.Builder
Returns
Type Description
SqlServerSourceConfig.Builder

setMaxConcurrentBackfillTasks(int value)

public SqlServerSourceConfig.Builder setMaxConcurrentBackfillTasks(int value)

Max concurrent backfill tasks.

int32 max_concurrent_backfill_tasks = 4;

Parameter
Name Description
value int

The maxConcurrentBackfillTasks to set.

Returns
Type Description
SqlServerSourceConfig.Builder

This builder for chaining.

setMaxConcurrentCdcTasks(int value)

public SqlServerSourceConfig.Builder setMaxConcurrentCdcTasks(int value)

Max concurrent CDC tasks.

int32 max_concurrent_cdc_tasks = 3;

Parameter
Name Description
value int

The maxConcurrentCdcTasks to set.

Returns
Type Description
SqlServerSourceConfig.Builder

This builder for chaining.

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

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

setTransactionLogs(SqlServerTransactionLogs value)

public SqlServerSourceConfig.Builder setTransactionLogs(SqlServerTransactionLogs value)

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Parameter
Name Description
value SqlServerTransactionLogs
Returns
Type Description
SqlServerSourceConfig.Builder

setTransactionLogs(SqlServerTransactionLogs.Builder builderForValue)

public SqlServerSourceConfig.Builder setTransactionLogs(SqlServerTransactionLogs.Builder builderForValue)

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Parameter
Name Description
builderForValue SqlServerTransactionLogs.Builder
Returns
Type Description
SqlServerSourceConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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