public enum Database.State extends Enum<Database.State> implements ProtocolMessageEnum
Indicates the current state of the database.
Protobuf enum google.spanner.admin.database.v1.Database.State
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CREATING | The database is still being created. Operations on the database may fail
with |
CREATING_VALUE | The database is still being created. Operations on the database may fail
with |
READY | The database is fully created and ready for use. |
READY_OPTIMIZING | The database is fully created and ready for use, but is still
being optimized for performance and cannot handle full load.
In this state, the database still references the backup
it was restore from, preventing the backup
from being deleted. When optimizations are complete, the full performance
of the database will be restored, and the database will transition to
|
READY_OPTIMIZING_VALUE | The database is fully created and ready for use, but is still
being optimized for performance and cannot handle full load.
In this state, the database still references the backup
it was restore from, preventing the backup
from being deleted. When optimizations are complete, the full performance
of the database will be restored, and the database will transition to
|
READY_VALUE | The database is fully created and ready for use. |
STATE_UNSPECIFIED | Not specified. |
STATE_UNSPECIFIED_VALUE | Not specified. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |