Class MysqlSourceConfig.Builder (1.46.0)

public static final class MysqlSourceConfig.Builder extends GeneratedMessageV3.Builder<MysqlSourceConfig.Builder> implements MysqlSourceConfigOrBuilder

MySQL source configuration

Protobuf type google.cloud.datastream.v1.MysqlSourceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MysqlSourceConfig build()
Returns
Type Description
MysqlSourceConfig

buildPartial()

public MysqlSourceConfig buildPartial()
Returns
Type Description
MysqlSourceConfig

clear()

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

clearExcludeObjects()

public MysqlSourceConfig.Builder clearExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
Type Description
MysqlSourceConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeObjects()

public MysqlSourceConfig.Builder clearIncludeObjects()

MySQL objects to retrieve from the source.

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

Returns
Type Description
MysqlSourceConfig.Builder

clearMaxConcurrentBackfillTasks()

public MysqlSourceConfig.Builder clearMaxConcurrentBackfillTasks()

Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_backfill_tasks = 4;

Returns
Type Description
MysqlSourceConfig.Builder

This builder for chaining.

clearMaxConcurrentCdcTasks()

public MysqlSourceConfig.Builder clearMaxConcurrentCdcTasks()

Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_cdc_tasks = 3;

Returns
Type Description
MysqlSourceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MysqlSourceConfig getDefaultInstanceForType()
Returns
Type Description
MysqlSourceConfig

getDescriptorForType()

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

getExcludeObjects()

public MysqlRdbms getExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
Type Description
MysqlRdbms

The excludeObjects.

getExcludeObjectsBuilder()

public MysqlRdbms.Builder getExcludeObjectsBuilder()

MySQL objects to exclude from the stream.

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

Returns
Type Description
MysqlRdbms.Builder

getExcludeObjectsOrBuilder()

public MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder()

MySQL objects to exclude from the stream.

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

Returns
Type Description
MysqlRdbmsOrBuilder

getIncludeObjects()

public MysqlRdbms getIncludeObjects()

MySQL objects to retrieve from the source.

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

Returns
Type Description
MysqlRdbms

The includeObjects.

getIncludeObjectsBuilder()

public MysqlRdbms.Builder getIncludeObjectsBuilder()

MySQL objects to retrieve from the source.

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

Returns
Type Description
MysqlRdbms.Builder

getIncludeObjectsOrBuilder()

public MysqlRdbmsOrBuilder getIncludeObjectsOrBuilder()

MySQL objects to retrieve from the source.

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

Returns
Type Description
MysqlRdbmsOrBuilder

getMaxConcurrentBackfillTasks()

public int getMaxConcurrentBackfillTasks()

Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_backfill_tasks = 4;

Returns
Type Description
int

The maxConcurrentBackfillTasks.

getMaxConcurrentCdcTasks()

public int getMaxConcurrentCdcTasks()

Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_cdc_tasks = 3;

Returns
Type Description
int

The maxConcurrentCdcTasks.

hasExcludeObjects()

public boolean hasExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
Type Description
boolean

Whether the excludeObjects field is set.

hasIncludeObjects()

public boolean hasIncludeObjects()

MySQL objects to retrieve from the source.

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

Returns
Type Description
boolean

Whether the includeObjects field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExcludeObjects(MysqlRdbms value)

public MysqlSourceConfig.Builder mergeExcludeObjects(MysqlRdbms value)

MySQL objects to exclude from the stream.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

mergeFrom(MysqlSourceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIncludeObjects(MysqlRdbms value)

public MysqlSourceConfig.Builder mergeIncludeObjects(MysqlRdbms value)

MySQL objects to retrieve from the source.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExcludeObjects(MysqlRdbms value)

public MysqlSourceConfig.Builder setExcludeObjects(MysqlRdbms value)

MySQL objects to exclude from the stream.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

setExcludeObjects(MysqlRdbms.Builder builderForValue)

public MysqlSourceConfig.Builder setExcludeObjects(MysqlRdbms.Builder builderForValue)

MySQL objects to exclude from the stream.

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

Parameter
Name Description
builderForValue MysqlRdbms.Builder
Returns
Type Description
MysqlSourceConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeObjects(MysqlRdbms value)

public MysqlSourceConfig.Builder setIncludeObjects(MysqlRdbms value)

MySQL objects to retrieve from the source.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

setIncludeObjects(MysqlRdbms.Builder builderForValue)

public MysqlSourceConfig.Builder setIncludeObjects(MysqlRdbms.Builder builderForValue)

MySQL objects to retrieve from the source.

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

Parameter
Name Description
builderForValue MysqlRdbms.Builder
Returns
Type Description
MysqlSourceConfig.Builder

setMaxConcurrentBackfillTasks(int value)

public MysqlSourceConfig.Builder setMaxConcurrentBackfillTasks(int value)

Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_backfill_tasks = 4;

Parameter
Name Description
value int

The maxConcurrentBackfillTasks to set.

Returns
Type Description
MysqlSourceConfig.Builder

This builder for chaining.

setMaxConcurrentCdcTasks(int value)

public MysqlSourceConfig.Builder setMaxConcurrentCdcTasks(int value)

Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.

int32 max_concurrent_cdc_tasks = 3;

Parameter
Name Description
value int

The maxConcurrentCdcTasks to set.

Returns
Type Description
MysqlSourceConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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