public static enum DatabaseInfo.State extends Enum<DatabaseInfo.State>
Enum Constant and Description |
---|
CREATING |
READY |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static DatabaseInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseInfo.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseInfo.State UNSPECIFIED
public static final DatabaseInfo.State CREATING
public static final DatabaseInfo.State READY
public static DatabaseInfo.State[] values()
for (DatabaseInfo.State c : DatabaseInfo.State.values()) System.out.println(c);
public static DatabaseInfo.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 nullCopyright © 2019 Google LLC. All rights reserved.