Class ChildPartitionsRecord.ChildPartition.Builder (6.77.0)

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

A single child partition.

Protobuf type google.spanner.executor.v1.ChildPartitionsRecord.ChildPartition

Static Methods

getDescriptor()

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

Methods

addAllParentPartitionTokens(Iterable<String> values)

public ChildPartitionsRecord.ChildPartition.Builder addAllParentPartitionTokens(Iterable<String> values)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
Name Description
values Iterable<String>

The parentPartitionTokens to add.

Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

This builder for chaining.

addParentPartitionTokens(String value)

public ChildPartitionsRecord.ChildPartition.Builder addParentPartitionTokens(String value)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
Name Description
value String

The parentPartitionTokens to add.

Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

This builder for chaining.

addParentPartitionTokensBytes(ByteString value)

public ChildPartitionsRecord.ChildPartition.Builder addParentPartitionTokensBytes(ByteString value)

Parent partition tokens of this child partition.

repeated string parent_partition_tokens = 2;

Parameter
Name Description
value ByteString

The bytes of the parentPartitionTokens to add.

Returns
Type Description
ChildPartitionsRecord.ChildPartition.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChildPartitionsRecord.ChildPartition build()
Returns
Type Description
ChildPartitionsRecord.ChildPartition

buildPartial()

public ChildPartitionsRecord.ChildPartition buildPartial()
Returns
Type Description
ChildPartitionsRecord.ChildPartition

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParentPartitionTokens()