Class BatchDmlAction.Builder (6.74.0)

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