Enum Backup.State
- java.lang.Object
-
- java.lang.Enum<Backup.State>
-
- com.google.cloud.bigtable.admin.v2.models.Backup.State
-
- All Implemented Interfaces:
Serializable
,Comparable<Backup.State>
- Enclosing class:
- Backup
public static enum Backup.State extends Enum<Backup.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATING
The pending backup is still being created.READY
The backup is complete and ready for use.STATE_UNSPECIFIED
Not specified.UNRECOGNIZED
The state of the backup is not known by this client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Backup.State
fromProto(Backup.State proto)
Wraps the protobuf.Backup.State
toProto()
Creates the request protobuf.static Backup.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Backup.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- 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.
-
-