Class SpannerAsyncActionResponse.Builder (6.56.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SpannerAsyncActionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

build()

public SpannerAsyncActionResponse build()
Returns
TypeDescription
SpannerAsyncActionResponse

buildPartial()

public SpannerAsyncActionResponse buildPartial()
Returns
TypeDescription
SpannerAsyncActionResponse

clear()

public SpannerAsyncActionResponse.Builder clear()
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

clearActionId()

public SpannerAsyncActionResponse.Builder clearActionId()

Action id corresponds to the request.

int32 action_id = 1;

Returns
TypeDescription
SpannerAsyncActionResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SpannerAsyncActionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SpannerAsyncActionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SpannerAsyncActionResponse.Builder

clone()

public SpannerAsyncActionResponse.Builder clone()
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

getActionId()

public int getActionId()

Action id corresponds to the request.

int32 action_id = 1;

Returns
TypeDescription
int

The actionId.

getDefaultInstanceForType()

public SpannerAsyncActionResponse getDefaultInstanceForType()
Returns
TypeDescription
SpannerAsyncActionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the outcome field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SpannerAsyncActionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SpannerAsyncActionResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

mergeFrom(SpannerAsyncActionResponse other)

public SpannerAsyncActionResponse.Builder mergeFrom(SpannerAsyncActionResponse other)
Parameter
NameDescription
otherSpannerAsyncActionResponse
Returns
TypeDescription
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
NameDescription
valueSpannerActionOutcome
Returns
TypeDescription
SpannerAsyncActionResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAsyncActionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

setActionId(int value)

public SpannerAsyncActionResponse.Builder setActionId(int value)

Action id corresponds to the request.

int32 action_id = 1;

Parameter
NameDescription
valueint

The actionId to set.

Returns
TypeDescription
SpannerAsyncActionResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SpannerAsyncActionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSpannerActionOutcome
Returns
TypeDescription
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
NameDescription
builderForValueSpannerActionOutcome.Builder
Returns
TypeDescription
SpannerAsyncActionResponse.Builder

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

public SpannerAsyncActionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAsyncActionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SpannerAsyncActionResponse.Builder
Overrides