# Class HttpJsonNotebookServiceStub (1.91.0)

1.91.0 (latest) 1.89.0 1.86.0 1.85.0 1.83.0 1.81.0 1.80.0 1.78.0 1.76.0 1.74.0 1.73.0 1.72.0 1.71.0 1.70.0 1.68.0 1.66.0 1.65.0 1.62.0 1.61.0 1.60.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.49.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.37.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.25.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.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.3 1.0.6 0.6.2

    public class HttpJsonNotebookServiceStub extends NotebookServiceStub

REST stub implementation for the NotebookService 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) \> [NotebookServiceStub](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub) \> HttpJsonNotebookServiceStub

## Inherited Members

[NotebookServiceStub.checkInstanceUpgradabilityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_checkInstanceUpgradabilityCallable__) [NotebookServiceStub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_close__) [NotebookServiceStub.createInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_createInstanceCallable__) [NotebookServiceStub.createInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_createInstanceOperationCallable__) [NotebookServiceStub.deleteInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_deleteInstanceCallable__) [NotebookServiceStub.deleteInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_deleteInstanceOperationCallable__) [NotebookServiceStub.diagnoseInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_diagnoseInstanceCallable__) [NotebookServiceStub.diagnoseInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_diagnoseInstanceOperationCallable__) [NotebookServiceStub.getHttpJsonOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getHttpJsonOperationsStub__) [NotebookServiceStub.getIamPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getIamPolicyCallable__) [NotebookServiceStub.getInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getInstanceCallable__) [NotebookServiceStub.getLocationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getLocationCallable__) [NotebookServiceStub.getOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getOperationsStub__) [NotebookServiceStub.listInstancesCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listInstancesCallable__) [NotebookServiceStub.listInstancesPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listInstancesPagedCallable__) [NotebookServiceStub.listLocationsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listLocationsCallable__) [NotebookServiceStub.listLocationsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listLocationsPagedCallable__) [NotebookServiceStub.resetInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_resetInstanceCallable__) [NotebookServiceStub.resetInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_resetInstanceOperationCallable__) [NotebookServiceStub.rollbackInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_rollbackInstanceCallable__) [NotebookServiceStub.rollbackInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_rollbackInstanceOperationCallable__) [NotebookServiceStub.setIamPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_setIamPolicyCallable__) [NotebookServiceStub.startInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_startInstanceCallable__) [NotebookServiceStub.startInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_startInstanceOperationCallable__) [NotebookServiceStub.stopInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_stopInstanceCallable__) [NotebookServiceStub.stopInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_stopInstanceOperationCallable__) [NotebookServiceStub.testIamPermissionsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_testIamPermissionsCallable__) [NotebookServiceStub.updateInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_updateInstanceCallable__) [NotebookServiceStub.updateInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_updateInstanceOperationCallable__) [NotebookServiceStub.upgradeInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_upgradeInstanceCallable__) [NotebookServiceStub.upgradeInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_upgradeInstanceOperationCallable__) [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 HttpJsonNotebookServiceStub 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-notebooks/latest/com.google.cloud.notebooks.v2.stub.HttpJsonNotebookServiceStub` |   |

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

### create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    public static final HttpJsonNotebookServiceStub 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-notebooks/latest/com.google.cloud.notebooks.v2.stub.HttpJsonNotebookServiceStub` |   |

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

### create(NotebookServiceStubSettings settings)

    public static final HttpJsonNotebookServiceStub create(NotebookServiceStubSettings settings)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStubSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.HttpJsonNotebookServiceStub` |   |

| **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

### HttpJsonNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)

    protected HttpJsonNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNotebookServiceStub, 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-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStubSettings` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

### HttpJsonNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    protected HttpJsonNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNotebookServiceStub, 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-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStubSettings` |
| `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` |   |

### checkInstanceUpgradabilityCallable()

    public UnaryCallable<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse> checkInstanceUpgradabilityCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.CheckInstanceUpgradabilityRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.CheckInstanceUpgradabilityResponse>` |   |

**Overrides** [NotebookServiceStub.checkInstanceUpgradabilityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_checkInstanceUpgradabilityCallable__)

### close()

    public final void close()

**Overrides** [NotebookServiceStub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_close__)

### createInstanceCallable()

    public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.CreateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.createInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_createInstanceCallable__)

### createInstanceOperationCallable()

    public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.CreateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.createInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_createInstanceOperationCallable__)

### deleteInstanceCallable()

    public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.DeleteInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.deleteInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_deleteInstanceCallable__)

### deleteInstanceOperationCallable()

    public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.DeleteInstanceRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.deleteInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_deleteInstanceOperationCallable__)

### diagnoseInstanceCallable()

    public UnaryCallable<DiagnoseInstanceRequest,Operation> diagnoseInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.DiagnoseInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.diagnoseInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_diagnoseInstanceCallable__)

### diagnoseInstanceOperationCallable()

    public OperationCallable<DiagnoseInstanceRequest,Instance,OperationMetadata> diagnoseInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.DiagnoseInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.diagnoseInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_diagnoseInstanceOperationCallable__)

### getHttpJsonOperationsStub()

    public HttpJsonOperationsStub getHttpJsonOperationsStub()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub.html` |   |

**Overrides** [NotebookServiceStub.getHttpJsonOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getHttpJsonOperationsStub__)

### getIamPolicyCallable()

    public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()

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

**Overrides** [NotebookServiceStub.getIamPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getIamPolicyCallable__)

### getInstanceCallable()

    public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.GetInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance>` |   |

**Overrides** [NotebookServiceStub.getInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getInstanceCallable__)

### getLocationCallable()

    public UnaryCallable<GetLocationRequest,Location> getLocationCallable()

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

**Overrides** [NotebookServiceStub.getLocationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_getLocationCallable__)

### 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` |   |

### listInstancesCallable()

    public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.ListInstancesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.ListInstancesResponse>` |   |

**Overrides** [NotebookServiceStub.listInstancesCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listInstancesCallable__)

### listInstancesPagedCallable()

    public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.ListInstancesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.NotebookServiceClient.ListInstancesPagedResponse>` |   |

**Overrides** [NotebookServiceStub.listInstancesPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listInstancesPagedCallable__)

### listLocationsCallable()

    public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()

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

**Overrides** [NotebookServiceStub.listLocationsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listLocationsCallable__)

### listLocationsPagedCallable()

    public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<com.google.cloud.location.ListLocationsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.NotebookServiceClient.ListLocationsPagedResponse>` |   |

**Overrides** [NotebookServiceStub.listLocationsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_listLocationsPagedCallable__)

### resetInstanceCallable()

    public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.ResetInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.resetInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_resetInstanceCallable__)

### resetInstanceOperationCallable()

    public OperationCallable<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.ResetInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.resetInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_resetInstanceOperationCallable__)

### rollbackInstanceCallable()

    public UnaryCallable<RollbackInstanceRequest,Operation> rollbackInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.RollbackInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.rollbackInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_rollbackInstanceCallable__)

### rollbackInstanceOperationCallable()

    public OperationCallable<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.RollbackInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.rollbackInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_rollbackInstanceOperationCallable__)

### setIamPolicyCallable()

    public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()

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

**Overrides** [NotebookServiceStub.setIamPolicyCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_setIamPolicyCallable__)

### shutdown()

    public void shutdown()

### shutdownNow()

    public void shutdownNow()

### startInstanceCallable()

    public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.StartInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.startInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_startInstanceCallable__)

### startInstanceOperationCallable()

    public OperationCallable<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.StartInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.startInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_startInstanceOperationCallable__)

### stopInstanceCallable()

    public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.StopInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.stopInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_stopInstanceCallable__)

### stopInstanceOperationCallable()

    public OperationCallable<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.StopInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.stopInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_stopInstanceOperationCallable__)

### testIamPermissionsCallable()

    public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()

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

**Overrides** [NotebookServiceStub.testIamPermissionsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_testIamPermissionsCallable__)

### updateInstanceCallable()

    public UnaryCallable<UpdateInstanceRequest,Operation> updateInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.UpdateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.updateInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_updateInstanceCallable__)

### updateInstanceOperationCallable()

    public OperationCallable<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.UpdateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.updateInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_updateInstanceOperationCallable__)

### upgradeInstanceCallable()

    public UnaryCallable<UpgradeInstanceRequest,Operation> upgradeInstanceCallable()

| **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-notebooks/latest/com.google.cloud.notebooks.v2.UpgradeInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [NotebookServiceStub.upgradeInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_upgradeInstanceCallable__)

### upgradeInstanceOperationCallable()

    public OperationCallable<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationCallable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.OperationCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.UpgradeInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.OperationMetadata>` |   |

**Overrides** [NotebookServiceStub.upgradeInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/com.google.cloud.notebooks.v2.stub.NotebookServiceStub#com_google_cloud_notebooks_v2_stub_NotebookServiceStub_upgradeInstanceOperationCallable__)