Class SqlServerChangeTables.SqlServerDdlConfig (1.102.0)

public static final class SqlServerChangeTables.SqlServerDdlConfig extends GeneratedMessage implements SqlServerChangeTables.SqlServerDdlConfigOrBuilder

DDL configuration for change tables.

Protobuf type google.cloud.datastream.v1.SqlServerChangeTables.SqlServerDdlConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SqlServerChangeTables.SqlServerDdlConfig

Static Fields

AUTO_CREATE_NEW_CAPTURE_INSTANCE_ON_DDL_FIELD_NUMBER

public static final int AUTO_CREATE_NEW_CAPTURE_INSTANCE_ON_DDL_FIELD_NUMBER
Field Value
Type Description
int

AUTO_DELETE_OLD_CAPTURE_INSTANCE_FIELD_NUMBER

public static final int AUTO_DELETE_OLD_CAPTURE_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlServerChangeTables.SqlServerDdlConfig getDefaultInstance()
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig

getDescriptor()

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

newBuilder()

public static SqlServerChangeTables.SqlServerDdlConfig.Builder newBuilder()
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig.Builder

newBuilder(SqlServerChangeTables.SqlServerDdlConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static SqlServerChangeTables.SqlServerDdlConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SqlServerChangeTables.SqlServerDdlConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SqlServerChangeTables.SqlServerDdlConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SqlServerChangeTables.SqlServerDdlConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SqlServerChangeTables.SqlServerDdlConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SqlServerChangeTables.SqlServerDdlConfig> parser()
Returns
Type Description
Parser<SqlServerDdlConfig>

Methods

equals(Object obj)

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

getAutoCreateNewCaptureInstanceOnDdl()

public boolean getAutoCreateNewCaptureInstanceOnDdl()

Optional. If set to true, Datastream will automatically create a new capture instance when DDL is detected on a table.The customer will be responsible for deleting it so that the next set of DDLs can be handled. The default is false and it means that DDL's will not be handled .

bool auto_create_new_capture_instance_on_ddl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoCreateNewCaptureInstanceOnDdl.

getAutoDeleteOldCaptureInstance()

public boolean getAutoDeleteOldCaptureInstance()

Optional. If set to true, Datastream will automatically delete the old capture instance after creating a new one to support a DDL change. The default is false and means that the customer has to delete the old capture instance manually.

bool auto_delete_old_capture_instance = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoDeleteOldCaptureInstance.

getDefaultInstanceForType()

public SqlServerChangeTables.SqlServerDdlConfig getDefaultInstanceForType()
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig

getParserForType()

public Parser<SqlServerChangeTables.SqlServerDdlConfig> getParserForType()
Returns
Type Description
Parser<SqlServerDdlConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SqlServerChangeTables.SqlServerDdlConfig.Builder newBuilderForType()
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SqlServerChangeTables.SqlServerDdlConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig.Builder
Overrides

toBuilder()

public SqlServerChangeTables.SqlServerDdlConfig.Builder toBuilder()
Returns
Type Description
SqlServerChangeTables.SqlServerDdlConfig.Builder

writeTo(CodedOutputStream output)

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