Package com.google.spanner.v1
Class SpannerGrpc
java.lang.Object
com.google.spanner.v1.SpannerGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: google/spanner/v1/spanner.proto")
public final class SpannerGrpc
extends Object
Cloud Spanner API The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCloud Spanner API The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.static final classA stub to allow clients to do synchronous rpc calls to service Spanner.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Spanner.static classBase class for the server implementation of the service Spanner.static final classA stub to allow clients to do asynchronous rpc calls to service Spanner. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(SpannerGrpc.AsyncService service) static io.grpc.MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse> static io.grpc.MethodDescriptor<BatchWriteRequest,BatchWriteResponse> static io.grpc.MethodDescriptor<BeginTransactionRequest,Transaction> static io.grpc.MethodDescriptor<CommitRequest,CommitResponse> static io.grpc.MethodDescriptor<CreateSessionRequest,Session> static io.grpc.MethodDescriptor<DeleteSessionRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> static io.grpc.MethodDescriptor<ExecuteSqlRequest,ResultSet> static io.grpc.MethodDescriptor<ExecuteSqlRequest,PartialResultSet> static io.grpc.MethodDescriptor<GetSessionRequest,Session> static io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse> static io.grpc.MethodDescriptor<PartitionQueryRequest,PartitionResponse> static io.grpc.MethodDescriptor<PartitionReadRequest,PartitionResponse> static io.grpc.MethodDescriptor<ReadRequest,ResultSet> static io.grpc.MethodDescriptor<RollbackRequest,com.google.protobuf.Empty> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<ReadRequest,PartialResultSet> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SpannerGrpc.SpannerStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateSessionMethod
-
getBatchCreateSessionsMethod
public static io.grpc.MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse> getBatchCreateSessionsMethod() -
getGetSessionMethod
-
getListSessionsMethod
public static io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse> getListSessionsMethod() -
getDeleteSessionMethod
public static io.grpc.MethodDescriptor<DeleteSessionRequest,com.google.protobuf.Empty> getDeleteSessionMethod() -
getExecuteSqlMethod
-
getExecuteStreamingSqlMethod
public static io.grpc.MethodDescriptor<ExecuteSqlRequest,PartialResultSet> getExecuteStreamingSqlMethod() -
getExecuteBatchDmlMethod
public static io.grpc.MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> getExecuteBatchDmlMethod() -
getReadMethod
-
getStreamingReadMethod
-
getBeginTransactionMethod
public static io.grpc.MethodDescriptor<BeginTransactionRequest,Transaction> getBeginTransactionMethod() -
getCommitMethod
-
getRollbackMethod
public static io.grpc.MethodDescriptor<RollbackRequest,com.google.protobuf.Empty> getRollbackMethod() -
getPartitionQueryMethod
public static io.grpc.MethodDescriptor<PartitionQueryRequest,PartitionResponse> getPartitionQueryMethod() -
getPartitionReadMethod
public static io.grpc.MethodDescriptor<PartitionReadRequest,PartitionResponse> getPartitionReadMethod() -
getBatchWriteMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-