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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class AdapterGrpc (0.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.0 (latest)](/java/docs/reference/google-cloud-spanneradapter/latest/com.google.spanner.adapter.v1.AdapterGrpc)\n- [0.6.0](/java/docs/reference/google-cloud-spanneradapter/0.6.0/com.google.spanner.adapter.v1.AdapterGrpc)\n- [0.4.0](/java/docs/reference/google-cloud-spanneradapter/0.4.0/com.google.spanner.adapter.v1.AdapterGrpc)\n- [0.3.0](/java/docs/reference/google-cloud-spanneradapter/0.3.0/com.google.spanner.adapter.v1.AdapterGrpc) \n\n public final class AdapterGrpc\n\nCloud Spanner Adapter API\nThe Cloud Spanner Adapter service allows native drivers of supported database\ndialects to interact directly with Cloud Spanner by wrapping the underlying\nwire protocol used by the driver in a gRPC stream. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e AdapterGrpc \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Fields\n-------------\n\n### SERVICE_NAME\n\n public static final String SERVICE_NAME\n\nStatic Methods\n--------------\n\n### bindService(AdapterGrpc.AsyncService service)\n\n public static final ServerServiceDefinition bindService(AdapterGrpc.AsyncService service)\n\n### getAdaptMessageMethod()\n\n public static MethodDescriptor\u003cAdaptMessageRequest,AdaptMessageResponse\u003e getAdaptMessageMethod()\n\n### getCreateSessionMethod()\n\n public static MethodDescriptor\u003cCreateSessionRequest,Session\u003e getCreateSessionMethod()\n\n### getServiceDescriptor()\n\n public static ServiceDescriptor getServiceDescriptor()\n\n### newBlockingStub(Channel channel)\n\n public static AdapterGrpc.AdapterBlockingStub newBlockingStub(Channel channel)\n\nCreates a new blocking-style stub that supports unary and streaming output calls on the service\n\n### newBlockingV2Stub(Channel channel)\n\n public static AdapterGrpc.AdapterBlockingV2Stub newBlockingV2Stub(Channel channel)\n\nCreates a new blocking-style stub that supports all types of calls on the service\n\n### newFutureStub(Channel channel)\n\n public static AdapterGrpc.AdapterFutureStub newFutureStub(Channel channel)\n\nCreates a new ListenableFuture-style stub that supports unary calls on the service\n\n### newStub(Channel channel)\n\n public static AdapterGrpc.AdapterStub newStub(Channel channel)\n\nCreates a new async stub that supports all call types for the service"]]