public static final class PartitionResponse.Builder extends GeneratedMessageV3.Builder<PartitionResponse.Builder> implements PartitionResponseOrBuilder
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery] or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]Protobuf type
google.spanner.v1.PartitionResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public PartitionResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public PartitionResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public PartitionResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder mergeFrom(PartitionResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public PartitionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<PartitionResponse.Builder>
IOException
public List<Partition> getPartitionsList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsList
in interface PartitionResponseOrBuilder
public int getPartitionsCount()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsCount
in interface PartitionResponseOrBuilder
public Partition getPartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitions
in interface PartitionResponseOrBuilder
public PartitionResponse.Builder setPartitions(int index, Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder setPartitions(int index, Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder addPartitions(Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder addPartitions(int index, Partition value)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder addPartitions(Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder addPartitions(int index, Partition.Builder builderForValue)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder addAllPartitions(Iterable<? extends Partition> values)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder clearPartitions()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionResponse.Builder removePartitions(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public Partition.Builder getPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public PartitionOrBuilder getPartitionsOrBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsOrBuilder
in interface PartitionResponseOrBuilder
public List<? extends PartitionOrBuilder> getPartitionsOrBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
getPartitionsOrBuilderList
in interface PartitionResponseOrBuilder
public Partition.Builder addPartitionsBuilder()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public Partition.Builder addPartitionsBuilder(int index)
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public List<Partition.Builder> getPartitionsBuilderList()
Partitions created by this request.
repeated .google.spanner.v1.Partition partitions = 1;
public boolean hasTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
hasTransaction
in interface PartitionResponseOrBuilder
public Transaction getTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
getTransaction
in interface PartitionResponseOrBuilder
public PartitionResponse.Builder setTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
public PartitionResponse.Builder setTransaction(Transaction.Builder builderForValue)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
public PartitionResponse.Builder mergeTransaction(Transaction value)
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
public PartitionResponse.Builder clearTransaction()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
public Transaction.Builder getTransactionBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
public TransactionOrBuilder getTransactionOrBuilder()
Transaction created by this request.
.google.spanner.v1.Transaction transaction = 2;
getTransactionOrBuilder
in interface PartitionResponseOrBuilder
public final PartitionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
public final PartitionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<PartitionResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.