- 6.102.1 (latest)
- 6.102.0
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class BatchPartition.Builder extends GeneratedMessageV3.Builder<BatchPartition.Builder> implements BatchPartitionOrBuilderIdentifies a database partition generated for a particular read or query. To read rows from the partition, use ExecutePartitionAction.
 Protobuf type google.spanner.executor.v1.BatchPartition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchPartition.BuilderImplements
BatchPartitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchPartition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
build()
public BatchPartition build()| Returns | |
|---|---|
| Type | Description | 
| BatchPartition | |
buildPartial()
public BatchPartition buildPartial()| Returns | |
|---|---|
| Type | Description | 
| BatchPartition | |
clear()
public BatchPartition.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
clearField(Descriptors.FieldDescriptor field)
public BatchPartition.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
clearIndex()
public BatchPartition.Builder clearIndex()Index name if the partition was generated for an index read.
 optional string index = 4;
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchPartition.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
clearPartition()
public BatchPartition.Builder clearPartition()Serialized Partition instance.
 bytes partition = 1;
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
clearPartitionToken()
public BatchPartition.Builder clearPartitionToken()The partition token decrypted from partition.
 bytes partition_token = 2;
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
clearTable()
public BatchPartition.Builder clearTable()Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
clone()
public BatchPartition.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
getDefaultInstanceForType()
public BatchPartition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| BatchPartition | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getIndex()
public String getIndex()Index name if the partition was generated for an index read.
 optional string index = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The index. | 
getIndexBytes()
public ByteString getIndexBytes()Index name if the partition was generated for an index read.
 optional string index = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for index. | 
getPartition()
public ByteString getPartition()Serialized Partition instance.
 bytes partition = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The partition. | 
getPartitionToken()
public ByteString getPartitionToken()The partition token decrypted from partition.
 bytes partition_token = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The partitionToken. | 
getTable()
public String getTable()Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The table. | 
getTableBytes()
public ByteString getTableBytes()Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for table. | 
hasIndex()
public boolean hasIndex()Index name if the partition was generated for an index read.
 optional string index = 4;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the index field is set. | 
hasTable()
public boolean hasTable()Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the table field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchPartition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public BatchPartition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
mergeFrom(BatchPartition other)
public BatchPartition.Builder mergeFrom(BatchPartition other)| Parameter | |
|---|---|
| Name | Description | 
| other | BatchPartition | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchPartition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchPartition.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
setIndex(String value)
public BatchPartition.Builder setIndex(String value)Index name if the partition was generated for an index read.
 optional string index = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe index to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setIndexBytes(ByteString value)
public BatchPartition.Builder setIndexBytes(ByteString value)Index name if the partition was generated for an index read.
 optional string index = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for index to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setPartition(ByteString value)
public BatchPartition.Builder setPartition(ByteString value)Serialized Partition instance.
 bytes partition = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe partition to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setPartitionToken(ByteString value)
public BatchPartition.Builder setPartitionToken(ByteString value)The partition token decrypted from partition.
 bytes partition_token = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe partitionToken to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchPartition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |
setTable(String value)
public BatchPartition.Builder setTable(String value)Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe table to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setTableBytes(ByteString value)
public BatchPartition.Builder setTableBytes(ByteString value)Table name is set iff the partition was generated for a read (as opposed to a query).
 optional string table = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for table to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchPartition.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BatchPartition.Builder | |