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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDmlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addUpdates(QueryAction value)
public BatchDmlAction.Builder addUpdates(QueryAction value)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
addUpdates(QueryAction.Builder builderForValue)
public BatchDmlAction.Builder addUpdates(QueryAction.Builder builderForValue)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
addUpdates(int index, QueryAction value)
public BatchDmlAction.Builder addUpdates(int index, QueryAction value)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
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;
addUpdatesBuilder()
public QueryAction.Builder addUpdatesBuilder()
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
addUpdatesBuilder(int index)
public QueryAction.Builder addUpdatesBuilder(int index)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public BatchDmlAction build()
buildPartial()
public BatchDmlAction buildPartial()
clear()
public BatchDmlAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchDmlAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDmlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdates()
public BatchDmlAction.Builder clearUpdates()
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
clone()
public BatchDmlAction.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchDmlAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdates(int index)
public QueryAction getUpdates(int index)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
Parameter |
---|
Name | Description |
index | int
|
getUpdatesBuilder(int index)
public QueryAction.Builder getUpdatesBuilder(int index)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
Parameter |
---|
Name | Description |
index | int
|
getUpdatesBuilderList()
public List<QueryAction.Builder> getUpdatesBuilderList()
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
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;
getUpdatesOrBuilder(int index)
public QueryActionOrBuilder getUpdatesOrBuilder(int index)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public BatchDmlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchDmlAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(BatchDmlAction other)
public BatchDmlAction.Builder mergeFrom(BatchDmlAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDmlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDmlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDmlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDmlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdates(int index, QueryAction value)
public BatchDmlAction.Builder setUpdates(int index, QueryAction value)
DML statements.
repeated .google.spanner.executor.v1.QueryAction updates = 1;
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;