Class DatastoreGrpc (2.30.0)

publicfinalclass DatastoreGrpc

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.

Inheritance

java.lang.Object > DatastoreGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DatastoreGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(DatastoreGrpc.AsyncServiceservice)
Parameter
Name Description
service DatastoreGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAllocateIdsMethod()

publicstaticMethodDescriptor<AllocateIdsRequest,AllocateIdsResponse>getAllocateIdsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AllocateIdsRequest,AllocateIdsResponse>

getBeginTransactionMethod()

publicstaticMethodDescriptor<BeginTransactionRequest,BeginTransactionResponse>getBeginTransactionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BeginTransactionRequest,BeginTransactionResponse>

getCommitMethod()

publicstaticMethodDescriptor<CommitRequest,CommitResponse>getCommitMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CommitRequest,CommitResponse>

getLookupMethod()

publicstaticMethodDescriptor<LookupRequest,LookupResponse>getLookupMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LookupRequest,LookupResponse>

getReserveIdsMethod()

publicstaticMethodDescriptor<ReserveIdsRequest,ReserveIdsResponse>getReserveIdsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReserveIdsRequest,ReserveIdsResponse>

getRollbackMethod()

publicstaticMethodDescriptor<RollbackRequest,RollbackResponse>getRollbackMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RollbackRequest,RollbackResponse>

getRunAggregationQueryMethod()

publicstaticMethodDescriptor<RunAggregationQueryRequest,RunAggregationQueryResponse>getRunAggregationQueryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunAggregationQueryRequest,RunAggregationQueryResponse>

getRunQueryMethod()

publicstaticMethodDescriptor<RunQueryRequest,RunQueryResponse>getRunQueryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunQueryRequest,RunQueryResponse>

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

publicstaticDatastoreGrpc.DatastoreBlockingStubnewBlockingStub(Channelchannel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DatastoreGrpc.DatastoreBlockingStub

newBlockingV2Stub(Channel channel)

publicstaticDatastoreGrpc.DatastoreBlockingV2StubnewBlockingV2Stub(Channelchannel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DatastoreGrpc.DatastoreBlockingV2Stub

newFutureStub(Channel channel)

publicstaticDatastoreGrpc.DatastoreFutureStubnewFutureStub(Channelchannel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DatastoreGrpc.DatastoreFutureStub

newStub(Channel channel)

publicstaticDatastoreGrpc.DatastoreStubnewStub(Channelchannel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DatastoreGrpc.DatastoreStub

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.