public static final class MutationAction.Builder extends GeneratedMessageV3.Builder<MutationAction.Builder> implements MutationActionOrBuilder
A single mutation request.
Protobuf type google.spanner.executor.v1.MutationAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addModBuilder()
public MutationAction.Mod.Builder addModBuilder()
Mods that contained in this mutation.
repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MutationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MutationAction build()
buildPartial()
public MutationAction buildPartial()
clear()
public MutationAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MutationAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMod()
public MutationAction.Builder clearMod()
Mods that contained in this mutation.
repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MutationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MutationAction.Builder clone()
Overrides
getDefaultInstanceForType()
public MutationAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getModBuilderList()
public List<MutationAction.Mod.Builder> getModBuilderList()
Mods that contained in this mutation.
repeated .google.spanner.executor.v1.MutationAction.Mod mod = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public MutationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MutationAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(MutationAction other)
public MutationAction.Builder mergeFrom(MutationAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MutationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public MutationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MutationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MutationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides