Class BatchDmlAction (6.62.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchDmlAction getDefaultInstance()
Returns
TypeDescription
BatchDmlAction

getDescriptor()

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

newBuilder()

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

newBuilder(BatchDmlAction prototype)

public static BatchDmlAction.Builder newBuilder(BatchDmlAction prototype)
Parameter
NameDescription
prototypeBatchDmlAction
Returns
TypeDescription
BatchDmlAction.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchDmlAction getDefaultInstanceForType()
Returns
TypeDescription
BatchDmlAction

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdates(int index)

public QueryAction getUpdates(int index)

DML statements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryAction

getUpdatesCount()

public int getUpdatesCount()

DML statements.

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

Returns
TypeDescription
int

getUpdatesList()

public List<QueryAction> getUpdatesList()

DML statements.

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

Returns
TypeDescription
List<QueryAction>

getUpdatesOrBuilder(int index)

public QueryActionOrBuilder getUpdatesOrBuilder(int index)

DML statements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryActionOrBuilder

getUpdatesOrBuilderList()

public List<? extends QueryActionOrBuilder> getUpdatesOrBuilderList()

DML statements.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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