Class WriteMutationsAction.Builder (6.66.0)

public static final class WriteMutationsAction.Builder extends GeneratedMessageV3.Builder<WriteMutationsAction.Builder> implements WriteMutationsActionOrBuilder

WriteMutationAction defines an action of flushing the mutation so they are visible to subsequent operations in the transaction.

Protobuf type google.spanner.executor.v1.WriteMutationsAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WriteMutationsAction build()
Returns
Type Description
WriteMutationsAction

buildPartial()

public WriteMutationsAction buildPartial()
Returns
Type Description
WriteMutationsAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMutation()

public WriteMutationsAction.Builder clearMutation()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
WriteMutationsAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WriteMutationsAction getDefaultInstanceForType()
Returns
Type Description
WriteMutationsAction

getDescriptorForType()

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

getMutation()

public MutationAction getMutation()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
MutationAction

The mutation.

getMutationBuilder()

public MutationAction.Builder getMutationBuilder()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
MutationAction.Builder

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
MutationActionOrBuilder

hasMutation()

public boolean hasMutation()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
boolean

Whether the mutation 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 WriteMutationsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteMutationsAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(WriteMutationsAction other)

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

mergeMutation(MutationAction value)

public WriteMutationsAction.Builder mergeMutation(MutationAction value)

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Parameter
Name Description
value MutationAction
Returns
Type Description
WriteMutationsAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMutation(MutationAction value)

public WriteMutationsAction.Builder setMutation(MutationAction value)

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Parameter
Name Description
value MutationAction
Returns
Type Description
WriteMutationsAction.Builder

setMutation(MutationAction.Builder builderForValue)

public WriteMutationsAction.Builder setMutation(MutationAction.Builder builderForValue)

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Parameter
Name Description
builderForValue MutationAction.Builder
Returns
Type Description
WriteMutationsAction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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