Class BatchDmlAction (6.69.0)

public final class BatchDmlAction extends GeneratedMessageV3 implements BatchDmlActionOrBuilder

Batch of DML statements invoked using batched execution.

Protobuf type google.spanner.executor.v1.BatchDmlAction

Static Fields

UPDATES_FIELD_NUMBER

public static final int UPDATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchDmlAction getDefaultInstance()
Returns
Type Description
BatchDmlAction

getDescriptor()

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

newBuilder()

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

newBuilder(BatchDmlAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchDmlAction getDefaultInstanceForType()
Returns
Type Description
BatchDmlAction

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdates(int index)

public QueryAction getUpdates(int index)

DML statements.

repeated .google.spanner.executor.v1.QueryAction updates = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryAction

getUpdatesCount()

public int getUpdatesCount()

DML statements.

repeated .google.spanner.executor.v1.QueryAction updates = 1;

Returns
Type Description
int

getUpdatesList()

public List<QueryAction> getUpdatesList()

DML statements.

repeated .google.spanner.executor.v1.QueryAction updates = 1;

Returns
Type Description
List<QueryAction>

getUpdatesOrBuilder(int index)

public QueryActionOrBuilder getUpdatesOrBuilder(int index)

DML statements.

repeated .google.spanner.executor.v1.QueryAction updates = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryActionOrBuilder

getUpdatesOrBuilderList()

public List<? extends QueryActionOrBuilder> getUpdatesOrBuilderList()

DML statements.

repeated .google.spanner.executor.v1.QueryAction updates = 1;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.QueryActionOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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