Class WriteMutationsAction (6.66.0)

public final class WriteMutationsAction extends GeneratedMessageV3 implements WriteMutationsActionOrBuilder

WriteMutationAction defines an action of flushing the mutation so they are visible to subsequent operations in the transaction.

Protobuf type google.spanner.executor.v1.WriteMutationsAction

Static Fields

MUTATION_FIELD_NUMBER

public static final int MUTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WriteMutationsAction getDefaultInstance()
Returns
Type Description
WriteMutationsAction

getDescriptor()

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

newBuilder()

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

newBuilder(WriteMutationsAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WriteMutationsAction getDefaultInstanceForType()
Returns
Type Description
WriteMutationsAction

getMutation()

public MutationAction getMutation()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
MutationAction

The mutation.

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
MutationActionOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMutation()

public boolean hasMutation()

The mutation to write.

.google.spanner.executor.v1.MutationAction mutation = 1;

Returns
Type Description
boolean

Whether the mutation field is set.

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 WriteMutationsAction.Builder newBuilderForType()
Returns
Type Description
WriteMutationsAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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