public static final class ExecuteBatchDmlResponse.Builder extends GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder> implements ExecuteBatchDmlResponseOrBuilder
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully executed, in the same order as the statements in the request. If a statement fails, the status in the response body identifies the cause of the failure. To check for DML statements that failed, use the following approach: 1. Check the status in the response message. The [google.rpc.Code][google.rpc.Code] enum value `OK` indicates that all statements were executed successfully. 2. If the status was not `OK`, check the number of result sets in the response. If the response contains `N` [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in the request failed. Example 1: * Request: 5 DML statements, all executed successfully. * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the status `OK`. Example 2: * Request: 5 DML statements. The third statement has a syntax error. * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax error (`INVALID_ARGUMENT`) status. The number of [ResultSet][google.spanner.v1.ResultSet] messages indicates that the third statement failed, and the fourth and fifth statements were not executed.Protobuf type
google.spanner.v1.ExecuteBatchDmlResponse
Modifier and Type | Method and Description |
---|---|
ExecuteBatchDmlResponse.Builder |
addAllResultSets(Iterable<? extends ResultSet> values)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ExecuteBatchDmlResponse.Builder |
addResultSets(int index,
ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
addResultSets(int index,
ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
addResultSets(ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
addResultSets(ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet.Builder |
addResultSetsBuilder()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet.Builder |
addResultSetsBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse |
build() |
ExecuteBatchDmlResponse |
buildPartial() |
ExecuteBatchDmlResponse.Builder |
clear() |
ExecuteBatchDmlResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ExecuteBatchDmlResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ExecuteBatchDmlResponse.Builder |
clearResultSets()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
clearStatus()
If all DML statements are executed successfully, the status is `OK`.
|
ExecuteBatchDmlResponse.Builder |
clone() |
ExecuteBatchDmlResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
ResultSet |
getResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet.Builder |
getResultSetsBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
List<ResultSet.Builder> |
getResultSetsBuilderList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
int |
getResultSetsCount()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
List<ResultSet> |
getResultSetsList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSetOrBuilder |
getResultSetsOrBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
List<? extends ResultSetOrBuilder> |
getResultSetsOrBuilderList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
com.google.rpc.Status |
getStatus()
If all DML statements are executed successfully, the status is `OK`.
|
com.google.rpc.Status.Builder |
getStatusBuilder()
If all DML statements are executed successfully, the status is `OK`.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
If all DML statements are executed successfully, the status is `OK`.
|
boolean |
hasStatus()
If all DML statements are executed successfully, the status is `OK`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExecuteBatchDmlResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ExecuteBatchDmlResponse.Builder |
mergeFrom(ExecuteBatchDmlResponse other) |
ExecuteBatchDmlResponse.Builder |
mergeFrom(Message other) |
ExecuteBatchDmlResponse.Builder |
mergeStatus(com.google.rpc.Status value)
If all DML statements are executed successfully, the status is `OK`.
|
ExecuteBatchDmlResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ExecuteBatchDmlResponse.Builder |
removeResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ExecuteBatchDmlResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ExecuteBatchDmlResponse.Builder |
setResultSets(int index,
ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
setResultSets(int index,
ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
If all DML statements are executed successfully, the status is `OK`.
|
ExecuteBatchDmlResponse.Builder |
setStatus(com.google.rpc.Status value)
If all DML statements are executed successfully, the status is `OK`.
|
ExecuteBatchDmlResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ExecuteBatchDmlResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ExecuteBatchDmlResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ExecuteBatchDmlResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder mergeFrom(ExecuteBatchDmlResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public ExecuteBatchDmlResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ExecuteBatchDmlResponse.Builder>
IOException
public List<ResultSet> getResultSetsList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
getResultSetsList
in interface ExecuteBatchDmlResponseOrBuilder
public int getResultSetsCount()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
getResultSetsCount
in interface ExecuteBatchDmlResponseOrBuilder
public ResultSet getResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
getResultSets
in interface ExecuteBatchDmlResponseOrBuilder
public ExecuteBatchDmlResponse.Builder setResultSets(int index, ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder setResultSets(int index, ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder addResultSets(ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder addResultSets(int index, ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder addResultSets(ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder addResultSets(int index, ResultSet.Builder builderForValue)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder addAllResultSets(Iterable<? extends ResultSet> values)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder clearResultSets()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ExecuteBatchDmlResponse.Builder removeResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ResultSet.Builder getResultSetsBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ResultSetOrBuilder getResultSetsOrBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
getResultSetsOrBuilder
in interface ExecuteBatchDmlResponseOrBuilder
public List<? extends ResultSetOrBuilder> getResultSetsOrBuilderList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
getResultSetsOrBuilderList
in interface ExecuteBatchDmlResponseOrBuilder
public ResultSet.Builder addResultSetsBuilder()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public ResultSet.Builder addResultSetsBuilder(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public List<ResultSet.Builder> getResultSetsBuilderList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain the number of rows modified by the statement. Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata].
repeated .google.spanner.v1.ResultSet result_sets = 1;
public boolean hasStatus()
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
hasStatus
in interface ExecuteBatchDmlResponseOrBuilder
public com.google.rpc.Status getStatus()
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
getStatus
in interface ExecuteBatchDmlResponseOrBuilder
public ExecuteBatchDmlResponse.Builder setStatus(com.google.rpc.Status value)
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
public ExecuteBatchDmlResponse.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
public ExecuteBatchDmlResponse.Builder mergeStatus(com.google.rpc.Status value)
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
public ExecuteBatchDmlResponse.Builder clearStatus()
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
public com.google.rpc.Status.Builder getStatusBuilder()
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
If all DML statements are executed successfully, the status is `OK`. Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
getStatusOrBuilder
in interface ExecuteBatchDmlResponseOrBuilder
public final ExecuteBatchDmlResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
public final ExecuteBatchDmlResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ExecuteBatchDmlResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.