Class SpannerAsyncActionRequest (6.62.0)

public final class SpannerAsyncActionRequest extends GeneratedMessageV3 implements SpannerAsyncActionRequestOrBuilder

Request to executor service that start a new Spanner action.

Protobuf type google.spanner.executor.v1.SpannerAsyncActionRequest

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

ACTION_ID_FIELD_NUMBER

public static final int ACTION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SpannerAsyncActionRequest getDefaultInstance()
Returns
TypeDescription
SpannerAsyncActionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SpannerAsyncActionRequest prototype)

public static SpannerAsyncActionRequest.Builder newBuilder(SpannerAsyncActionRequest prototype)
Parameter
NameDescription
prototypeSpannerAsyncActionRequest
Returns
TypeDescription
SpannerAsyncActionRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public SpannerAction getAction()

The actual SpannerAction to perform.

.google.spanner.executor.v1.SpannerAction action = 2;

Returns
TypeDescription
SpannerAction

The action.

getActionId()

public int getActionId()

Action id to uniquely identify this action request.

int32 action_id = 1;

Returns
TypeDescription
int

The actionId.

getActionOrBuilder()

public SpannerActionOrBuilder getActionOrBuilder()

The actual SpannerAction to perform.

.google.spanner.executor.v1.SpannerAction action = 2;

Returns
TypeDescription
SpannerActionOrBuilder

getDefaultInstanceForType()

public SpannerAsyncActionRequest getDefaultInstanceForType()
Returns
TypeDescription
SpannerAsyncActionRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAction()

public boolean hasAction()

The actual SpannerAction to perform.

.google.spanner.executor.v1.SpannerAction action = 2;

Returns
TypeDescription
boolean

Whether the action 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 SpannerAsyncActionRequest.Builder newBuilderForType()
Returns
TypeDescription
SpannerAsyncActionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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