Class ExecutePartitionAction (6.74.1)

public final class ExecutePartitionAction extends GeneratedMessageV3 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 Fields

PARTITION_FIELD_NUMBER

public static final int PARTITION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecutePartitionAction getDefaultInstance()
Returns
Type Description
ExecutePartitionAction

getDescriptor()

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

newBuilder()

public static ExecutePartitionAction.Builder newBuilder()
Returns
Type Description
ExecutePartitionAction.Builder

newBuilder(ExecutePartitionAction prototype)

public static ExecutePartitionAction.Builder newBuilder(ExecutePartitionAction prototype)
Parameter
Name Description
prototype ExecutePartitionAction
Returns
Type Description
ExecutePartitionAction.Builder

parseDelimitedFrom(InputStream input)

public static ExecutePartitionAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecutePartitionAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecutePartitionAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecutePartitionAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecutePartitionAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecutePartitionAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutePartitionAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecutePartitionAction> parser()
Returns
Type Description
Parser<ExecutePartitionAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExecutePartitionAction getDefaultInstanceForType()
Returns
Type Description
ExecutePartitionAction

getParserForType()

public Parser<ExecutePartitionAction> getParserForType()
Returns
Type Description
Parser<ExecutePartitionAction>
Overrides

getPartition()

public BatchPartition getPartition()

Batch partition to execute on.

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

Returns
Type Description
BatchPartition

The partition.

getPartitionOrBuilder()

public BatchPartitionOrBuilder getPartitionOrBuilder()

Batch partition to execute on.

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

Returns
Type Description
BatchPartitionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecutePartitionAction.Builder newBuilderForType()
Returns
Type Description
ExecutePartitionAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecutePartitionAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecutePartitionAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExecutePartitionAction.Builder toBuilder()
Returns
Type Description
ExecutePartitionAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException