Class ChildPartitionsRecord.Builder (6.80.1)

public static final class ChildPartitionsRecord.Builder extends GeneratedMessageV3.Builder<ChildPartitionsRecord.Builder> implements ChildPartitionsRecordOrBuilder

ChangeStream child partition record.

Protobuf type google.spanner.executor.v1.ChildPartitionsRecord

Static Methods

getDescriptor()

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

Methods

addAllChildPartitions(Iterable<? extends ChildPartitionsRecord.ChildPartition> values)

public ChildPartitionsRecord.Builder addAllChildPartitions(Iterable<? extends ChildPartitionsRecord.ChildPartition> values)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition>
Returns
Type Description
ChildPartitionsRecord.Builder

addChildPartitions(ChildPartitionsRecord.ChildPartition value)

public ChildPartitionsRecord.Builder addChildPartitions(ChildPartitionsRecord.ChildPartition value)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
value ChildPartitionsRecord.ChildPartition
Returns
Type Description
ChildPartitionsRecord.Builder

addChildPartitions(ChildPartitionsRecord.ChildPartition.Builder builderForValue)

public ChildPartitionsRecord.Builder addChildPartitions(ChildPartitionsRecord.ChildPartition.Builder builderForValue)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
builderForValue ChildPartitionsRecord.ChildPartition.Builder
Returns
Type Description
ChildPartitionsRecord.Builder

addChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)

public ChildPartitionsRecord.Builder addChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameters
Name Description
index int
value ChildPartitionsRecord.ChildPartition
Returns
Type Description
ChildPartitionsRecord.Builder

addChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)

public ChildPartitionsRecord.Builder addChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameters
Name Description
index int
builderForValue ChildPartitionsRecord.ChildPartition.Builder
Returns
Type Description
ChildPartitionsRecord.Builder

addChildPartitionsBuilder()

public ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

addChildPartitionsBuilder(int index)

public ChildPartitionsRecord.ChildPartition.Builder addChildPartitionsBuilder(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
index int
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChildPartitionsRecord build()
Returns
Type Description
ChildPartitionsRecord

buildPartial()

public ChildPartitionsRecord buildPartial()
Returns
Type Description
ChildPartitionsRecord

clear()

public ChildPartitionsRecord.Builder clear()
Returns
Type Description
ChildPartitionsRecord.Builder
Overrides

clearChildPartitions()

public ChildPartitionsRecord.Builder clearChildPartitions()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
ChildPartitionsRecord.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecordSequence()

public ChildPartitionsRecord.Builder clearRecordSequence()

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Returns
Type Description
ChildPartitionsRecord.Builder

This builder for chaining.

clearStartTime()

public ChildPartitionsRecord.Builder clearStartTime()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
ChildPartitionsRecord.Builder

clone()

public ChildPartitionsRecord.Builder clone()
Returns
Type Description
ChildPartitionsRecord.Builder
Overrides

getChildPartitions(int index)

public ChildPartitionsRecord.ChildPartition getChildPartitions(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
index int
Returns
Type Description
ChildPartitionsRecord.ChildPartition

getChildPartitionsBuilder(int index)

public ChildPartitionsRecord.ChildPartition.Builder getChildPartitionsBuilder(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
index int
Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

getChildPartitionsBuilderList()

public List<ChildPartitionsRecord.ChildPartition.Builder> getChildPartitionsBuilderList()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
List<Builder>

getChildPartitionsCount()

public int getChildPartitionsCount()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
int

getChildPartitionsList()

public List<ChildPartitionsRecord.ChildPartition> getChildPartitionsList()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
List<ChildPartition>

getChildPartitionsOrBuilder(int index)

public ChildPartitionsRecord.ChildPartitionOrBuilder getChildPartitionsOrBuilder(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
index int
Returns
Type Description
ChildPartitionsRecord.ChildPartitionOrBuilder

getChildPartitionsOrBuilderList()

public List<? extends ChildPartitionsRecord.ChildPartitionOrBuilder> getChildPartitionsOrBuilderList()

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>

getDefaultInstanceForType()

public ChildPartitionsRecord getDefaultInstanceForType()
Returns
Type Description
ChildPartitionsRecord

getDescriptorForType()

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

getRecordSequence()

public String getRecordSequence()

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Returns
Type Description
String

The recordSequence.

getRecordSequenceBytes()

public ByteString getRecordSequenceBytes()

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Returns
Type Description
ByteString

The bytes for recordSequence.

getStartTime()

public Timestamp getStartTime()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

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 ChildPartitionsRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChildPartitionsRecord.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ChildPartitionsRecord other)

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

mergeStartTime(Timestamp value)

public ChildPartitionsRecord.Builder mergeStartTime(Timestamp value)

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ChildPartitionsRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChildPartitions(int index)

public ChildPartitionsRecord.Builder removeChildPartitions(int index)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameter
Name Description
index int
Returns
Type Description
ChildPartitionsRecord.Builder

setChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)

public ChildPartitionsRecord.Builder setChildPartitions(int index, ChildPartitionsRecord.ChildPartition value)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameters
Name Description
index int
value ChildPartitionsRecord.ChildPartition
Returns
Type Description
ChildPartitionsRecord.Builder

setChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)

public ChildPartitionsRecord.Builder setChildPartitions(int index, ChildPartitionsRecord.ChildPartition.Builder builderForValue)

A set of child partitions and their associated information.

repeated .google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition child_partitions = 3;

Parameters
Name Description
index int
builderForValue ChildPartitionsRecord.ChildPartition.Builder
Returns
Type Description
ChildPartitionsRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRecordSequence(String value)

public ChildPartitionsRecord.Builder setRecordSequence(String value)

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Parameter
Name Description
value String

The recordSequence to set.

Returns
Type Description
ChildPartitionsRecord.Builder

This builder for chaining.

setRecordSequenceBytes(ByteString value)

public ChildPartitionsRecord.Builder setRecordSequenceBytes(ByteString value)

A monotonically increasing sequence number that can be used to define the ordering of the child partitions record when there are multiple child partitions records returned with the same start_time in a particular partition.

string record_sequence = 2;

Parameter
Name Description
value ByteString

The bytes for recordSequence to set.

Returns
Type Description
ChildPartitionsRecord.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public ChildPartitionsRecord.Builder setStartTime(Timestamp value)

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ChildPartitionsRecord.Builder

setStartTime(Timestamp.Builder builderForValue)

public ChildPartitionsRecord.Builder setStartTime(Timestamp.Builder builderForValue)

Data change records returned from child partitions in this child partitions record will have a commit timestamp greater than or equal to start_time.

.google.protobuf.Timestamp start_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ChildPartitionsRecord.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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