public static final class MysqlSourceConfig.Builder extends GeneratedMessageV3.Builder<MysqlSourceConfig.Builder> implements MysqlSourceConfigOrBuilder
MySQL source configuration
Protobuf type google.cloud.datastream.v1.MysqlSourceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MysqlSourceConfig build()
Returns
buildPartial()
public MysqlSourceConfig buildPartial()
Returns
clear()
public MysqlSourceConfig.Builder clear()
Returns
Overrides
clearExcludeObjects()
public MysqlSourceConfig.Builder clearExcludeObjects()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public MysqlSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIncludeObjects()
public MysqlSourceConfig.Builder clearIncludeObjects()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MysqlSourceConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MysqlSourceConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExcludeObjects()
public MysqlRdbms getExcludeObjects()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
Returns
getExcludeObjectsBuilder()
public MysqlRdbms.Builder getExcludeObjectsBuilder()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
Returns
getExcludeObjectsOrBuilder()
public MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
Returns
getIncludeObjects()
public MysqlRdbms getIncludeObjects()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
Returns
getIncludeObjectsBuilder()
public MysqlRdbms.Builder getIncludeObjectsBuilder()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
Returns
getIncludeObjectsOrBuilder()
public MysqlRdbmsOrBuilder getIncludeObjectsOrBuilder()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(MysqlSourceConfig other)
public MysqlSourceConfig.Builder mergeFrom(MysqlSourceConfig other)
Parameter
Returns
public MysqlSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MysqlSourceConfig.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlSourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides