Class MysqlSourceConfig.Builder (1.41.0)

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

MySQL source configuration

Protobuf type google.cloud.datastream.v1alpha1.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

clearAllowlist()

public MysqlSourceConfig.Builder clearAllowlist()

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRejectlist()

public MysqlSourceConfig.Builder clearRejectlist()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Returns
Type Description
MysqlSourceConfig.Builder

clone()

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

getAllowlist()

public MysqlRdbms getAllowlist()

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

Returns
Type Description
MysqlRdbms

The allowlist.

getAllowlistBuilder()

public MysqlRdbms.Builder getAllowlistBuilder()

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

Returns
Type Description
MysqlRdbms.Builder

getAllowlistOrBuilder()

public MysqlRdbmsOrBuilder getAllowlistOrBuilder()

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

Returns
Type Description
MysqlRdbmsOrBuilder

getDefaultInstanceForType()

public MysqlSourceConfig getDefaultInstanceForType()
Returns
Type Description
MysqlSourceConfig

getDescriptorForType()

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

getRejectlist()

public MysqlRdbms getRejectlist()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Returns
Type Description
MysqlRdbms

The rejectlist.

getRejectlistBuilder()

public MysqlRdbms.Builder getRejectlistBuilder()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Returns
Type Description
MysqlRdbms.Builder

getRejectlistOrBuilder()

public MysqlRdbmsOrBuilder getRejectlistOrBuilder()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Returns
Type Description
MysqlRdbmsOrBuilder

hasAllowlist()

public boolean hasAllowlist()

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

Returns
Type Description
boolean

Whether the allowlist field is set.

hasRejectlist()

public boolean hasRejectlist()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Returns
Type Description
boolean

Whether the rejectlist field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowlist(MysqlRdbms value)

public MysqlSourceConfig.Builder mergeAllowlist(MysqlRdbms value)

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

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

mergeRejectlist(MysqlRdbms value)

public MysqlSourceConfig.Builder mergeRejectlist(MysqlRdbms value)

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

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

setAllowlist(MysqlRdbms value)

public MysqlSourceConfig.Builder setAllowlist(MysqlRdbms value)

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

setAllowlist(MysqlRdbms.Builder builderForValue)

public MysqlSourceConfig.Builder setAllowlist(MysqlRdbms.Builder builderForValue)

MySQL objects to retrieve from the source.

.google.cloud.datastream.v1alpha1.MysqlRdbms allowlist = 1;

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

setRejectlist(MysqlRdbms value)

public MysqlSourceConfig.Builder setRejectlist(MysqlRdbms value)

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
MysqlSourceConfig.Builder

setRejectlist(MysqlRdbms.Builder builderForValue)

public MysqlSourceConfig.Builder setRejectlist(MysqlRdbms.Builder builderForValue)

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1alpha1.MysqlRdbms rejectlist = 2;

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

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