Class PartitionResponse.Builder (6.82.0)

public static final class PartitionResponse.Builder extends GeneratedMessageV3.Builder<PartitionResponse.Builder> implements PartitionResponseOrBuilder

The response for PartitionQuery or PartitionRead

Protobuf type google.spanner.v1.PartitionResponse

Static Methods

getDescriptor()

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

Methods

addAllPartitions(Iterable<? extends Partition> values)

public PartitionResponse.Builder addAllPartitions(Iterable<? extends Partition> values)

Partitions created by this request.

repeated .google.spanner.v1.Partition partitions = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.v1.Partition>
Returns
Type Description