# Class HttpJsonMemorystoreStub (0.39.0)

0.39.0 (latest) 0.37.0 0.34.0 0.33.0 0.31.0 0.29.0 0.28.0 0.26.0 0.24.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.10.0 0.9.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

    public class HttpJsonMemorystoreStub extends MemorystoreStub

REST stub implementation for the Memorystore 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) \> [MemorystoreStub](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub) \> HttpJsonMemorystoreStub

## Inherited Members

[MemorystoreStub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_close__) [MemorystoreStub.createInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_createInstanceCallable__) [MemorystoreStub.createInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_createInstanceOperationCallable__) [MemorystoreStub.deleteInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_deleteInstanceCallable__) [MemorystoreStub.deleteInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_deleteInstanceOperationCallable__) [MemorystoreStub.getCertificateAuthorityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getCertificateAuthorityCallable__) [MemorystoreStub.getHttpJsonOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getHttpJsonOperationsStub__) [MemorystoreStub.getInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getInstanceCallable__) [MemorystoreStub.getLocationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getLocationCallable__) [MemorystoreStub.getOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getOperationsStub__) [MemorystoreStub.getSharedRegionalCertificateAuthorityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getSharedRegionalCertificateAuthorityCallable__) [MemorystoreStub.listInstancesCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listInstancesCallable__) [MemorystoreStub.listInstancesPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listInstancesPagedCallable__) [MemorystoreStub.listLocationsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listLocationsCallable__) [MemorystoreStub.listLocationsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listLocationsPagedCallable__) [MemorystoreStub.updateInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_updateInstanceCallable__) [MemorystoreStub.updateInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_updateInstanceOperationCallable__) [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 HttpJsonMemorystoreStub 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-valkey/latest/com.google.cloud.memorystore.v1beta.stub.HttpJsonMemorystoreStub` |   |

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

### create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    public static final HttpJsonMemorystoreStub 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-valkey/latest/com.google.cloud.memorystore.v1beta.stub.HttpJsonMemorystoreStub` |   |

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

### create(MemorystoreStubSettings settings)

    public static final HttpJsonMemorystoreStub create(MemorystoreStubSettings settings)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStubSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.HttpJsonMemorystoreStub` |   |

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

### HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext)

    protected HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonMemorystoreStub, 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-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStubSettings` |
| `clientContext` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.ClientContext.html` |

### HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

    protected HttpJsonMemorystoreStub(MemorystoreStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonMemorystoreStub, 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-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStubSettings` |
| `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** [MemorystoreStub.close()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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-valkey/latest/com.google.cloud.memorystore.v1beta.CreateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [MemorystoreStub.createInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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-valkey/latest/com.google.cloud.memorystore.v1beta.CreateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.OperationMetadata>` |   |

**Overrides** [MemorystoreStub.createInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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-valkey/latest/com.google.cloud.memorystore.v1beta.DeleteInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [MemorystoreStub.deleteInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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-valkey/latest/com.google.cloud.memorystore.v1beta.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-valkey/latest/com.google.cloud.memorystore.v1beta.OperationMetadata>` |   |

**Overrides** [MemorystoreStub.deleteInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_deleteInstanceOperationCallable__)

### getCertificateAuthorityCallable()

    public UnaryCallable<GetCertificateAuthorityRequest,CertificateAuthority> getCertificateAuthorityCallable()

| **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-valkey/latest/com.google.cloud.memorystore.v1beta.GetCertificateAuthorityRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.CertificateAuthority>` |   |

**Overrides** [MemorystoreStub.getCertificateAuthorityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getCertificateAuthorityCallable__)

### 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** [MemorystoreStub.getHttpJsonOperationsStub()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getHttpJsonOperationsStub__)

### 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-valkey/latest/com.google.cloud.memorystore.v1beta.GetInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.Instance>` |   |

**Overrides** [MemorystoreStub.getInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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** [MemorystoreStub.getLocationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getLocationCallable__)

### getSharedRegionalCertificateAuthorityCallable()

    public UnaryCallable<GetSharedRegionalCertificateAuthorityRequest,SharedRegionalCertificateAuthority> getSharedRegionalCertificateAuthorityCallable()

| **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-valkey/latest/com.google.cloud.memorystore.v1beta.GetSharedRegionalCertificateAuthorityRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.SharedRegionalCertificateAuthority>` |   |

**Overrides** [MemorystoreStub.getSharedRegionalCertificateAuthorityCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_getSharedRegionalCertificateAuthorityCallable__)

### 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-valkey/latest/com.google.cloud.memorystore.v1beta.ListInstancesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.ListInstancesResponse>` |   |

**Overrides** [MemorystoreStub.listInstancesCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listInstancesCallable__)

### listInstancesPagedCallable()

    public UnaryCallable<ListInstancesRequest,MemorystoreClient.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-valkey/latest/com.google.cloud.memorystore.v1beta.ListInstancesRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.MemorystoreClient.ListInstancesPagedResponse>` |   |

**Overrides** [MemorystoreStub.listInstancesPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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** [MemorystoreStub.listLocationsCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listLocationsCallable__)

### listLocationsPagedCallable()

    public UnaryCallable<ListLocationsRequest,MemorystoreClient.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-valkey/latest/com.google.cloud.memorystore.v1beta.MemorystoreClient.ListLocationsPagedResponse>` |   |

**Overrides** [MemorystoreStub.listLocationsPagedCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_listLocationsPagedCallable__)

### shutdown()

    public void shutdown()

### shutdownNow()

    public void shutdownNow()

### 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-valkey/latest/com.google.cloud.memorystore.v1beta.UpdateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.longrunning.Operation.html>` |   |

**Overrides** [MemorystoreStub.updateInstanceCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_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-valkey/latest/com.google.cloud.memorystore.v1beta.UpdateInstanceRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.Instance,https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.OperationMetadata>` |   |

**Overrides** [MemorystoreStub.updateInstanceOperationCallable()](https://docs.cloud.google.com/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1beta.stub.MemorystoreStub#com_google_cloud_memorystore_v1beta_stub_MemorystoreStub_updateInstanceOperationCallable__)