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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlSourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MysqlSourceConfig build()
buildPartial()
public MysqlSourceConfig buildPartial()
clear()
public MysqlSourceConfig.Builder clear()
Overrides
clearExcludeObjects()
public MysqlSourceConfig.Builder clearExcludeObjects()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
clearField(Descriptors.FieldDescriptor field)
public MysqlSourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIncludeObjects()
public MysqlSourceConfig.Builder clearIncludeObjects()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlSourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MysqlSourceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public MysqlSourceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getExcludeObjectsOrBuilder()
public MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder()
MySQL objects to exclude from the stream.
.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;
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;
getIncludeObjectsOrBuilder()
public MysqlRdbmsOrBuilder getIncludeObjectsOrBuilder()
MySQL objects to retrieve from the source.
.google.cloud.datastream.v1.MysqlRdbms include_objects = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(MysqlSourceConfig other)
public MysqlSourceConfig.Builder mergeFrom(MysqlSourceConfig other)
public MysqlSourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MysqlSourceConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlSourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlSourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlSourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides