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
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
addPartitions(Partition value)
public PartitionResponse.Builder addPartitions(Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
addPartitions(Partition.Builder builderForValue)
public PartitionResponse.Builder addPartitions(Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addPartitionsBuilder()
public Partition.Builder addPartitionsBuilder()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
addPartitionsBuilder(int index)
public Partition.Builder addPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PartitionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PartitionResponse build()
Returns
buildPartial()
public PartitionResponse buildPartial()
Returns
clear()
public PartitionResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PartitionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPartitions()
public PartitionResponse.Builder clearPartitions()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
clearTransaction()
public PartitionResponse.Builder clearTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Returns
clone()
public PartitionResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PartitionResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPartitions(int index)
public Partition getPartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
getPartitionsBuilder(int index)
public Partition.Builder getPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
getPartitionsBuilderList()
public List<Partition.Builder> getPartitionsBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
getPartitionsCount()
public int getPartitionsCount()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
getPartitionsList()
public List<Partition> getPartitionsList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
getPartitionsOrBuilder(int index)
public PartitionOrBuilder getPartitionsOrBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
getPartitionsOrBuilderList()
public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns
Type | Description |
List<? extends com.google.spanner.v1.PartitionOrBuilder> | |
getTransaction()
public Transaction getTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Returns
getTransactionBuilder()
public Transaction.Builder getTransactionBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Returns
getTransactionOrBuilder()
public TransactionOrBuilder getTransactionOrBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Returns
hasTransaction()
public boolean hasTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Returns
Type | Description |
boolean | Whether the transaction field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public PartitionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PartitionResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(PartitionResponse other)
public PartitionResponse.Builder mergeFrom(PartitionResponse other)
Parameter
Returns
mergeTransaction(Transaction value)
public PartitionResponse.Builder mergeTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePartitions(int index)
public PartitionResponse.Builder removePartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PartitionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPartitions(int index, Partition value)
public PartitionResponse.Builder setPartitions(int index, Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameters
Returns
setPartitions(int index, Partition.Builder builderForValue)
public PartitionResponse.Builder setPartitions(int index, Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PartitionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTransaction(Transaction value)
public PartitionResponse.Builder setTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Parameter
Returns
setTransaction(Transaction.Builder builderForValue)
public PartitionResponse.Builder setTransaction(Transaction.Builder builderForValue)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides