Class BatchDmlAction.Builder (6.74.1)

public static final class BatchDmlAction.Builder extends GeneratedMessageV3.Builder<BatchDmlAction.Builder> implements BatchDmlActionOrBuilder

Batch of DML statements invoked using batched execution.

Protobuf type google.spanner.executor.v1.BatchDmlAction

Static Methods

getDescriptor()

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

Methods

addAllUpdates(Iterable<? extends QueryAction> values)

public BatchDmlAction.Builder addAllUpdates(Iterable<? extends QueryAction> values)

DML statements.

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

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.QueryAction>
Returns
Type Description
BatchDmlAction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDmlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDmlAction.Builder
Overrides

addUpdates(QueryAction value)

public BatchDmlAction.Builder addUpdates(QueryAction value)

DML statements.

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

Parameter
Name Description
value QueryAction
Returns
Type Description
BatchDmlAction.Builder

addUpdates(QueryAction.Builder builderForValue)

public BatchDmlAction.Builder addUpdates(QueryAction.Builder builderForValue)

DML statements.

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

Parameter
Name Description
builderForValue QueryAction.Builder
Returns
Type Description
BatchDmlAction.Builder

addUpdates(int index, QueryAction value)

public BatchDmlAction.Builder addUpdates(int index, QueryAction value)

DML statements.

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

Parameters
Name Description
index int
value QueryAction
Returns
Type Description
BatchDmlAction.Builder

addUpdates(int index, QueryAction.Builder builderForValue)

public BatchDmlAction.Builder addUpdates(int index, QueryAction.Builder builderForValue)

DML statements.

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

Parameters
Name Description
index int
builderForValue QueryAction.Builder
Returns
Type Description
BatchDmlAction.Builder

addUpdatesBuilder()

public QueryAction.Builder addUpdatesBuilder()

DML statements.

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

Returns
Type Description
QueryAction.Builder

addUpdatesBuilder(int index)

public QueryAction.Builder addUpdatesBuilder(int index)

DML statements.

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

Parameter
Name Description
index int
Returns
Type Description
QueryAction.Builder

build()

public BatchDmlAction build()
Returns
Type Description
BatchDmlAction

buildPartial()

public BatchDmlAction buildPartial()
Returns
Type Description
BatchDmlAction

clear()

public BatchDmlAction.Builder clear()
Returns
Type Description
BatchDmlAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchDmlAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchDmlAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDmlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchDmlAction.Builder
Overrides

clearUpdates()

public BatchDmlAction.Builder clearUpdates()

DML statements.

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

Returns
Type Description
BatchDmlAction.Builder

clone()

public BatchDmlAction.Builder clone()
Returns
Type Description
BatchDmlAction.Builder
Overrides

getDefaultInstanceForType()

public BatchDmlAction getDefaultInstanceForType()
Returns
Type Description
BatchDmlAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getUpdatesBuilder(int index)

public QueryAction.Builder getUpdatesBuilder(int index)

DML statements.

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

Parameter
Name Description
index int
Returns
Type Description
QueryAction.Builder

getUpdatesBuilderList()

public List<QueryAction.Builder> getUpdatesBuilderList()

DML statements.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDmlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDmlAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchDmlAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchDmlAction.Builder
Overrides

mergeFrom(BatchDmlAction other)

public BatchDmlAction.Builder mergeFrom(BatchDmlAction other)
Parameter
Name Description
other BatchDmlAction
Returns
Type Description
BatchDmlAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDmlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDmlAction.Builder
Overrides

removeUpdates(int index)

public BatchDmlAction.Builder removeUpdates(int index)

DML statements.

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

Parameter
Name Description
index int
Returns
Type Description
BatchDmlAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDmlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDmlAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchDmlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchDmlAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDmlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDmlAction.Builder
Overrides

setUpdates(int index, QueryAction value)

public BatchDmlAction.Builder setUpdates(int index, QueryAction value)

DML statements.

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

Parameters
Name Description
index int
value QueryAction
Returns
Type Description
BatchDmlAction.Builder

setUpdates(int index, QueryAction.Builder builderForValue)

public BatchDmlAction.Builder setUpdates(int index, QueryAction.Builder builderForValue)

DML statements.

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

Parameters
Name Description
index int
builderForValue QueryAction.Builder
Returns
Type Description
BatchDmlAction.Builder