Class ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder (6.95.1)

public static final class ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ChangeStreamRecord.PartitionEventRecord.MoveInEvent.Builder
Overrides