Class BatchDmlAction.Builder (6.60.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.QueryAction>
Returns
TypeDescription
BatchDmlAction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDmlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

addUpdates(QueryAction value)

public BatchDmlAction.Builder addUpdates(QueryAction value)

DML statements.

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

Parameter
NameDescription
valueQueryAction
Returns
TypeDescription
BatchDmlAction.Builder

addUpdates(QueryAction.Builder builderForValue)

public BatchDmlAction.Builder addUpdates(QueryAction.Builder builderForValue)

DML statements.

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

Parameter
NameDescription
builderForValueQueryAction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueQueryAction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQueryAction.Builder
Returns
TypeDescription
BatchDmlAction.Builder

addUpdatesBuilder()

public QueryAction.Builder addUpdatesBuilder()

DML statements.

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

Returns
TypeDescription
QueryAction.Builder

addUpdatesBuilder(int index)

public QueryAction.Builder addUpdatesBuilder(int index)

DML statements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryAction.Builder

build()

public BatchDmlAction build()
Returns
TypeDescription
BatchDmlAction

buildPartial()

public BatchDmlAction buildPartial()
Returns
TypeDescription
BatchDmlAction

clear()

public BatchDmlAction.Builder clear()
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchDmlAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDmlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

clearUpdates()

public BatchDmlAction.Builder clearUpdates()

DML statements.

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

Returns
TypeDescription
BatchDmlAction.Builder

clone()

public BatchDmlAction.Builder clone()
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

getDefaultInstanceForType()

public BatchDmlAction getDefaultInstanceForType()
Returns
TypeDescription
BatchDmlAction

getDescriptorForType()

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

getUpdatesBuilder(int index)

public QueryAction.Builder getUpdatesBuilder(int index)

DML statements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryAction.Builder

getUpdatesBuilderList()

public List<QueryAction.Builder> getUpdatesBuilderList()

DML statements.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDmlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDmlAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchDmlAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

mergeFrom(BatchDmlAction other)

public BatchDmlAction.Builder mergeFrom(BatchDmlAction other)
Parameter
NameDescription
otherBatchDmlAction
Returns
TypeDescription
BatchDmlAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDmlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

removeUpdates(int index)

public BatchDmlAction.Builder removeUpdates(int index)

DML statements.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchDmlAction.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDmlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

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

public BatchDmlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchDmlAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDmlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueQueryAction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQueryAction.Builder
Returns
TypeDescription
BatchDmlAction.Builder