# Class HttpJsonBinauthzManagementServiceV1Stub (1.92.0)

1.92.0 (latest) 1.90.0 1.87.0 1.86.0 1.84.0 1.82.0 1.81.0 1.80.0 1.79.0 1.77.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.69.0 1.67.0 1.66.0 1.63.0 1.62.0 1.61.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.0.6

    public class HttpJsonBinauthzManagementServiceV1Stub extends BinauthzManagementServiceV1Stub

REST stub implementation for the BinauthzManagementServiceV1 service API.

This class is for advanced usage and reflects the underlying API directly.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> [BinauthzManagementServiceV1Stub](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub) \> HttpJsonBinauthzManagementServiceV1Stub

## Inherited Members

[BinauthzManagementServiceV1Stub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_close__) [BinauthzManagementServiceV1Stub.createAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_createAttestorCallable__) [BinauthzManagementServiceV1Stub.deleteAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_deleteAttestorCallable__) [BinauthzManagementServiceV1Stub.getAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_getAttestorCallable__) [BinauthzManagementServiceV1Stub.getPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_getPolicyCallable__) [BinauthzManagementServiceV1Stub.listAttestorsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_listAttestorsCallable__) [BinauthzManagementServiceV1Stub.listAttestorsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_listAttestorsPagedCallable__) [BinauthzManagementServiceV1Stub.updateAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_updateAttestorCallable__) [BinauthzManagementServiceV1Stub.updatePolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_updatePolicyCallable__) [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-)

## Static Methods

### create(ClientContext clientContext)

    public static final HttpJsonBinauthzManagementServiceV1Stub create(ClientContext clientContext)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `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/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.HttpJsonBinauthzManagementServiceV1Stub` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    public static final HttpJsonBinauthzManagementServiceV1Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |
| `callableFactory` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonStubCallableFactory.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.HttpJsonBinauthzManagementServiceV1Stub` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(BinauthzManagementServiceV1StubSettings settings)

    public static final HttpJsonBinauthzManagementServiceV1Stub create(BinauthzManagementServiceV1StubSettings settings)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1StubSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.HttpJsonBinauthzManagementServiceV1Stub` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### getMethodDescriptors()

    public static List<ApiMethodDescriptor> getMethodDescriptors()

> [!WARNING]
> **Internal Only**: This feature is not stable for application use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.ApiMethodDescriptor.html>` |   |

## Constructors

### HttpJsonBinauthzManagementServiceV1Stub(BinauthzManagementServiceV1StubSettings settings, ClientContext clientContext)

    protected HttpJsonBinauthzManagementServiceV1Stub(BinauthzManagementServiceV1StubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonBinauthzManagementServiceV1Stub, using the given settings.
This is protected so that it is easy to make a subclass, but otherwise, the static factory
methods should be preferred.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1StubSettings` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

### HttpJsonBinauthzManagementServiceV1Stub(BinauthzManagementServiceV1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    protected HttpJsonBinauthzManagementServiceV1Stub(BinauthzManagementServiceV1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonBinauthzManagementServiceV1Stub, using the given settings.
This is protected so that it is easy to make a subclass, but otherwise, the static factory
methods should be preferred.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1StubSettings` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |
| `callableFactory` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.HttpJsonStubCallableFactory.html` |

## Methods

### awaitTermination(long duration, TimeUnit unit)

    public boolean awaitTermination(long duration, TimeUnit unit)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `duration` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |
| `unit` | `https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html` |   |

### close()

    public final void close()

**Overrides** [BinauthzManagementServiceV1Stub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_close__)

### createAttestorCallable()

    public UnaryCallable<Service.CreateAttestorRequest,Resources.Attestor> createAttestorCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.createAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_createAttestorCallable__)

### deleteAttestorCallable()

    public UnaryCallable<Service.DeleteAttestorRequest,Empty> deleteAttestorCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.deleteAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_deleteAttestorCallable__)

### getAttestorCallable()

    public UnaryCallable<Service.GetAttestorRequest,Resources.Attestor> getAttestorCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.getAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_getAttestorCallable__)

### getPolicyCallable()

    public UnaryCallable<Service.GetPolicyRequest,Resources.Policy> getPolicyCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.getPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_getPolicyCallable__)

### isShutdown()

    public boolean isShutdown()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### isTerminated()

    public boolean isTerminated()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### listAttestorsCallable()

    public UnaryCallable<Service.ListAttestorsRequest,Service.ListAttestorsResponse> listAttestorsCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.listAttestorsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_listAttestorsCallable__)

### listAttestorsPagedCallable()

    public UnaryCallable<Service.ListAttestorsRequest,BinauthzManagementServiceV1Client.ListAttestorsPagedResponse> listAttestorsPagedCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Client.ListAttestorsPagedResponse>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.listAttestorsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_listAttestorsPagedCallable__)

### shutdown()

    public void shutdown()

### shutdownNow()

    public void shutdownNow()

### updateAttestorCallable()

    public UnaryCallable<Service.UpdateAttestorRequest,Resources.Attestor> updateAttestorCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.updateAttestorCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_updateAttestorCallable__)

### updatePolicyCallable()

    public UnaryCallable<Service.UpdatePolicyRequest,Resources.Policy> updatePolicyCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>` |   |

**Overrides** [BinauthzManagementServiceV1Stub.updatePolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/com.google.protos.google.cloud.binaryauthorization.v1.stub.BinauthzManagementServiceV1Stub#com_google_protos_google_cloud_binaryauthorization_v1_stub_BinauthzManagementServiceV1Stub_updatePolicyCallable__)