Class AdapterGrpc

java.lang.Object
com.google.spanner.adapter.v1.AdapterGrpc

public final class AdapterGrpc extends Object
 Cloud Spanner Adapter API
 The Cloud Spanner Adapter service allows native drivers of supported database
 dialects to interact directly with Cloud Spanner by wrapping the underlying
 wire protocol used by the driver in a gRPC stream.
 
  • Field Details

  • Method Details

    • getCreateSessionMethod

      public static io.grpc.MethodDescriptor<CreateSessionRequest,Session> getCreateSessionMethod()
    • getAdaptMessageMethod

      public static io.grpc.MethodDescriptor<AdaptMessageRequest,AdaptMessageResponse> getAdaptMessageMethod()
    • newStub

      public static AdapterGrpc.AdapterStub newStub(io.grpc.Channel channel)
      Creates a new async stub that supports all call types for the service
    • newBlockingV2Stub

      public static AdapterGrpc.AdapterBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel)
      Creates a new blocking-style stub that supports all types of calls on the service
    • newBlockingStub

      public static AdapterGrpc.AdapterBlockingStub newBlockingStub(io.grpc.Channel channel)
      Creates a new blocking-style stub that supports unary and streaming output calls on the service
    • newFutureStub

      public static AdapterGrpc.AdapterFutureStub 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(AdapterGrpc.AsyncService service)
    • getServiceDescriptor

      public static io.grpc.ServiceDescriptor getServiceDescriptor()