public final class DmlAction extends GeneratedMessageV3 implements DmlActionOrBuilder
A single DML statement.
Protobuf type google.spanner.executor.v1.DmlAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTOCOMMIT_IF_SUPPORTED_FIELD_NUMBER
public static final int AUTOCOMMIT_IF_SUPPORTED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DmlAction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DmlAction.Builder newBuilder()
newBuilder(DmlAction prototype)
public static DmlAction.Builder newBuilder(DmlAction prototype)
Parameter |
Name |
Description |
prototype |
DmlAction
|
public static DmlAction parseDelimitedFrom(InputStream input)
public static DmlAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DmlAction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DmlAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DmlAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DmlAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DmlAction parseFrom(CodedInputStream input)
public static DmlAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DmlAction parseFrom(InputStream input)
public static DmlAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DmlAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DmlAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DmlAction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<DmlAction> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdate()
public QueryAction getUpdate()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DmlAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DmlAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DmlAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides