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.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()
public PartitionResponse.Builder clearTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
clone()
public PartitionResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public PartitionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPartitions(int index)
public Partition getPartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter |
---|
Name | Description |
index | int
|
getPartitionsBuilder(int index)
public Partition.Builder getPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter |
---|
Name | Description |
index | int
|
getPartitionsBuilderList()
public List<Partition.Builder> getPartitionsBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsCount()
public int getPartitionsCount()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Returns |
---|
Type | Description |
int | |
getPartitionsList()
public List<Partition> getPartitionsList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsOrBuilder(int index)
public PartitionOrBuilder getPartitionsOrBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter |
---|
Name | Description |
index | int
|
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;
getTransactionBuilder()
public Transaction.Builder getTransactionBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
getTransactionOrBuilder()
public TransactionOrBuilder getTransactionOrBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public PartitionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PartitionResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(PartitionResponse other)
public PartitionResponse.Builder mergeFrom(PartitionResponse other)
mergeTransaction(Transaction value)
public PartitionResponse.Builder mergeTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePartitions(int index)
public PartitionResponse.Builder removePartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PartitionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PartitionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTransaction(Transaction value)
public PartitionResponse.Builder setTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
setTransaction(Transaction.Builder builderForValue)
public PartitionResponse.Builder setTransaction(Transaction.Builder builderForValue)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides