public static final class DmlAction.Builder extends GeneratedMessageV3.Builder<DmlAction.Builder> implements DmlActionOrBuilder
A single DML statement.
Protobuf type google.spanner.executor.v1.DmlAction
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DmlAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public DmlAction buildPartial()
clear()
public DmlAction.Builder clear()
Overrides
clearAutocommitIfSupported()
public DmlAction.Builder clearAutocommitIfSupported()
Whether to autocommit the transaction after executing the DML statement,
if the Executor supports autocommit.
optional bool autocommit_if_supported = 2;
clearField(Descriptors.FieldDescriptor field)
public DmlAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DmlAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdate()
public DmlAction.Builder clearUpdate()
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
clone()
public DmlAction.Builder clone()
Overrides
getAutocommitIfSupported()
public boolean getAutocommitIfSupported()
Whether to autocommit the transaction after executing the DML statement,
if the Executor supports autocommit.
optional bool autocommit_if_supported = 2;
Returns |
Type |
Description |
boolean |
The autocommitIfSupported.
|
getDefaultInstanceForType()
public DmlAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdate()
public QueryAction getUpdate()
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
getUpdateBuilder()
public QueryAction.Builder getUpdateBuilder()
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
getUpdateOrBuilder()
public QueryActionOrBuilder getUpdateOrBuilder()
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
hasAutocommitIfSupported()
public boolean hasAutocommitIfSupported()
Whether to autocommit the transaction after executing the DML statement,
if the Executor supports autocommit.
optional bool autocommit_if_supported = 2;
Returns |
Type |
Description |
boolean |
Whether the autocommitIfSupported field is set.
|
hasUpdate()
public boolean hasUpdate()
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
Returns |
Type |
Description |
boolean |
Whether the update field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public DmlAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DmlAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(DmlAction other)
public DmlAction.Builder mergeFrom(DmlAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DmlAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdate(QueryAction value)
public DmlAction.Builder mergeUpdate(QueryAction value)
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
setAutocommitIfSupported(boolean value)
public DmlAction.Builder setAutocommitIfSupported(boolean value)
Whether to autocommit the transaction after executing the DML statement,
if the Executor supports autocommit.
optional bool autocommit_if_supported = 2;
Parameter |
Name |
Description |
value |
boolean
The autocommitIfSupported to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DmlAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DmlAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DmlAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdate(QueryAction value)
public DmlAction.Builder setUpdate(QueryAction value)
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;
setUpdate(QueryAction.Builder builderForValue)
public DmlAction.Builder setUpdate(QueryAction.Builder builderForValue)
DML statement.
.google.spanner.executor.v1.QueryAction update = 1;