public final class ExecuteBatchDmlRequest extends com.google.protobuf.GeneratedMessageV3 implements ExecuteBatchDmlRequestOrBuilder
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].Protobuf type
google.spanner.v1.ExecuteBatchDmlRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ExecuteBatchDmlRequest.Builder
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
static class |
ExecuteBatchDmlRequest.Statement
A single DML statement.
|
static interface |
ExecuteBatchDmlRequest.StatementOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
REQUEST_OPTIONS_FIELD_NUMBER |
static int |
SEQNO_FIELD_NUMBER |
static int |
SESSION_FIELD_NUMBER |
static int |
STATEMENTS_FIELD_NUMBER |
static int |
TRANSACTION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExecuteBatchDmlRequest |
getDefaultInstance() |
ExecuteBatchDmlRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ExecuteBatchDmlRequest> |
getParserForType() |
RequestOptions |
getRequestOptions()
Common options for this request.
|
RequestOptionsOrBuilder |
getRequestOptionsOrBuilder()
Common options for this request.
|
long |
getSeqno()
Required.
|
int |
getSerializedSize() |
String |
getSession()
Required.
|
com.google.protobuf.ByteString |
getSessionBytes()
Required.
|
ExecuteBatchDmlRequest.Statement |
getStatements(int index)
Required.
|
int |
getStatementsCount()
Required.
|
List<ExecuteBatchDmlRequest.Statement> |
getStatementsList()
Required.
|
ExecuteBatchDmlRequest.StatementOrBuilder |
getStatementsOrBuilder(int index)
Required.
|
List<? extends ExecuteBatchDmlRequest.StatementOrBuilder> |
getStatementsOrBuilderList()
Required.
|
TransactionSelector |
getTransaction()
Required.
|
TransactionSelectorOrBuilder |
getTransactionOrBuilder()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRequestOptions()
Common options for this request.
|
boolean |
hasTransaction()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExecuteBatchDmlRequest.Builder |
newBuilder() |
static ExecuteBatchDmlRequest.Builder |
newBuilder(ExecuteBatchDmlRequest prototype) |
ExecuteBatchDmlRequest.Builder |
newBuilderForType() |
protected ExecuteBatchDmlRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExecuteBatchDmlRequest |
parseDelimitedFrom(InputStream input) |
static ExecuteBatchDmlRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecuteBatchDmlRequest |
parseFrom(byte[] data) |
static ExecuteBatchDmlRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecuteBatchDmlRequest |
parseFrom(ByteBuffer data) |
static ExecuteBatchDmlRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecuteBatchDmlRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ExecuteBatchDmlRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecuteBatchDmlRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExecuteBatchDmlRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExecuteBatchDmlRequest |
parseFrom(InputStream input) |
static ExecuteBatchDmlRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExecuteBatchDmlRequest> |
parser() |
ExecuteBatchDmlRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SESSION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
public static final int STATEMENTS_FIELD_NUMBER
public static final int SEQNO_FIELD_NUMBER
public static final int REQUEST_OPTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getSession()
Required. The session in which the DML statements should be performed.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSession in interface ExecuteBatchDmlRequestOrBuilderpublic com.google.protobuf.ByteString getSessionBytes()
Required. The session in which the DML statements should be performed.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getSessionBytes in interface ExecuteBatchDmlRequestOrBuilderpublic boolean hasTransaction()
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
.google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
hasTransaction in interface ExecuteBatchDmlRequestOrBuilderpublic TransactionSelector getTransaction()
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
.google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
getTransaction in interface ExecuteBatchDmlRequestOrBuilderpublic TransactionSelectorOrBuilder getTransactionOrBuilder()
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
.google.spanner.v1.TransactionSelector transaction = 2 [(.google.api.field_behavior) = REQUIRED];
getTransactionOrBuilder in interface ExecuteBatchDmlRequestOrBuilderpublic List<ExecuteBatchDmlRequest.Statement> getStatementsList()
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
getStatementsList in interface ExecuteBatchDmlRequestOrBuilderpublic List<? extends ExecuteBatchDmlRequest.StatementOrBuilder> getStatementsOrBuilderList()
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
getStatementsOrBuilderList in interface ExecuteBatchDmlRequestOrBuilderpublic int getStatementsCount()
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
getStatementsCount in interface ExecuteBatchDmlRequestOrBuilderpublic ExecuteBatchDmlRequest.Statement getStatements(int index)
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
getStatements in interface ExecuteBatchDmlRequestOrBuilderpublic ExecuteBatchDmlRequest.StatementOrBuilder getStatementsOrBuilder(int index)
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement `i` are visible to statement `i+1`. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
repeated .google.spanner.v1.ExecuteBatchDmlRequest.Statement statements = 3 [(.google.api.field_behavior) = REQUIRED];
getStatementsOrBuilder in interface ExecuteBatchDmlRequestOrBuilderpublic long getSeqno()
Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution.
int64 seqno = 4 [(.google.api.field_behavior) = REQUIRED];getSeqno in interface ExecuteBatchDmlRequestOrBuilderpublic boolean hasRequestOptions()
Common options for this request.
.google.spanner.v1.RequestOptions request_options = 5;hasRequestOptions in interface ExecuteBatchDmlRequestOrBuilderpublic RequestOptions getRequestOptions()
Common options for this request.
.google.spanner.v1.RequestOptions request_options = 5;getRequestOptions in interface ExecuteBatchDmlRequestOrBuilderpublic RequestOptionsOrBuilder getRequestOptionsOrBuilder()
Common options for this request.
.google.spanner.v1.RequestOptions request_options = 5;getRequestOptionsOrBuilder in interface ExecuteBatchDmlRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExecuteBatchDmlRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExecuteBatchDmlRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExecuteBatchDmlRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExecuteBatchDmlRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExecuteBatchDmlRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExecuteBatchDmlRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExecuteBatchDmlRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExecuteBatchDmlRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExecuteBatchDmlRequest.Builder newBuilder()
public static ExecuteBatchDmlRequest.Builder newBuilder(ExecuteBatchDmlRequest prototype)
public ExecuteBatchDmlRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExecuteBatchDmlRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExecuteBatchDmlRequest getDefaultInstance()
public static com.google.protobuf.Parser<ExecuteBatchDmlRequest> parser()
public com.google.protobuf.Parser<ExecuteBatchDmlRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExecuteBatchDmlRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.