Class MutationAction.Builder (6.58.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.MutationAction.Mod>
Returns
TypeDescription
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
NameDescription
valueMutationAction.Mod
Returns
TypeDescription
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
NameDescription
builderForValueMutationAction.Mod.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMutationAction.Mod
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMutationAction.Mod.Builder
Returns
TypeDescription
MutationAction.Builder

addModBuilder()

public MutationAction.Mod.Builder addModBuilder()

Mods that contained in this mutation.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MutationAction.Mod.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutationAction build()
Returns
TypeDescription
MutationAction

buildPartial()

public MutationAction buildPartial()
Returns
TypeDescription
MutationAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMod()

public MutationAction.Builder clearMod()

Mods that contained in this mutation.

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

Returns
TypeDescription
MutationAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MutationAction getDefaultInstanceForType()
Returns
TypeDescription
MutationAction

getDescriptorForType()

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

getModCount()

public int getModCount()

Mods that contained in this mutation.

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

Returns
TypeDescription
int

getModList()

public List<MutationAction.Mod> getModList()

Mods that contained in this mutation.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.spanner.executor.v1.MutationAction.ModOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(MutationAction other)

public MutationAction.Builder mergeFrom(MutationAction other)
Parameter
NameDescription
otherMutationAction
Returns
TypeDescription
MutationAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public MutationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueMutationAction.Mod
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMutationAction.Mod.Builder
Returns
TypeDescription
MutationAction.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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