Class MutationAction.Builder (6.72.0)

public static final class MutationAction.Builder extends GeneratedMessageV3.Builder<MutationAction.Builder> implements MutationActionOrBuilder

A single mutation request.

Protobuf type google.spanner.executor.v1.MutationAction

Static Methods

getDescriptor()

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

Methods

addAllMod(Iterable<? extends MutationAction.Mod> values)

public MutationAction.Builder addAllMod(Iterable<? extends MutationAction.Mod> values)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.MutationAction.Mod>
Returns
Type Description
MutationAction.Builder

addMod(MutationAction.Mod value)

public MutationAction.Builder addMod(MutationAction.Mod value)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
value MutationAction.Mod
Returns
Type Description
MutationAction.Builder

addMod(MutationAction.Mod.Builder builderForValue)

public MutationAction.Builder addMod(MutationAction.Mod.Builder builderForValue)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

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

addMod(int index, MutationAction.Mod value)

public MutationAction.Builder addMod(int index, MutationAction.Mod value)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameters
Name Description
index int
value MutationAction.Mod
Returns
Type Description
MutationAction.Builder

addMod(int index, MutationAction.Mod.Builder builderForValue)

public MutationAction.Builder addMod(int index, MutationAction.Mod.Builder builderForValue)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameters
Name Description
index int
builderForValue MutationAction.Mod.Builder
Returns
Type Description
MutationAction.Builder

addModBuilder()

public MutationAction.Mod.Builder addModBuilder()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
MutationAction.Mod.Builder

addModBuilder(int index)

public MutationAction.Mod.Builder addModBuilder(int index)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.Mod.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutationAction build()
Returns
Type Description
MutationAction

buildPartial()

public MutationAction buildPartial()
Returns
Type Description
MutationAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMod()

public MutationAction.Builder clearMod()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
MutationAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MutationAction getDefaultInstanceForType()
Returns
Type Description
MutationAction

getDescriptorForType()

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

getMod(int index)

public MutationAction.Mod getMod(int index)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.Mod

getModBuilder(int index)

public MutationAction.Mod.Builder getModBuilder(int index)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.Mod.Builder

getModBuilderList()

public List<MutationAction.Mod.Builder> getModBuilderList()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
List<Builder>

getModCount()

public int getModCount()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
int

getModList()

public List<MutationAction.Mod> getModList()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
List<Mod>

getModOrBuilder(int index)

public MutationAction.ModOrBuilder getModOrBuilder(int index)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.ModOrBuilder

getModOrBuilderList()

public List<? extends MutationAction.ModOrBuilder> getModOrBuilderList()

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.MutationAction.ModOrBuilder>

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

mergeFrom(Message other)

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

mergeFrom(MutationAction other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMod(int index)

public MutationAction.Builder removeMod(int index)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameter
Name Description
index int
Returns
Type Description
MutationAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMod(int index, MutationAction.Mod value)

public MutationAction.Builder setMod(int index, MutationAction.Mod value)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameters
Name Description
index int
value MutationAction.Mod
Returns
Type Description
MutationAction.Builder

setMod(int index, MutationAction.Mod.Builder builderForValue)

public MutationAction.Builder setMod(int index, MutationAction.Mod.Builder builderForValue)

Mods that contained in this mutation.

repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;

Parameters
Name Description
index int
builderForValue MutationAction.Mod.Builder
Returns
Type Description
MutationAction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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