Class ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder (6.108.0)

public static final class ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder extends GeneratedMessage.Builder<ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder> implements ChangeStreamRecord.PartitionEventRecord.MoveInEventOrBuilder

Describes move-in of the key ranges into the change stream partition identified by partition_token.

To maintain processing the changes for a particular key in timestamp order, the query processing the change stream partition identified by partition_token should not advance beyond the partition event record commit timestamp until the queries processing the source change stream partitions have processed all change stream records with timestamps <= the partition event record commit timestamp.

Protobuf type google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent

Static Methods

getDescriptor()

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

Methods

build()

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent build()
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent

buildPartial()

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent buildPartial()
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent

clear()

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder clear()
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

clearSourcePartitionToken()

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder clearSourcePartitionToken()

An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.

string source_partition_token = 1;

Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder

This builder for chaining.

getDefaultInstanceForType()

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent getDefaultInstanceForType()
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent

getDescriptorForType()

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

getSourcePartitionToken()

public String getSourcePartitionToken()

An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.

string source_partition_token = 1;

Returns
Type Description
String

The sourcePartitionToken.

getSourcePartitionTokenBytes()

public ByteString getSourcePartitionTokenBytes()

An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.

string source_partition_token = 1;

Returns
Type Description
ByteString

The bytes for sourcePartitionToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

mergeFrom(ChangeStreamRecord.PartitionEventRecord.MoveInEvent other)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder mergeFrom(ChangeStreamRecord.PartitionEventRecord.MoveInEvent other)
Parameter
Name Description
other ChangeStreamRecord.PartitionEventRecord.MoveInEvent
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder

setSourcePartitionToken(String value)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder setSourcePartitionToken(String value)

An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.

string source_partition_token = 1;

Parameter
Name Description
value String

The sourcePartitionToken to set.

Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder

This builder for chaining.

setSourcePartitionTokenBytes(ByteString value)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder setSourcePartitionTokenBytes(ByteString value)

An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.

string source_partition_token = 1;

Parameter
Name Description
value ByteString

The bytes for sourcePartitionToken to set.

Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder

This builder for chaining.