public static final class DatastoreGrpc.DatastoreBlockingStub extends io.grpc.stub.AbstractStub<DatastoreGrpc.DatastoreBlockingStub>
Each RPC normalizes the partition IDs of the keys in its input entities, and always returns entities with keys with normalized partition IDs. This applies to all keys and entities, including those in values, except keys with both an empty path and an empty or unset partition ID. Normalization of input keys sets the project ID (if not already set) to the project ID from the request.
Modifier and Type | Method and Description |
---|---|
AllocateIdsResponse |
allocateIds(AllocateIdsRequest request)
Allocates IDs for the given keys, which is useful for referencing an entity
before it is inserted.
|
BeginTransactionResponse |
beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
|
protected DatastoreGrpc.DatastoreBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
CommitResponse |
commit(CommitRequest request)
Commits a transaction, optionally creating, deleting or modifying some
entities.
|
LookupResponse |
lookup(LookupRequest request)
Looks up entities by key.
|
ReserveIdsResponse |
reserveIds(ReserveIdsRequest request)
Prevents the supplied keys' IDs from being auto-allocated by Cloud
Datastore.
|
RollbackResponse |
rollback(RollbackRequest request)
Rolls back a transaction.
|
RunQueryResponse |
runQuery(RunQueryRequest request)
Queries for entities.
|
protected DatastoreGrpc.DatastoreBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<DatastoreGrpc.DatastoreBlockingStub>
public LookupResponse lookup(LookupRequest request)
Looks up entities by key.
public RunQueryResponse runQuery(RunQueryRequest request)
Queries for entities.
public BeginTransactionResponse beginTransaction(BeginTransactionRequest request)
Begins a new transaction.
public CommitResponse commit(CommitRequest request)
Commits a transaction, optionally creating, deleting or modifying some entities.
public RollbackResponse rollback(RollbackRequest request)
Rolls back a transaction.
public AllocateIdsResponse allocateIds(AllocateIdsRequest request)
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
public ReserveIdsResponse reserveIds(ReserveIdsRequest request)
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.