Class MutationAction (6.68.0)

public final class MutationAction extends GeneratedMessageV3 implements MutationActionOrBuilder

A single mutation request.

Protobuf type google.spanner.executor.v1.MutationAction

Static Fields

MOD_FIELD_NUMBER

public static final int MOD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MutationAction getDefaultInstance()
Returns
Type Description
MutationAction

getDescriptor()

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

newBuilder()

public static MutationAction.Builder newBuilder()
Returns
Type Description
MutationAction.Builder

newBuilder(MutationAction prototype)

public static MutationAction.Builder newBuilder(MutationAction prototype)
Parameter
Name Description
prototype MutationAction
Returns
Type Description
MutationAction.Builder

parseDelimitedFrom(InputStream input)

public static MutationAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MutationAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutationAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutationAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MutationAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MutationAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutationAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MutationAction> parser()
Returns
Type Description
Parser<MutationAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MutationAction getDefaultInstanceForType()
Returns
Type Description
MutationAction

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

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>

getParserForType()

public Parser<MutationAction> getParserForType()
Returns
Type Description
Parser<MutationAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MutationAction.Builder newBuilderForType()
Returns
Type Description
MutationAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutationAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MutationAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MutationAction.Builder toBuilder()
Returns
Type Description
MutationAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException