Class MysqlSourceConfig (1.36.0)

public final class MysqlSourceConfig extends GeneratedMessageV3 implements MysqlSourceConfigOrBuilder

MySQL source configuration

Protobuf type google.cloud.datastream.v1alpha1.MysqlSourceConfig

Static Fields

ALLOWLIST_FIELD_NUMBER

public static final int ALLOWLIST_FIELD_NUMBER
Field Value
TypeDescription
int

REJECTLIST_FIELD_NUMBER

public static final int REJECTLIST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MysqlSourceConfig getDefaultInstance()
Returns
TypeDescription
MysqlSourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MysqlSourceConfig.Builder newBuilder()
Returns
TypeDescription
MysqlSourceConfig.Builder

newBuilder(MysqlSourceConfig prototype)

public static MysqlSourceConfig.Builder newBuilder(MysqlSourceConfig prototype)
Parameter
NameDescription
prototypeMysqlSourceConfig
Returns
TypeDescription
MysqlSourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static MysqlSourceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MysqlSourceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MysqlSourceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MysqlSourceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MysqlSourceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MysqlSourceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MysqlSourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlSourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MysqlSourceConfig> parser()
Returns
TypeDescription
Parser<MysqlSourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllowlist()

public MysqlRdbms getAllowlist()

MySQL objects to retrieve from the source.

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

Returns
TypeDescription
MysqlRdbms

The allowlist.

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

getParserForType()

public Parser<MysqlSourceConfig> getParserForType()
Returns
TypeDescription
Parser<MysqlSourceConfig>
Overrides

getRejectlist()

public MysqlRdbms getRejectlist()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbms

The rejectlist.

getRejectlistOrBuilder()

public MysqlRdbmsOrBuilder getRejectlistOrBuilder()

MySQL objects to exclude from the stream.

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

Returns
TypeDescription
MysqlRdbmsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MysqlSourceConfig.Builder newBuilderForType()
Returns
TypeDescription
MysqlSourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlSourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MysqlSourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MysqlSourceConfig.Builder toBuilder()
Returns
TypeDescription
MysqlSourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException