Enum Database.PointInTimeRecoveryEnablement

java.lang.Object
java.lang.Enum<Database.PointInTimeRecoveryEnablement>
com.google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Database.PointInTimeRecoveryEnablement>
Enclosing class:
Database

public static enum Database.PointInTimeRecoveryEnablement extends Enum<Database.PointInTimeRecoveryEnablement> implements com.google.protobuf.ProtocolMessageEnum
 Point In Time Recovery feature enablement.
 
Protobuf enum google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement
  • Enum Constant Details

    • POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED

      public static final Database.PointInTimeRecoveryEnablement POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED
       Not used.
       
      POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED = 0;
    • POINT_IN_TIME_RECOVERY_ENABLED

      public static final Database.PointInTimeRecoveryEnablement 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_DISABLED

      public static final Database.PointInTimeRecoveryEnablement 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;
    • UNRECOGNIZED

      public static final Database.PointInTimeRecoveryEnablement UNRECOGNIZED
  • Field Details

    • POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED_VALUE

      public static final int POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED_VALUE
       Not used.
       
      POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED = 0;
      See Also:
    • POINT_IN_TIME_RECOVERY_ENABLED_VALUE

      public static final int 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;
      See Also:
    • POINT_IN_TIME_RECOVERY_DISABLED_VALUE

      public static final int 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;
      See Also:
  • Method Details

    • values

      public static Database.PointInTimeRecoveryEnablement[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Database.PointInTimeRecoveryEnablement valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Database.PointInTimeRecoveryEnablement valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Database.PointInTimeRecoveryEnablement forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Database.PointInTimeRecoveryEnablement> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Database.PointInTimeRecoveryEnablement valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null