public static enum Instance.State extends Enum<Instance.State>
Enum Constant and Description |
---|
CREATING
The instance is currently being created, and may be destroyed if the creation process
encounters an error.
|
NOT_KNOWN
The state of the instance could not be determined by the server.
|
READY
The instance has been successfully created and can serve requests to its tables.
|
UNRECOGNIZED
The state of instance is not known by this client.
|
Modifier and Type | Method and Description |
---|---|
static Instance.State |
fromProto(Instance.State proto)
Wraps the protobuf.
|
Instance.State |
toProto()
Creates the request protobuf.
|
static Instance.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.State NOT_KNOWN
public static final Instance.State READY
public static final Instance.State CREATING
public static final Instance.State UNRECOGNIZED
public static Instance.State[] values()
for (Instance.State c : Instance.State.values()) System.out.println(c);
public static Instance.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 Instance.State fromProto(Instance.State proto)
@InternalApi public Instance.State toProto()
Copyright © 2019 Google LLC. All rights reserved.