Class WriteMutationsAction (6.60.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static WriteMutationsAction getDefaultInstance()
Returns
TypeDescription
WriteMutationsAction

getDescriptor()

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

newBuilder()

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

newBuilder(WriteMutationsAction prototype)

public static WriteMutationsAction.Builder newBuilder(WriteMutationsAction prototype)
Parameter
NameDescription
prototypeWriteMutationsAction
Returns
TypeDescription
WriteMutationsAction.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WriteMutationsAction getDefaultInstanceForType()
Returns
TypeDescription
WriteMutationsAction

getMutation()

public MutationAction getMutation()

The mutation to write.

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

Returns
TypeDescription
MutationAction

The mutation.

getMutationOrBuilder()

public MutationActionOrBuilder getMutationOrBuilder()

The mutation to write.

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

Returns
TypeDescription
MutationActionOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMutation()

public boolean hasMutation()

The mutation to write.

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

Returns
TypeDescription
boolean

Whether the mutation field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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