Class CdcStrategy.SpecificStartPosition (1.54.0)

public static final class CdcStrategy.SpecificStartPosition extends GeneratedMessageV3 implements CdcStrategy.SpecificStartPositionOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CdcStrategy.SpecificStartPosition

Static Fields

MYSQL_LOG_POSITION_FIELD_NUMBER

public static final int MYSQL_LOG_POSITION_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_SCN_POSITION_FIELD_NUMBER

public static final int ORACLE_SCN_POSITION_FIELD_NUMBER
Field Value
Type Description
int

SQL_SERVER_LSN_POSITION_FIELD_NUMBER

public static final int SQL_SERVER_LSN_POSITION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CdcStrategy.SpecificStartPosition getDefaultInstance()
Returns
Type Description
CdcStrategy.SpecificStartPosition

getDescriptor()

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

newBuilder()

public static CdcStrategy.SpecificStartPosition.Builder newBuilder()
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

newBuilder(CdcStrategy.SpecificStartPosition prototype)

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

parseDelimitedFrom(InputStream input)

public static CdcStrategy.SpecificStartPosition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CdcStrategy.SpecificStartPosition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CdcStrategy.SpecificStartPosition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CdcStrategy.SpecificStartPosition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CdcStrategy.SpecificStartPosition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CdcStrategy.SpecificStartPosition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CdcStrategy.SpecificStartPosition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CdcStrategy.SpecificStartPosition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CdcStrategy.SpecificStartPosition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CdcStrategy.SpecificStartPosition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CdcStrategy.SpecificStartPosition> parser()
Returns
Type Description
Parser<SpecificStartPosition>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

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.

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.

getOracleScnPositionOrBuilder()

public OracleScnPositionOrBuilder getOracleScnPositionOrBuilder()

Oracle SCN to start replicating from.

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

Returns
Type Description
OracleScnPositionOrBuilder

getParserForType()

public Parser<CdcStrategy.SpecificStartPosition> getParserForType()
Returns
Type Description
Parser<SpecificStartPosition>
Overrides

getPositionCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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 CdcStrategy.SpecificStartPosition.Builder newBuilderForType()
Returns
Type Description
CdcStrategy.SpecificStartPosition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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