Class ExecutePartitionAction.Builder (6.58.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutePartitionAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

build()

public ExecutePartitionAction build()
Returns
TypeDescription
ExecutePartitionAction

buildPartial()

public ExecutePartitionAction buildPartial()
Returns
TypeDescription
ExecutePartitionAction

clear()

public ExecutePartitionAction.Builder clear()
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExecutePartitionAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutePartitionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

clearPartition()

public ExecutePartitionAction.Builder clearPartition()

Batch partition to execute on.

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

Returns
TypeDescription
ExecutePartitionAction.Builder

clone()

public ExecutePartitionAction.Builder clone()
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

getDefaultInstanceForType()

public ExecutePartitionAction getDefaultInstanceForType()
Returns
TypeDescription
ExecutePartitionAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPartition()

public BatchPartition getPartition()

Batch partition to execute on.

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

Returns
TypeDescription
BatchPartition

The partition.

getPartitionBuilder()

public BatchPartition.Builder getPartitionBuilder()

Batch partition to execute on.

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

Returns
TypeDescription
BatchPartition.Builder

getPartitionOrBuilder()

public BatchPartitionOrBuilder getPartitionOrBuilder()

Batch partition to execute on.

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

Returns
TypeDescription
BatchPartitionOrBuilder

hasPartition()

public boolean hasPartition()

Batch partition to execute on.

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

Returns
TypeDescription
boolean

Whether the partition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutePartitionAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExecutePartitionAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

mergeFrom(ExecutePartitionAction other)

public ExecutePartitionAction.Builder mergeFrom(ExecutePartitionAction other)
Parameter
NameDescription
otherExecutePartitionAction
Returns
TypeDescription
ExecutePartitionAction.Builder

mergePartition(BatchPartition value)

public ExecutePartitionAction.Builder mergePartition(BatchPartition value)

Batch partition to execute on.

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

Parameter
NameDescription
valueBatchPartition
Returns
TypeDescription
ExecutePartitionAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutePartitionAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutePartitionAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueBatchPartition
Returns
TypeDescription
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
NameDescription
builderForValueBatchPartition.Builder
Returns
TypeDescription
ExecutePartitionAction.Builder

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

public ExecutePartitionAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutePartitionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides