# Class AppOptimizeStub (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 abstract class AppOptimizeStub implements BackgroundResource

Base stub class for the AppOptimize 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) \> AppOptimizeStub

## Implements

[BackgroundResource](https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.core.BackgroundResource.html)

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

### AppOptimizeStub()

    public AppOptimizeStub()

## Methods

### close()

    public abstract void close()

### createReportCallable()

    public UnaryCallable<CreateReportRequest,Operation> createReportCallable()

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

### createReportOperationCallable()

    public OperationCallable<CreateReportRequest,Report,OperationMetadata> createReportOperationCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.CreateReportRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.Report,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.OperationMetadata>` |   |

### deleteReportCallable()

    public UnaryCallable<DeleteReportRequest,Empty> deleteReportCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.DeleteReportRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getHttpJsonOperationsStub()

    public OperationsStub getHttpJsonOperationsStub()

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

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

### getOperationsStub()

    public OperationsStub getOperationsStub()

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

### getReportCallable()

    public UnaryCallable<GetReportRequest,Report> getReportCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.GetReportRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.Report>` |   |

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

### listLocationsPagedCallable()

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

### listReportsCallable()

    public UnaryCallable<ListReportsRequest,ListReportsResponse> listReportsCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ListReportsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ListReportsResponse>` |   |

### listReportsPagedCallable()

    public UnaryCallable<ListReportsRequest,AppOptimizeClient.ListReportsPagedResponse> listReportsPagedCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ListReportsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.AppOptimizeClient.ListReportsPagedResponse>` |   |

### readReportCallable()

    public UnaryCallable<ReadReportRequest,ReadReportResponse> readReportCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ReadReportRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ReadReportResponse>` |   |

### readReportPagedCallable()

    public UnaryCallable<ReadReportRequest,AppOptimizeClient.ReadReportPagedResponse> readReportPagedCallable()

| **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-appoptimize/latest/com.google.cloud.appoptimize.v1beta.ReadReportRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/com.google.cloud.appoptimize.v1beta.AppOptimizeClient.ReadReportPagedResponse>` |   |