Class ExecutePartitionAction.Builder (6.79.0)

public static final class ExecutePartitionAction.Builder extends GeneratedMessageV3.Builder<ExecutePartitionAction.Builder> implements ExecutePartitionActionOrBuilder

Performs a read or query for the given partitions. This action must be executed in the context of the same transaction that was used to generate given partitions.

Protobuf type google.spanner.executor.v1.ExecutePartitionAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutePartitionAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

build()

public ExecutePartitionAction build()
Returns
Type Description
ExecutePartitionAction

buildPartial()

public ExecutePartitionAction buildPartial()
Returns
Type Description
ExecutePartitionAction

clear()

public ExecutePartitionAction.Builder clear()
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExecutePartitionAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutePartitionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

clearPartition()

public ExecutePartitionAction.Builder clearPartition()

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Returns
Type Description
ExecutePartitionAction.Builder

clone()

public ExecutePartitionAction.Builder clone()
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

getDefaultInstanceForType()

public ExecutePartitionAction getDefaultInstanceForType()
Returns
Type Description
ExecutePartitionAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPartition()

public BatchPartition getPartition()

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Returns
Type Description
BatchPartition

The partition.

getPartitionBuilder()

public BatchPartition.Builder getPartitionBuilder()

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Returns
Type Description
BatchPartition.Builder

getPartitionOrBuilder()

public BatchPartitionOrBuilder getPartitionOrBuilder()

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Returns
Type Description
BatchPartitionOrBuilder

hasPartition()

public boolean hasPartition()

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Returns
Type Description
boolean

Whether the partition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutePartitionAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExecutePartitionAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

mergeFrom(ExecutePartitionAction other)

public ExecutePartitionAction.Builder mergeFrom(ExecutePartitionAction other)
Parameter
Name Description
other ExecutePartitionAction
Returns
Type Description
ExecutePartitionAction.Builder

mergePartition(BatchPartition value)

public ExecutePartitionAction.Builder mergePartition(BatchPartition value)

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Parameter
Name Description
value BatchPartition
Returns
Type Description
ExecutePartitionAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutePartitionAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutePartitionAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

setPartition(BatchPartition value)

public ExecutePartitionAction.Builder setPartition(BatchPartition value)

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Parameter
Name Description
value BatchPartition
Returns
Type Description
ExecutePartitionAction.Builder

setPartition(BatchPartition.Builder builderForValue)

public ExecutePartitionAction.Builder setPartition(BatchPartition.Builder builderForValue)

Batch partition to execute on.

.google.spanner.executor.v1.BatchPartition partition = 1;

Parameter
Name Description
builderForValue BatchPartition.Builder
Returns
Type Description
ExecutePartitionAction.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExecutePartitionAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutePartitionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutePartitionAction.Builder
Overrides