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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addPartitions(Partition value)
public PartitionResponse.Builder addPartitions(Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
addPartitions(Partition.Builder builderForValue)
public PartitionResponse.Builder addPartitions(Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
addPartitions(int index, Partition value)
public PartitionResponse.Builder addPartitions(int index, Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
addPartitions(int index, Partition.Builder builderForValue)
public PartitionResponse.Builder addPartitions(int index, Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
addPartitionsBuilder()
public Partition.Builder addPartitionsBuilder()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
addPartitionsBuilder(int index)
public Partition.Builder addPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PartitionResponse build()
buildPartial()
public PartitionResponse buildPartial()
clear()
public PartitionResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PartitionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPartitions()
public PartitionResponse.Builder clearPartitions()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
clearTransaction()