# Class HttpJsonTermsOfServiceAgreementStateServiceCallableFactory (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public class HttpJsonTermsOfServiceAgreementStateServiceCallableFactory implements HttpJsonStubCallableFactory<Operation,OperationsStub>

REST callable factory implementation for the TermsOfServiceAgreementStateService service API.

This class is for advanced usage.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> HttpJsonTermsOfServiceAgreementStateServiceCallableFactory

## Implements

com.google.api.gax.httpjson.HttpJsonStubCallableFactory\<com.google.longrunning.Operation,com.google.api.gax.httpjson.longrunning.stub.OperationsStub\>

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Constructors

### HttpJsonTermsOfServiceAgreementStateServiceCallableFactory()

    public HttpJsonTermsOfServiceAgreementStateServiceCallableFactory()

## Methods

### \<RequestT,ResponseT,MetadataT\>createOperationCallable(HttpJsonCallSettings\<RequestT,Operation\> httpJsonCallSettings, OperationCallSettings\<RequestT,ResponseT,MetadataT\> callSettings, ClientContext clientContext, OperationsStub operationsStub)

    public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpJsonCallSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonCallSettings.html<RequestT,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |
| `callSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallSettings.html<RequestT,ResponseT,MetadataT>` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |
| `operationsStub` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.longrunning.stub.OperationsStub.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<RequestT,ResponseT,MetadataT>` |   |

### \<RequestT,ResponseT,PagedListResponseT\>createPagedCallable(HttpJsonCallSettings\<RequestT,ResponseT\> httpJsonCallSettings, PagedCallSettings\<RequestT,ResponseT,PagedListResponseT\> callSettings, ClientContext clientContext)

    public UnaryCallable<RequestT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpJsonCallSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonCallSettings.html<RequestT,ResponseT>` |
| `callSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.PagedCallSettings.html<RequestT,ResponseT,PagedListResponseT>` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<RequestT,PagedListResponseT>` |   |

### \<RequestT,ResponseT\>createBatchingCallable(HttpJsonCallSettings\<RequestT,ResponseT\> httpJsonCallSettings, BatchingCallSettings\<RequestT,ResponseT\> callSettings, ClientContext clientContext)

    public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpJsonCallSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonCallSettings.html<RequestT,ResponseT>` |
| `callSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.BatchingCallSettings.html<RequestT,ResponseT>` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<RequestT,ResponseT>` |   |

### \<RequestT,ResponseT\>createServerStreamingCallable(HttpJsonCallSettings\<RequestT,ResponseT\> httpJsonCallSettings, ServerStreamingCallSettings\<RequestT,ResponseT\> callSettings, ClientContext clientContext)

    public ServerStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpJsonCallSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonCallSettings.html<RequestT,ResponseT>` |
| `callSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ServerStreamingCallSettings.html<RequestT,ResponseT>` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ServerStreamingCallable.html<RequestT,ResponseT>` |   |

### \<RequestT,ResponseT\>createUnaryCallable(HttpJsonCallSettings\<RequestT,ResponseT\> httpJsonCallSettings, UnaryCallSettings\<RequestT,ResponseT\> callSettings, ClientContext clientContext)

    public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `httpJsonCallSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonCallSettings.html<RequestT,ResponseT>` |
| `callSettings` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallSettings.html<RequestT,ResponseT>` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<RequestT,ResponseT>` |   |