- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class MysqlSourceConfig.Builder extends GeneratedMessageV3.Builder<MysqlSourceConfig.Builder> implements MysqlSourceConfigOrBuilder
MySQL source configuration
Protobuf type google.cloud.datastream.v1.MysqlSourceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MysqlSourceConfig.BuilderImplements
MysqlSourceConfigOrBuilderStatic 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 |
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 |
clearBinaryLogPosition()
public MysqlSourceConfig.Builder clearBinaryLogPosition()
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
clearCdcMethod()
public MysqlSourceConfig.Builder clearCdcMethod()
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
clearGtid()
public MysqlSourceConfig.Builder clearGtid()
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
clone()
public MysqlSourceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
getBinaryLogPosition()
public MysqlSourceConfig.BinaryLogPosition getBinaryLogPosition()
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.BinaryLogPosition |
The binaryLogPosition. |
getBinaryLogPositionBuilder()
public MysqlSourceConfig.BinaryLogPosition.Builder getBinaryLogPositionBuilder()
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.BinaryLogPosition.Builder |
getBinaryLogPositionOrBuilder()
public MysqlSourceConfig.BinaryLogPositionOrBuilder getBinaryLogPositionOrBuilder()
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.BinaryLogPositionOrBuilder |
getCdcMethodCase()
public MysqlSourceConfig.CdcMethodCase getCdcMethodCase()
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.CdcMethodCase |
getDefaultInstanceForType()
public MysqlSourceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MysqlSourceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
getGtid()
public MysqlSourceConfig.Gtid getGtid()
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Gtid |
The gtid. |
getGtidBuilder()
public MysqlSourceConfig.Gtid.Builder getGtidBuilder()
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Gtid.Builder |
getGtidOrBuilder()
public MysqlSourceConfig.GtidOrBuilder getGtidOrBuilder()
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.GtidOrBuilder |
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. |
hasBinaryLogPosition()
public boolean hasBinaryLogPosition()
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Returns | |
---|---|
Type | Description |
boolean |
Whether the binaryLogPosition field is set. |
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. |
hasGtid()
public boolean hasGtid()
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gtid 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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition value)
public MysqlSourceConfig.Builder mergeBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition value)
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig.BinaryLogPosition |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MysqlSourceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
mergeGtid(MysqlSourceConfig.Gtid value)
public MysqlSourceConfig.Builder mergeGtid(MysqlSourceConfig.Gtid value)
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig.Gtid |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
setBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition value)
public MysqlSourceConfig.Builder setBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition value)
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig.BinaryLogPosition |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
setBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition.Builder builderForValue)
public MysqlSourceConfig.Builder setBinaryLogPosition(MysqlSourceConfig.BinaryLogPosition.Builder builderForValue)
Use Binary log position based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.BinaryLogPosition binary_log_position = 101;
Parameter | |
---|---|
Name | Description |
builderForValue |
MysqlSourceConfig.BinaryLogPosition.Builder |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
setGtid(MysqlSourceConfig.Gtid value)
public MysqlSourceConfig.Builder setGtid(MysqlSourceConfig.Gtid value)
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig.Gtid |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
setGtid(MysqlSourceConfig.Gtid.Builder builderForValue)
public MysqlSourceConfig.Builder setGtid(MysqlSourceConfig.Gtid.Builder builderForValue)
Use GTID based replication.
.google.cloud.datastream.v1.MysqlSourceConfig.Gtid gtid = 102;
Parameter | |
---|---|
Name | Description |
builderForValue |
MysqlSourceConfig.Gtid.Builder |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |