public static final class CommitRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder> implements CommitRequestOrBuilder
The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit].Protobuf type
google.datastore.v1.CommitRequest
Modifier and Type | Method and Description |
---|---|
CommitRequest.Builder |
addAllMutations(Iterable<? extends Mutation> values)
The mutations to perform.
|
CommitRequest.Builder |
addMutations(int index,
Mutation.Builder builderForValue)
The mutations to perform.
|
CommitRequest.Builder |
addMutations(int index,
Mutation value)
The mutations to perform.
|
CommitRequest.Builder |
addMutations(Mutation.Builder builderForValue)
The mutations to perform.
|
CommitRequest.Builder |
addMutations(Mutation value)
The mutations to perform.
|
Mutation.Builder |
addMutationsBuilder()
The mutations to perform.
|
Mutation.Builder |
addMutationsBuilder(int index)
The mutations to perform.
|
CommitRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitRequest |
build() |
CommitRequest |
buildPartial() |
CommitRequest.Builder |
clear() |
CommitRequest.Builder |
clearDatabaseId()
The ID of the database against which to make the request.
|
CommitRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommitRequest.Builder |
clearMode()
The type of commit to perform.
|
CommitRequest.Builder |
clearMutations()
The mutations to perform.
|
CommitRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommitRequest.Builder |
clearProjectId()
Required.
|
CommitRequest.Builder |
clearSingleUseTransaction()
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
clearTransaction()
The identifier of the transaction associated with the commit.
|
CommitRequest.Builder |
clearTransactionSelector() |
CommitRequest.Builder |
clone() |
String |
getDatabaseId()
The ID of the database against which to make the request.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
The ID of the database against which to make the request.
|
CommitRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CommitRequest.Mode |
getMode()
The type of commit to perform.
|
int |
getModeValue()
The type of commit to perform.
|
Mutation |
getMutations(int index)
The mutations to perform.
|
Mutation.Builder |
getMutationsBuilder(int index)
The mutations to perform.
|
List<Mutation.Builder> |
getMutationsBuilderList()
The mutations to perform.
|
int |
getMutationsCount()
The mutations to perform.
|
List<Mutation> |
getMutationsList()
The mutations to perform.
|
MutationOrBuilder |
getMutationsOrBuilder(int index)
The mutations to perform.
|
List<? extends MutationOrBuilder> |
getMutationsOrBuilderList()
The mutations to perform.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
TransactionOptions |
getSingleUseTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions.Builder |
getSingleUseTransactionBuilder()
Options for beginning a new transaction for this request.
|
TransactionOptionsOrBuilder |
getSingleUseTransactionOrBuilder()
Options for beginning a new transaction for this request.
|
com.google.protobuf.ByteString |
getTransaction()
The identifier of the transaction associated with the commit.
|
CommitRequest.TransactionSelectorCase |
getTransactionSelectorCase() |
boolean |
hasSingleUseTransaction()
Options for beginning a new transaction for this request.
|
boolean |
hasTransaction()
The identifier of the transaction associated with the commit.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommitRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommitRequest.Builder |
mergeFrom(CommitRequest other) |
CommitRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommitRequest.Builder |
mergeSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommitRequest.Builder |
removeMutations(int index)
The mutations to perform.
|
CommitRequest.Builder |
setDatabaseId(String value)
The ID of the database against which to make the request.
|
CommitRequest.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request.
|
CommitRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommitRequest.Builder |
setMode(CommitRequest.Mode value)
The type of commit to perform.
|
CommitRequest.Builder |
setModeValue(int value)
The type of commit to perform.
|
CommitRequest.Builder |
setMutations(int index,
Mutation.Builder builderForValue)
The mutations to perform.
|
CommitRequest.Builder |
setMutations(int index,
Mutation value)
The mutations to perform.
|
CommitRequest.Builder |
setProjectId(String value)
Required.
|
CommitRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
CommitRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommitRequest.Builder |
setSingleUseTransaction(TransactionOptions.Builder builderForValue)
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
setSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction associated with the commit.
|
CommitRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommitRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommitRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommitRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitRequest.Builder>
public CommitRequest.Builder mergeFrom(CommitRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public CommitRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommitRequest.Builder>
IOException
public CommitRequest.TransactionSelectorCase getTransactionSelectorCase()
getTransactionSelectorCase
in interface CommitRequestOrBuilder
public CommitRequest.Builder clearTransactionSelector()
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface CommitRequestOrBuilder
public com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectIdBytes
in interface CommitRequestOrBuilder
public CommitRequest.Builder setProjectId(String value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The projectId to set.public CommitRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
public CommitRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for projectId to set.public String getDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseId
in interface CommitRequestOrBuilder
public com.google.protobuf.ByteString getDatabaseIdBytes()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseIdBytes
in interface CommitRequestOrBuilder
public CommitRequest.Builder setDatabaseId(String value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The databaseId to set.public CommitRequest.Builder clearDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
public CommitRequest.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The bytes for databaseId to set.public int getModeValue()
The type of commit to perform. Defaults to `TRANSACTIONAL`.
.google.datastore.v1.CommitRequest.Mode mode = 5;
getModeValue
in interface CommitRequestOrBuilder
public CommitRequest.Builder setModeValue(int value)
The type of commit to perform. Defaults to `TRANSACTIONAL`.
.google.datastore.v1.CommitRequest.Mode mode = 5;
value
- The enum numeric value on the wire for mode to set.public CommitRequest.Mode getMode()
The type of commit to perform. Defaults to `TRANSACTIONAL`.
.google.datastore.v1.CommitRequest.Mode mode = 5;
getMode
in interface CommitRequestOrBuilder
public CommitRequest.Builder setMode(CommitRequest.Mode value)
The type of commit to perform. Defaults to `TRANSACTIONAL`.
.google.datastore.v1.CommitRequest.Mode mode = 5;
value
- The mode to set.public CommitRequest.Builder clearMode()
The type of commit to perform. Defaults to `TRANSACTIONAL`.
.google.datastore.v1.CommitRequest.Mode mode = 5;
public boolean hasTransaction()
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
bytes transaction = 1;
hasTransaction
in interface CommitRequestOrBuilder
public com.google.protobuf.ByteString getTransaction()
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
bytes transaction = 1;
getTransaction
in interface CommitRequestOrBuilder
public CommitRequest.Builder setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
bytes transaction = 1;
value
- The transaction to set.public CommitRequest.Builder clearTransaction()
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
bytes transaction = 1;
public boolean hasSingleUseTransaction()
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
hasSingleUseTransaction
in interface CommitRequestOrBuilder
public TransactionOptions getSingleUseTransaction()
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
getSingleUseTransaction
in interface CommitRequestOrBuilder
public CommitRequest.Builder setSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
public CommitRequest.Builder setSingleUseTransaction(TransactionOptions.Builder builderForValue)
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
public CommitRequest.Builder mergeSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
public CommitRequest.Builder clearSingleUseTransaction()
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
public TransactionOptions.Builder getSingleUseTransactionBuilder()
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
public TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder()
Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, [TransactionOptions.mode][google.datastore.v1.TransactionOptions] must be [TransactionOptions.ReadWrite][google.datastore.v1.TransactionOptions.ReadWrite].
.google.datastore.v1.TransactionOptions single_use_transaction = 10;
getSingleUseTransactionOrBuilder
in interface CommitRequestOrBuilder
public List<Mutation> getMutationsList()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
getMutationsList
in interface CommitRequestOrBuilder
public int getMutationsCount()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
getMutationsCount
in interface CommitRequestOrBuilder
public Mutation getMutations(int index)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
getMutations
in interface CommitRequestOrBuilder
public CommitRequest.Builder setMutations(int index, Mutation value)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder setMutations(int index, Mutation.Builder builderForValue)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder addMutations(Mutation value)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder addMutations(int index, Mutation value)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder addMutations(Mutation.Builder builderForValue)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder addMutations(int index, Mutation.Builder builderForValue)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder addAllMutations(Iterable<? extends Mutation> values)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder clearMutations()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public CommitRequest.Builder removeMutations(int index)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public Mutation.Builder getMutationsBuilder(int index)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public MutationOrBuilder getMutationsOrBuilder(int index)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
getMutationsOrBuilder
in interface CommitRequestOrBuilder
public List<? extends MutationOrBuilder> getMutationsOrBuilderList()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
getMutationsOrBuilderList
in interface CommitRequestOrBuilder
public Mutation.Builder addMutationsBuilder()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public Mutation.Builder addMutationsBuilder(int index)
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public List<Mutation.Builder> getMutationsBuilderList()
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
repeated .google.datastore.v1.Mutation mutations = 6;
public final CommitRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
public final CommitRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommitRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.