Class SqlServerSourceConfig (1.54.0)

public final class SqlServerSourceConfig extends GeneratedMessageV3 implements SqlServerSourceConfigOrBuilder

SQLServer data source configuration

Protobuf type google.cloud.datastream.v1.SqlServerSourceConfig

Static Fields

CHANGE_TABLES_FIELD_NUMBER

public static final int CHANGE_TABLES_FIELD_NUMBER
Field Value
Type Description
int

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

TRANSACTION_LOGS_FIELD_NUMBER

public static final int TRANSACTION_LOGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlServerSourceConfig getDefaultInstance()
Returns
Type Description
SqlServerSourceConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SqlServerSourceConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCdcMethodCase()

public SqlServerSourceConfig.CdcMethodCase getCdcMethodCase()
Returns
Type Description
SqlServerSourceConfig.CdcMethodCase

getChangeTables()

public SqlServerChangeTables getChangeTables()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerChangeTables

The changeTables.

getChangeTablesOrBuilder()

public SqlServerChangeTablesOrBuilder getChangeTablesOrBuilder()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
SqlServerChangeTablesOrBuilder

getDefaultInstanceForType()

public SqlServerSourceConfig getDefaultInstanceForType()
Returns
Type Description
SqlServerSourceConfig

getExcludeObjects()

public SqlServerRdbms getExcludeObjects()

SQLServer objects to exclude from the stream.

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

Returns
Type Description
SqlServerRdbms

The excludeObjects.

getExcludeObjectsOrBuilder()

public SqlServerRdbmsOrBuilder getExcludeObjectsOrBuilder()

SQLServer objects to exclude from the stream.

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

Returns
Type Description
SqlServerRdbmsOrBuilder

getIncludeObjects()

public SqlServerRdbms getIncludeObjects()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerRdbms

The includeObjects.

getIncludeObjectsOrBuilder()

public SqlServerRdbmsOrBuilder getIncludeObjectsOrBuilder()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
SqlServerRdbmsOrBuilder

getMaxConcurrentBackfillTasks()

public int getMaxConcurrentBackfillTasks()

Max concurrent backfill tasks.

int32 max_concurrent_backfill_tasks = 4;

Returns
Type Description
int

The maxConcurrentBackfillTasks.

getMaxConcurrentCdcTasks()

public int getMaxConcurrentCdcTasks()

Max concurrent CDC tasks.

int32 max_concurrent_cdc_tasks = 3;

Returns
Type Description
int

The maxConcurrentCdcTasks.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransactionLogs()

public SqlServerTransactionLogs getTransactionLogs()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerTransactionLogs

The transactionLogs.

getTransactionLogsOrBuilder()

public SqlServerTransactionLogsOrBuilder getTransactionLogsOrBuilder()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
SqlServerTransactionLogsOrBuilder

hasChangeTables()

public boolean hasChangeTables()

CDC reader reads from change tables.

.google.cloud.datastream.v1.SqlServerChangeTables change_tables = 102;

Returns
Type Description
boolean

Whether the changeTables field is set.

hasExcludeObjects()

public boolean hasExcludeObjects()

SQLServer objects to exclude from the stream.

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

Returns
Type Description
boolean

Whether the excludeObjects field is set.

hasIncludeObjects()

public boolean hasIncludeObjects()

SQLServer objects to include in the stream.

.google.cloud.datastream.v1.SqlServerRdbms include_objects = 1;

Returns
Type Description
boolean

Whether the includeObjects field is set.

hasTransactionLogs()

public boolean hasTransactionLogs()

CDC reader reads from transaction logs.

.google.cloud.datastream.v1.SqlServerTransactionLogs transaction_logs = 101;

Returns
Type Description
boolean

Whether the transactionLogs 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 SqlServerSourceConfig.Builder newBuilderForType()
Returns
Type Description
SqlServerSourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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