public static final class Partition.Builder extends GeneratedMessageV3.Builder<Partition.Builder> implements PartitionOrBuilder
Information returned for each partition returned in a PartitionResponse.
Protobuf type google.spanner.v1.Partition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Partition.BuilderImplements
PartitionOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Partition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Partition.Builder |
build()
public Partition build()
Type | Description |
Partition |
buildPartial()
public Partition buildPartial()
Type | Description |
Partition |
clear()
public Partition.Builder clear()
Type | Description |
Partition.Builder |
clearField(Descriptors.FieldDescriptor field)
public Partition.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Partition.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Partition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Partition.Builder |
clearPartitionToken()
public Partition.Builder clearPartitionToken()
This token can be passed to Read, StreamingRead, ExecuteSql, or ExecuteStreamingSql requests to restrict the results to those identified by this partition token.
bytes partition_token = 1;
Type | Description |
Partition.Builder | This builder for chaining. |
clone()
public Partition.Builder clone()
Type | Description |
Partition.Builder |
getDefaultInstanceForType()
public Partition getDefaultInstanceForType()
Type | Description |
Partition |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPartitionToken()
public ByteString getPartitionToken()
This token can be passed to Read, StreamingRead, ExecuteSql, or ExecuteStreamingSql requests to restrict the results to those identified by this partition token.
bytes partition_token = 1;
Type | Description |
ByteString | The partitionToken. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Partition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Partition.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Partition.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Partition.Builder |
mergeFrom(Partition other)
public Partition.Builder mergeFrom(Partition other)
Name | Description |
other | Partition |
Type | Description |
Partition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Partition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Partition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Partition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Partition.Builder |
setPartitionToken(ByteString value)
public Partition.Builder setPartitionToken(ByteString value)
This token can be passed to Read, StreamingRead, ExecuteSql, or ExecuteStreamingSql requests to restrict the results to those identified by this partition token.
bytes partition_token = 1;
Name | Description |
value | ByteString The partitionToken to set. |
Type | Description |
Partition.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Partition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Partition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Partition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Partition.Builder |