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 Classes Modifier and Type Class Description static interfaceSpannerGrpc.AsyncServiceCloud Spanner API The Cloud Spanner API can be used to manage sessions and execute transactions on data stored in Cloud Spanner databases.static classSpannerGrpc.SpannerBlockingStubA stub to allow clients to do synchronous rpc calls to service Spanner.static classSpannerGrpc.SpannerFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Spanner.static classSpannerGrpc.SpannerImplBaseBase class for the server implementation of the service Spanner.static classSpannerGrpc.SpannerStubA stub to allow clients to do asynchronous rpc calls to service Spanner.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(SpannerGrpc.AsyncService service)static io.grpc.MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse>getBatchCreateSessionsMethod()static io.grpc.MethodDescriptor<BeginTransactionRequest,Transaction>getBeginTransactionMethod()static io.grpc.MethodDescriptor<CommitRequest,CommitResponse>getCommitMethod()static io.grpc.MethodDescriptor<CreateSessionRequest,Session>getCreateSessionMethod()static io.grpc.MethodDescriptor<DeleteSessionRequest,com.google.protobuf.Empty>getDeleteSessionMethod()static io.grpc.MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse>getExecuteBatchDmlMethod()static io.grpc.MethodDescriptor<ExecuteSqlRequest,ResultSet>getExecuteSqlMethod()static io.grpc.MethodDescriptor<ExecuteSqlRequest,PartialResultSet>getExecuteStreamingSqlMethod()static io.grpc.MethodDescriptor<GetSessionRequest,Session>getGetSessionMethod()static io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse>getListSessionsMethod()static io.grpc.MethodDescriptor<PartitionQueryRequest,PartitionResponse>getPartitionQueryMethod()static io.grpc.MethodDescriptor<PartitionReadRequest,PartitionResponse>getPartitionReadMethod()static io.grpc.MethodDescriptor<ReadRequest,ResultSet>getReadMethod()static io.grpc.MethodDescriptor<RollbackRequest,com.google.protobuf.Empty>getRollbackMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<ReadRequest,PartialResultSet>getStreamingReadMethod()static SpannerGrpc.SpannerBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic SpannerGrpc.SpannerFutureStubnewFutureStub(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 Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateSessionMethod
public static io.grpc.MethodDescriptor<CreateSessionRequest,Session> getCreateSessionMethod()
-
getBatchCreateSessionsMethod
public static io.grpc.MethodDescriptor<BatchCreateSessionsRequest,BatchCreateSessionsResponse> getBatchCreateSessionsMethod()
-
getGetSessionMethod
public static io.grpc.MethodDescriptor<GetSessionRequest,Session> getGetSessionMethod()
-
getListSessionsMethod
public static io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse> getListSessionsMethod()
-
getDeleteSessionMethod
public static io.grpc.MethodDescriptor<DeleteSessionRequest,com.google.protobuf.Empty> getDeleteSessionMethod()
-
getExecuteSqlMethod
public static io.grpc.MethodDescriptor<ExecuteSqlRequest,ResultSet> getExecuteSqlMethod()
-
getExecuteStreamingSqlMethod
public static io.grpc.MethodDescriptor<ExecuteSqlRequest,PartialResultSet> getExecuteStreamingSqlMethod()
-
getExecuteBatchDmlMethod
public static io.grpc.MethodDescriptor<ExecuteBatchDmlRequest,ExecuteBatchDmlResponse> getExecuteBatchDmlMethod()
-
getReadMethod
public static io.grpc.MethodDescriptor<ReadRequest,ResultSet> getReadMethod()
-
getStreamingReadMethod
public static io.grpc.MethodDescriptor<ReadRequest,PartialResultSet> getStreamingReadMethod()
-
getBeginTransactionMethod
public static io.grpc.MethodDescriptor<BeginTransactionRequest,Transaction> getBeginTransactionMethod()
-
getCommitMethod
public static io.grpc.MethodDescriptor<CommitRequest,CommitResponse> 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()
-
newStub
public static SpannerGrpc.SpannerStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static SpannerGrpc.SpannerBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static SpannerGrpc.SpannerFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(SpannerGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-