Class SpannerAsyncActionResponse (6.71.0)

public final class SpannerAsyncActionResponse extends GeneratedMessageV3 implements SpannerAsyncActionResponseOrBuilder

Response from executor service.

Protobuf type google.spanner.executor.v1.SpannerAsyncActionResponse

Static Fields

ACTION_ID_FIELD_NUMBER

public static final int ACTION_ID_FIELD_NUMBER
Field Value
Type Description
int

OUTCOME_FIELD_NUMBER

public static final int OUTCOME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SpannerAsyncActionResponse getDefaultInstance()
Returns
Type Description
SpannerAsyncActionResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SpannerAsyncActionResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionId()

public int getActionId()

Action id corresponds to the request.

int32 action_id = 1;

Returns
Type Description
int

The actionId.

getDefaultInstanceForType()

public SpannerAsyncActionResponse getDefaultInstanceForType()
Returns
Type Description
SpannerAsyncActionResponse

getOutcome()

public SpannerActionOutcome getOutcome()

If action results are split into multiple responses, only the last response can and should contain status.

.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;

Returns
Type Description
SpannerActionOutcome

The outcome.

getOutcomeOrBuilder()

public SpannerActionOutcomeOrBuilder getOutcomeOrBuilder()

If action results are split into multiple responses, only the last response can and should contain status.

.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;

Returns
Type Description
SpannerActionOutcomeOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOutcome()

public boolean hasOutcome()

If action results are split into multiple responses, only the last response can and should contain status.

.google.spanner.executor.v1.SpannerActionOutcome outcome = 2;

Returns
Type Description
boolean

Whether the outcome 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 SpannerAsyncActionResponse.Builder newBuilderForType()
Returns
Type Description
SpannerAsyncActionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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