Package | Description |
---|---|
com.google.cloud.datastore |
A client for Cloud Datastore – A highly-scalable NoSQL database for web and mobile applications.
|
com.google.datastore.v1 |
Modifier and Type | Method and Description |
---|---|
Transaction |
Datastore.newTransaction(TransactionOptions options)
Returns a new Datastore transaction.
|
<T> T |
Datastore.runInTransaction(Datastore.TransactionCallable<T> callable,
TransactionOptions options)
Invokes the callback's
Datastore.TransactionCallable.run(com.google.cloud.datastore.DatastoreReaderWriter) method with a DatastoreReaderWriter that is associated with a new transaction. |
Modifier and Type | Method and Description |
---|---|
TransactionOptions |
TransactionOptions.Builder.build() |
TransactionOptions |
TransactionOptions.Builder.buildPartial() |
static TransactionOptions |
TransactionOptions.getDefaultInstance() |
TransactionOptions |
TransactionOptions.getDefaultInstanceForType() |
TransactionOptions |
TransactionOptions.Builder.getDefaultInstanceForType() |
TransactionOptions |
ReadOptionsOrBuilder.getNewTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
ReadOptions.getNewTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
ReadOptions.Builder.getNewTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
CommitRequestOrBuilder.getSingleUseTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
CommitRequest.getSingleUseTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
CommitRequest.Builder.getSingleUseTransaction()
Options for beginning a new transaction for this request.
|
TransactionOptions |
BeginTransactionRequest.getTransactionOptions()
Options for a new transaction.
|
TransactionOptions |
BeginTransactionRequest.Builder.getTransactionOptions()
Options for a new transaction.
|
TransactionOptions |
BeginTransactionRequestOrBuilder.getTransactionOptions()
Options for a new transaction.
|
static TransactionOptions |
TransactionOptions.parseDelimitedFrom(InputStream input) |
static TransactionOptions |
TransactionOptions.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(byte[] data) |
static TransactionOptions |
TransactionOptions.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteBuffer data) |
static TransactionOptions |
TransactionOptions.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(com.google.protobuf.ByteString data) |
static TransactionOptions |
TransactionOptions.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionOptions |
TransactionOptions.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionOptions |
TransactionOptions.parseFrom(InputStream input) |
static TransactionOptions |
TransactionOptions.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Parser<TransactionOptions> |
TransactionOptions.getParserForType() |
static com.google.protobuf.Parser<TransactionOptions> |
TransactionOptions.parser() |
Modifier and Type | Method and Description |
---|---|
TransactionOptions.Builder |
TransactionOptions.Builder.mergeFrom(TransactionOptions other) |
ReadOptions.Builder |
ReadOptions.Builder.mergeNewTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
CommitRequest.Builder.mergeSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
BeginTransactionRequest.Builder |
BeginTransactionRequest.Builder.mergeTransactionOptions(TransactionOptions value)
Options for a new transaction.
|
static TransactionOptions.Builder |
TransactionOptions.newBuilder(TransactionOptions prototype) |
ReadOptions.Builder |
ReadOptions.Builder.setNewTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
CommitRequest.Builder |
CommitRequest.Builder.setSingleUseTransaction(TransactionOptions value)
Options for beginning a new transaction for this request.
|
BeginTransactionRequest.Builder |
BeginTransactionRequest.Builder.setTransactionOptions(TransactionOptions value)
Options for a new transaction.
|
Copyright © 2023 Google LLC. All rights reserved.