Enum Backup.State

    • Enum Constant Detail

      • STATE_UNSPECIFIED

        public static final Backup.State STATE_UNSPECIFIED
        Not specified.
      • CREATING

        public static final Backup.State CREATING
        The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.
      • READY

        public static final Backup.State READY
        The backup is complete and ready for use.
      • UNRECOGNIZED

        public static final Backup.State UNRECOGNIZED
        The state of the backup is not known by this client. Please upgrade your client.
    • Method Detail

      • values

        public static Backup.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Backup.State c : Backup.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Backup.State 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
      • fromProto

        @InternalApi
        public static Backup.State fromProto​(Backup.State proto)
        Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
      • toProto

        @InternalApi
        public Backup.State toProto()
        Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.