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