Class MutationAction (6.56.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static MutationAction getDefaultInstance()
Returns
TypeDescription
MutationAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MutationAction.Builder newBuilder()
Returns
TypeDescription
MutationAction.Builder

newBuilder(MutationAction prototype)

public static MutationAction.Builder newBuilder(MutationAction prototype)
Parameter
NameDescription
prototypeMutationAction
Returns
TypeDescription
MutationAction.Builder

parseDelimitedFrom(InputStream input)

public static MutationAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MutationAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutationAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutationAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MutationAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MutationAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutationAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutationAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MutationAction> parser()
Returns
TypeDescription
Parser<MutationAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MutationAction getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MutationAction.Mod

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>

getParserForType()

public Parser<MutationAction> getParserForType()
Returns
TypeDescription
Parser<MutationAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MutationAction.Builder newBuilderForType()
Returns
TypeDescription
MutationAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutationAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MutationAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MutationAction.Builder toBuilder()
Returns
TypeDescription
MutationAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException