# Package com.google.cloud.datastore.v1.stub (3.1.0)

3.1.0 (latest) 2.40.0 2.37.0 2.36.0 2.34.0 2.33.3 2.32.3 2.31.4 2.30.0 2.29.1 2.28.2 2.27.1 2.26.4 2.25.2 2.24.3 2.23.0 2.22.0 2.21.3 2.20.2 2.19.2 2.18.5 2.17.6

|---|
| [GitHub Repository](https://github.com/googleapis/google-cloud-java/tree/main/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub) |

## This package is not the recommended entry point to using this client library!

For this library, we recommend using [com.google.cloud.datastore](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore) for new applications.

## Stub Package Implications

This package is a a base stub class. It is for advanced usage and reflects the underlying API directly.
We generally recommend using the non-stub, latest GA package, such as [com.google.cloud.datastore](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore). Use with caution.

## Stub Classes

| Stub | Description |
|---|---|
| [com.google.cloud.datastore.v1.stub.DatastoreStub](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.DatastoreStub) | Base stub class for the Datastore service API. This class is for advanced usage and reflects the underlying API directly. |
| [com.google.cloud.datastore.v1.stub.GrpcDatastoreStub](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.GrpcDatastoreStub) | gRPC stub implementation for the Datastore service API. This class is for advanced usage and reflects the underlying API directly. |
| [com.google.cloud.datastore.v1.stub.HttpJsonDatastoreStub](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.HttpJsonDatastoreStub) | REST stub implementation for the Datastore service API. This class is for advanced usage and reflects the underlying API directly. |

## Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Stub.

| Settings | Description |
|---|---|
| [com.google.cloud.datastore.v1.stub.DatastoreStubSettings](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.DatastoreStubSettings) | Settings class to configure an instance of DatastoreStub. The default instance has everything set to sensible defaults: |

<br />

## Callable Factory Classes

| CallableFactory | Description |
|---|---|
| [com.google.cloud.datastore.v1.stub.GrpcDatastoreCallableFactory](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.GrpcDatastoreCallableFactory) | gRPC callable factory implementation for the Datastore service API. This class is for advanced usage. |
| [com.google.cloud.datastore.v1.stub.HttpJsonDatastoreCallableFactory](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.HttpJsonDatastoreCallableFactory) | REST callable factory implementation for the Datastore service API. This class is for advanced usage. |

## Classes

| Class | Description |
|---|---|
| [com.google.cloud.datastore.v1.stub.DatastoreStubSettings.Builder](https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.v1.stub.DatastoreStubSettings.Builder) | Builder for DatastoreStubSettings. |