Class SpannerAsyncActionRequest.Builder (6.56.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpannerAsyncActionRequest build()
Returns
TypeDescription
SpannerAsyncActionRequest

buildPartial()

public SpannerAsyncActionRequest buildPartial()
Returns
TypeDescription
SpannerAsyncActionRequest

clear()

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

clearAction()

public SpannerAsyncActionRequest.Builder clearAction()

The actual SpannerAction to perform.

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

Returns
TypeDescription
SpannerAsyncActionRequest.Builder

clearActionId()

public SpannerAsyncActionRequest.Builder clearActionId()

Action id to uniquely identify this action request.

int32 action_id = 1;

Returns
TypeDescription
SpannerAsyncActionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SpannerAsyncActionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SpannerAsyncActionRequest.Builder
Overrides

clone()

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

getAction()

public SpannerAction getAction()

The actual SpannerAction to perform.

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

Returns
TypeDescription
SpannerAction

The action.

getActionBuilder()

public SpannerAction.Builder getActionBuilder()

The actual SpannerAction to perform.

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

Returns
TypeDescription
SpannerAction.Builder

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAction(SpannerAction value)

public SpannerAsyncActionRequest.Builder mergeAction(SpannerAction value)

The actual SpannerAction to perform.

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

Parameter
NameDescription
valueSpannerAction
Returns
TypeDescription
SpannerAsyncActionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SpannerAsyncActionRequest other)

public SpannerAsyncActionRequest.Builder mergeFrom(SpannerAsyncActionRequest other)
Parameter
NameDescription
otherSpannerAsyncActionRequest
Returns
TypeDescription
SpannerAsyncActionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SpannerAsyncActionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSpannerAction
Returns
TypeDescription
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
NameDescription
builderForValueSpannerAction.Builder
Returns
TypeDescription
SpannerAsyncActionRequest.Builder

setActionId(int value)

public SpannerAsyncActionRequest.Builder setActionId(int value)

Action id to uniquely identify this action request.

int32 action_id = 1;

Parameter
NameDescription
valueint

The actionId to set.

Returns
TypeDescription
SpannerAsyncActionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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