Class MysqlSourceConfig.Builder (1.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MysqlSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

build()

public MysqlSourceConfig build()
Returns
TypeDescription
MysqlSourceConfig

buildPartial()

public MysqlSourceConfig buildPartial()
Returns
TypeDescription
MysqlSourceConfig

clear()

public MysqlSourceConfig.Builder clear()
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

clearExcludeObjects()

public MysqlSourceConfig.Builder clearExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlSourceConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public MysqlSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

clearIncludeObjects()

public MysqlSourceConfig.Builder clearIncludeObjects()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlSourceConfig.Builder

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
TypeDescription
MysqlSourceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MysqlSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

clone()

public MysqlSourceConfig.Builder clone()
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

getDefaultInstanceForType()

public MysqlSourceConfig getDefaultInstanceForType()
Returns
TypeDescription
MysqlSourceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExcludeObjects()

public MysqlRdbms getExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbms

The excludeObjects.

getExcludeObjectsBuilder()

public MysqlRdbms.Builder getExcludeObjectsBuilder()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbms.Builder

getExcludeObjectsOrBuilder()

public MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbmsOrBuilder

getIncludeObjects()

public MysqlRdbms getIncludeObjects()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbms

The includeObjects.

getIncludeObjectsBuilder()

public MysqlRdbms.Builder getIncludeObjectsBuilder()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbms.Builder

getIncludeObjectsOrBuilder()

public MysqlRdbmsOrBuilder getIncludeObjectsOrBuilder()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbmsOrBuilder

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
TypeDescription
int

The maxConcurrentCdcTasks.

hasExcludeObjects()

public boolean hasExcludeObjects()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the includeObjects field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
MysqlSourceConfig.Builder

mergeFrom(MysqlSourceConfig other)

public MysqlSourceConfig.Builder mergeFrom(MysqlSourceConfig other)
Parameter
NameDescription
otherMysqlSourceConfig
Returns
TypeDescription
MysqlSourceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MysqlSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MysqlSourceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
MysqlSourceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MysqlSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
NameDescription
builderForValueMysqlRdbms.Builder
Returns
TypeDescription
MysqlSourceConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MysqlSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
NameDescription
builderForValueMysqlRdbms.Builder
Returns
TypeDescription
MysqlSourceConfig.Builder

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
NameDescription
valueint

The maxConcurrentCdcTasks to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MysqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides