public static enum Backup.State extends Enum<Backup.State>
| Enum Constant and 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.
|
| Modifier and Type | Method and 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.
|
public static final Backup.State STATE_UNSPECIFIED
public static final Backup.State CREATING
public static final Backup.State READY
public static final Backup.State UNRECOGNIZED
public static Backup.State[] values()
for (Backup.State c : Backup.State.values()) System.out.println(c);
public static Backup.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@InternalApi public static Backup.State fromProto(Backup.State proto)
@InternalApi public Backup.State toProto()
Copyright © 2023 Google LLC. All rights reserved.