Class ChildPartitionsRecord.Builder (6.60.0)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition>
Returns
TypeDescription
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
NameDescription
valueChildPartitionsRecord.ChildPartition
Returns
TypeDescription
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
NameDescription
builderForValueChildPartitionsRecord.ChildPartition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueChildPartitionsRecord.ChildPartition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChildPartitionsRecord.ChildPartition.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ChildPartitionsRecord.ChildPartition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ChildPartitionsRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ChildPartitionsRecord.Builder
Overrides

build()

public ChildPartitionsRecord build()
Returns
TypeDescription
ChildPartitionsRecord

buildPartial()

public ChildPartitionsRecord buildPartial()
Returns
TypeDescription
ChildPartitionsRecord

clear()

public ChildPartitionsRecord.Builder clear()
Returns
TypeDescription
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
TypeDescription
ChildPartitionsRecord.Builder

clearField(Descriptors.FieldDescriptor field)

public ChildPartitionsRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ChildPartitionsRecord.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ChildPartitionsRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ChildPartitionsRecord.Builder

clone()

public ChildPartitionsRecord.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.spanner.executor.v1.ChildPartitionsRecord.ChildPartitionOrBuilder>

getDefaultInstanceForType()

public ChildPartitionsRecord getDefaultInstanceForType()
Returns
TypeDescription
ChildPartitionsRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChildPartitionsRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChildPartitionsRecord.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ChildPartitionsRecord.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ChildPartitionsRecord.Builder
Overrides

mergeFrom(ChildPartitionsRecord other)

public ChildPartitionsRecord.Builder mergeFrom(ChildPartitionsRecord other)
Parameter
NameDescription
otherChildPartitionsRecord
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ChildPartitionsRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChildPartitionsRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueChildPartitionsRecord.ChildPartition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChildPartitionsRecord.ChildPartition.Builder
Returns
TypeDescription
ChildPartitionsRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ChildPartitionsRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The recordSequence to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for recordSequence to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ChildPartitionsRecord.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ChildPartitionsRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChildPartitionsRecord.Builder
Overrides