Class ExecutePartitionAction (6.58.0)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExecutePartitionAction getDefaultInstance()
Returns
TypeDescription
ExecutePartitionAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExecutePartitionAction.Builder newBuilder()
Returns
TypeDescription
ExecutePartitionAction.Builder

newBuilder(ExecutePartitionAction prototype)

public static ExecutePartitionAction.Builder newBuilder(ExecutePartitionAction prototype)
Parameter
NameDescription
prototypeExecutePartitionAction
Returns
TypeDescription
ExecutePartitionAction.Builder

parseDelimitedFrom(InputStream input)

public static ExecutePartitionAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExecutePartitionAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecutePartitionAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecutePartitionAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExecutePartitionAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExecutePartitionAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecutePartitionAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutePartitionAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExecutePartitionAction> parser()
Returns
TypeDescription
Parser<ExecutePartitionAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExecutePartitionAction getDefaultInstanceForType()
Returns
TypeDescription
ExecutePartitionAction

getParserForType()

public Parser<ExecutePartitionAction> getParserForType()
Returns
TypeDescription
Parser<ExecutePartitionAction>
Overrides

getPartition()

public BatchPartition getPartition()

Batch partition to execute on.

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

Returns
TypeDescription
BatchPartition

The partition.

getPartitionOrBuilder()

public BatchPartitionOrBuilder getPartitionOrBuilder()

Batch partition to execute on.

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

Returns
TypeDescription
BatchPartitionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExecutePartitionAction.Builder newBuilderForType()
Returns
TypeDescription
ExecutePartitionAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExecutePartitionAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExecutePartitionAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExecutePartitionAction.Builder toBuilder()
Returns
TypeDescription
ExecutePartitionAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException