Class DatastoreGrpc (2.28.1)

public final class 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

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DatastoreGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DatastoreGrpc.AsyncService service)
Parameter
Name Description
service DatastoreGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getAllocateIdsMethod()

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

getBeginTransactionMethod()

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

getCommitMethod()

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

getLookupMethod()

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

getReserveIdsMethod()

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

getRollbackMethod()

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

getRunAggregationQueryMethod()

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

getRunQueryMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static DatastoreGrpc.DatastoreBlockingStub newBlockingStub(Channel channel)

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)

public static DatastoreGrpc.DatastoreBlockingV2Stub newBlockingV2Stub(Channel channel)

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)

public static DatastoreGrpc.DatastoreFutureStub newFutureStub(Channel channel)

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)

public static DatastoreGrpc.DatastoreStub newStub(Channel channel)

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