Class MysqlSourceConfig (1.42.0)

public final class MysqlSourceConfig extends GeneratedMessageV3 implements MysqlSourceConfigOrBuilder

MySQL source configuration

Protobuf type google.cloud.datastream.v1.MysqlSourceConfig

Static Fields

EXCLUDE_OBJECTS_FIELD_NUMBER

public static final int EXCLUDE_OBJECTS_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_OBJECTS_FIELD_NUMBER

public static final int INCLUDE_OBJECTS_FIELD_NUMBER
Field Value
Type Description
int

MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER

public static final int MAX_CONCURRENT_BACKFILL_TASKS_FIELD_NUMBER
Field Value
Type Description
int

MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER

public static final int MAX_CONCURRENT_CDC_TASKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MysqlSourceConfig getDefaultInstance()
Returns
Type Description
MysqlSourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MysqlSourceConfig.Builder newBuilder()
Returns
Type Description
MysqlSourceConfig.Builder

newBuilder(MysqlSourceConfig prototype)

public static MysqlSourceConfig.Builder newBuilder(MysqlSourceConfig prototype)
Parameter
Name Description
prototype MysqlSourceConfig
Returns
Type Description
MysqlSourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static MysqlSourceConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MysqlSourceConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MysqlSourceConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MysqlSourceConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MysqlSourceConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MysqlSourceConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlSourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MysqlSourceConfig> parser()
Returns
Type Description
Parser<MysqlSourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MysqlSourceConfig getDefaultInstanceForType()
Returns
Type Description
MysqlSourceConfig

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.

getExcludeObjectsOrBuilder()

public MysqlRdbmsOrBuilder getExcludeObjectsOrBuilder()

MySQL objects to exclude from the stream.

.google.cloud.datastream.v1.MysqlRdbms exclude_objects = 2;

Returns
Type Description
MysqlRdbmsOrBuilder

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.

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.

getParserForType()

public Parser<MysqlSourceConfig> getParserForType()
Returns
Type Description
Parser<MysqlSourceConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MysqlSourceConfig.Builder newBuilderForType()
Returns
Type Description
MysqlSourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlSourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MysqlSourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MysqlSourceConfig.Builder toBuilder()
Returns
Type Description
MysqlSourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException