Class MysqlSourceConfig.Builder (1.26.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
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

clearAllowlist()

public MysqlSourceConfig.Builder clearAllowlist()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlSourceConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRejectlist()

public MysqlSourceConfig.Builder clearRejectlist()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlSourceConfig.Builder

clone()

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

getAllowlist()

public MysqlRdbms getAllowlist()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbms

The allowlist.

getAllowlistBuilder()

public MysqlRdbms.Builder getAllowlistBuilder()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbms.Builder

getAllowlistOrBuilder()

public MysqlRdbmsOrBuilder getAllowlistOrBuilder()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbmsOrBuilder

getDefaultInstanceForType()

public MysqlSourceConfig getDefaultInstanceForType()
Returns
TypeDescription
MysqlSourceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRejectlist()

public MysqlRdbms getRejectlist()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbms

The rejectlist.

getRejectlistBuilder()

public MysqlRdbms.Builder getRejectlistBuilder()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbms.Builder

getRejectlistOrBuilder()

public MysqlRdbmsOrBuilder getRejectlistOrBuilder()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbmsOrBuilder

hasAllowlist()

public boolean hasAllowlist()

MySQL objects to retrieve from the source.

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

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

Whether the rejectlist field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
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

mergeRejectlist(MysqlRdbms value)

public MysqlSourceConfig.Builder mergeRejectlist(MysqlRdbms value)

MySQL objects to exclude from the stream.

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

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

setAllowlist(MysqlRdbms value)

public MysqlSourceConfig.Builder setAllowlist(MysqlRdbms value)

MySQL objects to retrieve from the source.

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

Parameter
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
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

setRejectlist(MysqlRdbms value)

public MysqlSourceConfig.Builder setRejectlist(MysqlRdbms value)

MySQL objects to exclude from the stream.

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

Parameter
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
NameDescription
builderForValueMysqlRdbms.Builder
Returns
TypeDescription
MysqlSourceConfig.Builder

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