Class CdcStrategy.SpecificStartPosition.Builder (1.54.0)

public static final class CdcStrategy.SpecificStartPosition.Builder extends GeneratedMessageV3.Builder<CdcStrategy.SpecificStartPosition.Builder> implements CdcStrategy.SpecificStartPositionOrBuilder

CDC strategy to start replicating from a specific position in the source.

Protobuf type google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CdcStrategy.SpecificStartPosition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

build()

public CdcStrategy.SpecificStartPosition build()
Returns
Type Description
CdcStrategy.SpecificStartPosition

buildPartial()

public CdcStrategy.SpecificStartPosition buildPartial()
Returns
Type Description
CdcStrategy.SpecificStartPosition

clear()

public CdcStrategy.SpecificStartPosition.Builder clear()
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CdcStrategy.SpecificStartPosition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

clearMysqlLogPosition()

public CdcStrategy.SpecificStartPosition.Builder clearMysqlLogPosition()

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CdcStrategy.SpecificStartPosition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

clearOracleScnPosition()

public CdcStrategy.SpecificStartPosition.Builder clearOracleScnPosition()

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

clearPosition()

public CdcStrategy.SpecificStartPosition.Builder clearPosition()
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

clearSqlServerLsnPosition()

public CdcStrategy.SpecificStartPosition.Builder clearSqlServerLsnPosition()

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

clone()

public CdcStrategy.SpecificStartPosition.Builder clone()
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

getDefaultInstanceForType()

public CdcStrategy.SpecificStartPosition getDefaultInstanceForType()
Returns
Type Description
CdcStrategy.SpecificStartPosition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMysqlLogPosition()

public MysqlLogPosition getMysqlLogPosition()

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Returns
Type Description
MysqlLogPosition

The mysqlLogPosition.

getMysqlLogPositionBuilder()

public MysqlLogPosition.Builder getMysqlLogPositionBuilder()

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Returns
Type Description
MysqlLogPosition.Builder

getMysqlLogPositionOrBuilder()

public MysqlLogPositionOrBuilder getMysqlLogPositionOrBuilder()

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Returns
Type Description
MysqlLogPositionOrBuilder

getOracleScnPosition()

public OracleScnPosition getOracleScnPosition()

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Returns
Type Description
OracleScnPosition

The oracleScnPosition.

getOracleScnPositionBuilder()

public OracleScnPosition.Builder getOracleScnPositionBuilder()

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Returns
Type Description
OracleScnPosition.Builder

getOracleScnPositionOrBuilder()

public OracleScnPositionOrBuilder getOracleScnPositionOrBuilder()

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Returns
Type Description
OracleScnPositionOrBuilder

getPositionCase()

public CdcStrategy.SpecificStartPosition.PositionCase getPositionCase()
Returns
Type Description
CdcStrategy.SpecificStartPosition.PositionCase

getSqlServerLsnPosition()

public SqlServerLsnPosition getSqlServerLsnPosition()

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Returns
Type Description
SqlServerLsnPosition

The sqlServerLsnPosition.

getSqlServerLsnPositionBuilder()

public SqlServerLsnPosition.Builder getSqlServerLsnPositionBuilder()

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Returns
Type Description
SqlServerLsnPosition.Builder

getSqlServerLsnPositionOrBuilder()

public SqlServerLsnPositionOrBuilder getSqlServerLsnPositionOrBuilder()

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Returns
Type Description
SqlServerLsnPositionOrBuilder

hasMysqlLogPosition()

public boolean hasMysqlLogPosition()

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Returns
Type Description
boolean

Whether the mysqlLogPosition field is set.

hasOracleScnPosition()

public boolean hasOracleScnPosition()

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Returns
Type Description
boolean

Whether the oracleScnPosition field is set.

hasSqlServerLsnPosition()

public boolean hasSqlServerLsnPosition()

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Returns
Type Description
boolean

Whether the sqlServerLsnPosition field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CdcStrategy.SpecificStartPosition other)

public CdcStrategy.SpecificStartPosition.Builder mergeFrom(CdcStrategy.SpecificStartPosition other)
Parameter
Name Description
other CdcStrategy.SpecificStartPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CdcStrategy.SpecificStartPosition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CdcStrategy.SpecificStartPosition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

mergeMysqlLogPosition(MysqlLogPosition value)

public CdcStrategy.SpecificStartPosition.Builder mergeMysqlLogPosition(MysqlLogPosition value)

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Parameter
Name Description
value MysqlLogPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

mergeOracleScnPosition(OracleScnPosition value)

public CdcStrategy.SpecificStartPosition.Builder mergeOracleScnPosition(OracleScnPosition value)

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Parameter
Name Description
value OracleScnPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

mergeSqlServerLsnPosition(SqlServerLsnPosition value)

public CdcStrategy.SpecificStartPosition.Builder mergeSqlServerLsnPosition(SqlServerLsnPosition value)

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Parameter
Name Description
value SqlServerLsnPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CdcStrategy.SpecificStartPosition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CdcStrategy.SpecificStartPosition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

setMysqlLogPosition(MysqlLogPosition value)

public CdcStrategy.SpecificStartPosition.Builder setMysqlLogPosition(MysqlLogPosition value)

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Parameter
Name Description
value MysqlLogPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setMysqlLogPosition(MysqlLogPosition.Builder builderForValue)

public CdcStrategy.SpecificStartPosition.Builder setMysqlLogPosition(MysqlLogPosition.Builder builderForValue)

MySQL specific log position to start replicating from.

.google.cloud.datastream.v1.MysqlLogPosition mysql_log_position = 101;

Parameter
Name Description
builderForValue MysqlLogPosition.Builder
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setOracleScnPosition(OracleScnPosition value)

public CdcStrategy.SpecificStartPosition.Builder setOracleScnPosition(OracleScnPosition value)

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Parameter
Name Description
value OracleScnPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setOracleScnPosition(OracleScnPosition.Builder builderForValue)

public CdcStrategy.SpecificStartPosition.Builder setOracleScnPosition(OracleScnPosition.Builder builderForValue)

Oracle SCN to start replicating from.

.google.cloud.datastream.v1.OracleScnPosition oracle_scn_position = 102;

Parameter
Name Description
builderForValue OracleScnPosition.Builder
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CdcStrategy.SpecificStartPosition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides

setSqlServerLsnPosition(SqlServerLsnPosition value)

public CdcStrategy.SpecificStartPosition.Builder setSqlServerLsnPosition(SqlServerLsnPosition value)

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Parameter
Name Description
value SqlServerLsnPosition
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setSqlServerLsnPosition(SqlServerLsnPosition.Builder builderForValue)

public CdcStrategy.SpecificStartPosition.Builder setSqlServerLsnPosition(SqlServerLsnPosition.Builder builderForValue)

SqlServer LSN to start replicating from.

.google.cloud.datastream.v1.SqlServerLsnPosition sql_server_lsn_position = 103;

Parameter
Name Description
builderForValue SqlServerLsnPosition.Builder
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CdcStrategy.SpecificStartPosition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder
Overrides