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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExecutePartitionAction.BuilderImplements
ExecutePartitionActionOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public ExecutePartitionAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExecutePartitionAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecutePartitionAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExecutePartitionAction.Builder |
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 |
getDefaultInstanceForType()
public ExecutePartitionAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExecutePartitionAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExecutePartitionAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExecutePartitionAction.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecutePartitionAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExecutePartitionAction.Builder |