Class HttpJsonSpannerCallableFactory

  • All Implemented Interfaces:
    com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>

    @Generated("by gapic-generator-java")
    @BetaApi
    public class HttpJsonSpannerCallableFactory
    extends Object
    implements com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
    REST callable factory implementation for the Spanner service API.

    This class is for advanced usage.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <RequestT,​ResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT>
      createBatchingCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.BatchingCallSettings<RequestT,​ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)  
      <RequestT,​ResponseT,​MetadataT>
      com.google.api.gax.rpc.OperationCallable<RequestT,​ResponseT,​MetadataT>
      createOperationCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​com.google.longrunning.Operation> httpJsonCallSettings, com.google.api.gax.rpc.OperationCallSettings<RequestT,​ResponseT,​MetadataT> callSettings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.longrunning.stub.OperationsStub operationsStub)  
      <RequestT,​ResponseT,​PagedListResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​PagedListResponseT>
      createPagedCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.PagedCallSettings<RequestT,​ResponseT,​PagedListResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)  
      <RequestT,​ResponseT>
      com.google.api.gax.rpc.ServerStreamingCallable<RequestT,​ResponseT>
      createServerStreamingCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,​ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)  
      <RequestT,​ResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT>
      createUnaryCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.UnaryCallSettings<RequestT,​ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)  
    • Constructor Detail

      • HttpJsonSpannerCallableFactory

        public HttpJsonSpannerCallableFactory()
    • Method Detail

      • createUnaryCallable

        public <RequestT,​ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT> createUnaryCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                             com.google.api.gax.rpc.UnaryCallSettings<RequestT,​ResponseT> callSettings,
                                                                                                                             com.google.api.gax.rpc.ClientContext clientContext)
        Specified by:
        createUnaryCallable in interface com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
      • createPagedCallable

        public <RequestT,​ResponseT,​PagedListResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​PagedListResponseT> createPagedCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                                                               com.google.api.gax.rpc.PagedCallSettings<RequestT,​ResponseT,​PagedListResponseT> callSettings,
                                                                                                                                                               com.google.api.gax.rpc.ClientContext clientContext)
        Specified by:
        createPagedCallable in interface com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
      • createBatchingCallable

        public <RequestT,​ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT> createBatchingCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                                com.google.api.gax.rpc.BatchingCallSettings<RequestT,​ResponseT> callSettings,
                                                                                                                                com.google.api.gax.rpc.ClientContext clientContext)
        Specified by:
        createBatchingCallable in interface com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
      • createOperationCallable

        @BetaApi("The surface for long-running operations is not stable yet and may change in the future.")
        public <RequestT,​ResponseT,​MetadataT> com.google.api.gax.rpc.OperationCallable<RequestT,​ResponseT,​MetadataT> createOperationCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​com.google.longrunning.Operation> httpJsonCallSettings,
                                                                                                                                                                     com.google.api.gax.rpc.OperationCallSettings<RequestT,​ResponseT,​MetadataT> callSettings,
                                                                                                                                                                     com.google.api.gax.rpc.ClientContext clientContext,
                                                                                                                                                                     com.google.api.gax.httpjson.longrunning.stub.OperationsStub operationsStub)
        Specified by:
        createOperationCallable in interface com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
      • createServerStreamingCallable

        public <RequestT,​ResponseT> com.google.api.gax.rpc.ServerStreamingCallable<RequestT,​ResponseT> createServerStreamingCallable​(com.google.api.gax.httpjson.HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                                                 com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,​ResponseT> callSettings,
                                                                                                                                                 com.google.api.gax.rpc.ClientContext clientContext)
        Specified by:
        createServerStreamingCallable in interface com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,​com.google.api.gax.httpjson.longrunning.stub.OperationsStub>