Interface HttpJsonStubCallableFactory<OperationT,​OperationsStub extends com.google.api.gax.core.BackgroundResource>

  • All Known Implementing Classes:
    HttpJsonOperationsCallableFactory

    public interface HttpJsonStubCallableFactory<OperationT,​OperationsStub extends com.google.api.gax.core.BackgroundResource>
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      <RequestT,​ResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT>
      createBatchingCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.BatchingCallSettings<RequestT,​ResponseT> batchingCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
      Create a callable object that represents a batching API method.
      <RequestT,​ResponseT,​MetadataT>
      com.google.api.gax.rpc.OperationCallable<RequestT,​ResponseT,​MetadataT>
      createOperationCallable​(HttpJsonCallSettings<RequestT,​OperationT> httpJsonCallSettings, com.google.api.gax.rpc.OperationCallSettings<RequestT,​ResponseT,​MetadataT> operationCallSettings, com.google.api.gax.rpc.ClientContext clientContext, OperationsStub operationsStub)
      Creates a callable object that represents a long-running operation.
      <RequestT,​ResponseT,​PagedListResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​PagedListResponseT>
      createPagedCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.PagedCallSettings<RequestT,​ResponseT,​PagedListResponseT> pagedCallSettings, com.google.api.gax.rpc.ClientContext clientContext)
      Create a paged callable object that represents a paged API method.
      default <RequestT,​ResponseT>
      com.google.api.gax.rpc.ServerStreamingCallable<RequestT,​ResponseT>
      createServerStreamingCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,​ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
      Create a server-streaming callable with.
      <RequestT,​ResponseT>
      com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT>
      createUnaryCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings, com.google.api.gax.rpc.UnaryCallSettings<RequestT,​ResponseT> callSettings, com.google.api.gax.rpc.ClientContext clientContext)
      Create a callable object with http/json-specific functionality.
    • Method Detail

      • createUnaryCallable

        <RequestT,​ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT> createUnaryCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                      com.google.api.gax.rpc.UnaryCallSettings<RequestT,​ResponseT> callSettings,
                                                                                                                      com.google.api.gax.rpc.ClientContext clientContext)
        Create a callable object with http/json-specific functionality. Designed for use by generated code.
        Parameters:
        httpJsonCallSettings - the http/json call settings
        callSettings - UnaryCallSettings to configure the method-level settings with
        clientContext - ClientContext to use to connect to the service
        Returns:
        UnaryCallable callable object
      • createPagedCallable

        <RequestT,​ResponseT,​PagedListResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​PagedListResponseT> createPagedCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                                                        com.google.api.gax.rpc.PagedCallSettings<RequestT,​ResponseT,​PagedListResponseT> pagedCallSettings,
                                                                                                                                                        com.google.api.gax.rpc.ClientContext clientContext)
        Create a paged callable object that represents a paged API method. Designed for use by generated code.
        Parameters:
        httpJsonCallSettings - the http/json call settings
        pagedCallSettings - PagedCallSettings to configure the paged settings with
        clientContext - ClientContext to use to connect to the service
        Returns:
        UnaryCallable callable object
      • createBatchingCallable

        <RequestT,​ResponseT> com.google.api.gax.rpc.UnaryCallable<RequestT,​ResponseT> createBatchingCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                         com.google.api.gax.rpc.BatchingCallSettings<RequestT,​ResponseT> batchingCallSettings,
                                                                                                                         com.google.api.gax.rpc.ClientContext clientContext)
        Create a callable object that represents a batching API method. Designed for use by generated code.
        Parameters:
        httpJsonCallSettings - the http/json call settings
        batchingCallSettings - BatchingCallSettings to configure the batching related settings with
        clientContext - ClientContext to use to connect to the service
        Returns:
        UnaryCallable callable object
      • createOperationCallable

        <RequestT,​ResponseT,​MetadataT> com.google.api.gax.rpc.OperationCallable<RequestT,​ResponseT,​MetadataT> createOperationCallable​(HttpJsonCallSettings<RequestT,​OperationT> httpJsonCallSettings,
                                                                                                                                                              com.google.api.gax.rpc.OperationCallSettings<RequestT,​ResponseT,​MetadataT> operationCallSettings,
                                                                                                                                                              com.google.api.gax.rpc.ClientContext clientContext,
                                                                                                                                                              OperationsStub operationsStub)
        Creates a callable object that represents a long-running operation. Designed for use by generated code.
        Parameters:
        httpJsonCallSettings - the http/json call settings
        operationCallSettings - OperationCallSettings to configure the method-level settings with
        clientContext - ClientContext to use to connect to the service
        operationsStub - opertation stub to use to poll for updates on the Operation
        Returns:
        OperationCallable callable object
      • createServerStreamingCallable

        default <RequestT,​ResponseT> com.google.api.gax.rpc.ServerStreamingCallable<RequestT,​ResponseT> createServerStreamingCallable​(HttpJsonCallSettings<RequestT,​ResponseT> httpJsonCallSettings,
                                                                                                                                                  com.google.api.gax.rpc.ServerStreamingCallSettings<RequestT,​ResponseT> callSettings,
                                                                                                                                                  com.google.api.gax.rpc.ClientContext clientContext)
        Create a server-streaming callable with. Designed for use by generated code.
        Parameters:
        httpJsonCallSettings - the gRPC call settings
        callSettings - StreamingCallSettings to configure the method-level settings with.
        clientContext - ClientContext to use to connect to the service.