# Enum Database.PointInTimeRecoveryEnablement (3.43.1)

3.43.1 (latest) 3.41.0 3.38.0 3.37.0 3.36.0 3.35.1 3.33.4 3.32.2 3.31.9 3.30.11 3.28.0 3.27.2 3.26.5 3.25.1 3.24.3 3.22.0 3.21.4 3.20.0 3.17.0 3.16.3 3.15.7 3.14.4 3.13.2 3.12.1 3.11.0 3.10.0 3.9.6 3.8.2 3.7.10 3.6.0 3.5.0 3.4.2 3.3.0 3.2.0 3.1.0 3.0.21

    public enum Database.PointInTimeRecoveryEnablement extends Enum<Database.PointInTimeRecoveryEnablement> implements ProtocolMessageEnum

Point In Time Recovery feature enablement.

Protobuf enum `google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [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.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 Fields ||
|---|---|
| **Name** | **Description** |
| `POINT_IN_TIME_RECOVERY_DISABLED` | Reads are supported on any version of the data from within the past 1 hour. `POINT_IN_TIME_RECOVERY_DISABLED = 2;` |
| `POINT_IN_TIME_RECOVERY_DISABLED_VALUE` | Reads are supported on any version of the data from within the past 1 hour. `POINT_IN_TIME_RECOVERY_DISABLED = 2;` |
| `POINT_IN_TIME_RECOVERY_ENABLED` | Reads are supported on selected versions of the data from within the past 7 days: - Reads against any timestamp within the past hour - Reads against 1-minute snapshots beyond 1 hour and within 7 days `version_retention_period` and `earliest_version_time` can be used to determine the supported versions. `POINT_IN_TIME_RECOVERY_ENABLED = 1;` |
| `POINT_IN_TIME_RECOVERY_ENABLED_VALUE` | Reads are supported on selected versions of the data from within the past 7 days: - Reads against any timestamp within the past hour - Reads against 1-minute snapshots beyond 1 hour and within 7 days `version_retention_period` and `earliest_version_time` can be used to determine the supported versions. `POINT_IN_TIME_RECOVERY_ENABLED = 1;` |
| `POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED` | Not used. `POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED = 0;` |
| `POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED_VALUE` | Not used. `POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED = 0;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-firestore/latest/com.google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement#com_google_firestore_admin_v1_Database_PointInTimeRecoveryEnablement_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |