Class WriteMutationsAction.Builder (6.62.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WriteMutationsAction build()
Returns
TypeDescription
WriteMutationsAction

buildPartial()

public WriteMutationsAction buildPartial()
Returns
TypeDescription
WriteMutationsAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMutation()

public WriteMutationsAction.Builder clearMutation()

The mutation to write.

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

Returns
TypeDescription
WriteMutationsAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WriteMutationsAction getDefaultInstanceForType()
Returns
TypeDescription
WriteMutationsAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutation()

public MutationAction getMutation()

The mutation to write.

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

Returns
TypeDescription
MutationAction

The mutation.

getMutationBuilder()

public MutationAction.Builder getMutationBuilder()

The mutation to write.

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

Returns
TypeDescription
MutationAction.Builder

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

The mutation to write.

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

Returns
TypeDescription
MutationActionOrBuilder

hasMutation()

public boolean hasMutation()

The mutation to write.

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

Returns
TypeDescription
boolean

Whether the mutation 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 WriteMutationsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteMutationsAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(WriteMutationsAction other)

public WriteMutationsAction.Builder mergeFrom(WriteMutationsAction other)
Parameter
NameDescription
otherWriteMutationsAction
Returns
TypeDescription
WriteMutationsAction.Builder

mergeMutation(MutationAction value)

public WriteMutationsAction.Builder mergeMutation(MutationAction value)

The mutation to write.

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

Parameter
NameDescription
valueMutationAction
Returns
TypeDescription
WriteMutationsAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMutation(MutationAction value)

public WriteMutationsAction.Builder setMutation(MutationAction value)

The mutation to write.

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

Parameter
NameDescription
valueMutationAction
Returns
TypeDescription
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
NameDescription
builderForValueMutationAction.Builder
Returns
TypeDescription
WriteMutationsAction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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