Class SpannerAsyncActionResponse.Builder (6.71.0)

public static final class SpannerAsyncActionResponse.Builder extends GeneratedMessageV3.Builder<SpannerAsyncActionResponse.Builder> implements SpannerAsyncActionResponseOrBuilder

Response from executor service.

Protobuf type google.spanner.executor.v1.SpannerAsyncActionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpannerAsyncActionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

build()

public SpannerAsyncActionResponse build()
Returns
Type Description
SpannerAsyncActionResponse

buildPartial()

public SpannerAsyncActionResponse buildPartial()
Returns
Type Description
SpannerAsyncActionResponse

clear()

public SpannerAsyncActionResponse.Builder clear()
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

clearActionId()

public SpannerAsyncActionResponse.Builder clearActionId()

Action id corresponds to the request.

int32 action_id = 1;

Returns
Type Description
SpannerAsyncActionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SpannerAsyncActionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpannerAsyncActionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

clearOutcome()

public SpannerAsyncActionResponse.Builder clearOutcome()

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
SpannerAsyncActionResponse.Builder

clone()

public SpannerAsyncActionResponse.Builder clone()
Returns
Type Description
SpannerAsyncActionResponse.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getOutcomeBuilder()

public SpannerActionOutcome.Builder getOutcomeBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpannerAsyncActionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SpannerAsyncActionResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

mergeFrom(SpannerAsyncActionResponse other)

public SpannerAsyncActionResponse.Builder mergeFrom(SpannerAsyncActionResponse other)
Parameter
Name Description
other SpannerAsyncActionResponse
Returns
Type Description
SpannerAsyncActionResponse.Builder

mergeOutcome(SpannerActionOutcome value)

public SpannerAsyncActionResponse.Builder mergeOutcome(SpannerActionOutcome value)

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

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

Parameter
Name Description
value SpannerActionOutcome
Returns
Type Description
SpannerAsyncActionResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAsyncActionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

setActionId(int value)

public SpannerAsyncActionResponse.Builder setActionId(int value)

Action id corresponds to the request.

int32 action_id = 1;

Parameter
Name Description
value int

The actionId to set.

Returns
Type Description
SpannerAsyncActionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SpannerAsyncActionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

setOutcome(SpannerActionOutcome value)

public SpannerAsyncActionResponse.Builder setOutcome(SpannerActionOutcome value)

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

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

Parameter
Name Description
value SpannerActionOutcome
Returns
Type Description
SpannerAsyncActionResponse.Builder

setOutcome(SpannerActionOutcome.Builder builderForValue)

public SpannerAsyncActionResponse.Builder setOutcome(SpannerActionOutcome.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue SpannerActionOutcome.Builder
Returns
Type Description
SpannerAsyncActionResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SpannerAsyncActionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAsyncActionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SpannerAsyncActionResponse.Builder
Overrides