Class SpannerAsyncActionRequest.Builder (6.65.1)

public static final class SpannerAsyncActionRequest.Builder extends GeneratedMessageV3.Builder<SpannerAsyncActionRequest.Builder> implements SpannerAsyncActionRequestOrBuilder

Request to executor service that start a new Spanner action.

Protobuf type google.spanner.executor.v1.SpannerAsyncActionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpannerAsyncActionRequest build()
Returns
Type Description
SpannerAsyncActionRequest

buildPartial()

public SpannerAsyncActionRequest buildPartial()
Returns
Type Description
SpannerAsyncActionRequest

clear()

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

clearAction()

public SpannerAsyncActionRequest.Builder clearAction()

The actual SpannerAction to perform.

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

Returns
Type Description
SpannerAsyncActionRequest.Builder

clearActionId()

public SpannerAsyncActionRequest.Builder clearActionId()

Action id to uniquely identify this action request.

int32 action_id = 1;

Returns
Type Description
SpannerAsyncActionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SpannerAsyncActionRequest.Builder clone()
Returns
Type Description
SpannerAsyncActionRequest.Builder
Overrides

getAction()

public SpannerAction getAction()

The actual SpannerAction to perform.

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

Returns
Type Description
SpannerAction

The action.

getActionBuilder()

public SpannerAction.Builder getActionBuilder()

The actual SpannerAction to perform.

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

Returns
Type Description
SpannerAction.Builder

getActionId()

public int getActionId()

Action id to uniquely identify this action request.

int32 action_id = 1;

Returns
Type Description
int

The actionId.

getActionOrBuilder()

public SpannerActionOrBuilder getActionOrBuilder()

The actual SpannerAction to perform.

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

Returns
Type Description
SpannerActionOrBuilder

getDefaultInstanceForType()

public SpannerAsyncActionRequest getDefaultInstanceForType()
Returns
Type Description
SpannerAsyncActionRequest

getDescriptorForType()

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

hasAction()

public boolean hasAction()

The actual SpannerAction to perform.

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

Returns
Type Description
boolean

Whether the action field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAction(SpannerAction value)

public SpannerAsyncActionRequest.Builder mergeAction(SpannerAction value)

The actual SpannerAction to perform.

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

Parameter
Name Description
value SpannerAction
Returns
Type Description
SpannerAsyncActionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SpannerAsyncActionRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAction(SpannerAction value)

public SpannerAsyncActionRequest.Builder setAction(SpannerAction value)

The actual SpannerAction to perform.

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

Parameter
Name Description
value SpannerAction
Returns
Type Description
SpannerAsyncActionRequest.Builder

setAction(SpannerAction.Builder builderForValue)

public SpannerAsyncActionRequest.Builder setAction(SpannerAction.Builder builderForValue)

The actual SpannerAction to perform.

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

Parameter
Name Description
builderForValue SpannerAction.Builder
Returns
Type Description
SpannerAsyncActionRequest.Builder

setActionId(int value)

public SpannerAsyncActionRequest.Builder setActionId(int value)

Action id to uniquely identify this action request.

int32 action_id = 1;

Parameter
Name Description
value int

The actionId to set.

Returns
Type Description
SpannerAsyncActionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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