Enum DatabaseInstance.SqlInstanceState (0.1.0)

public enum DatabaseInstance.SqlInstanceState extends Enum<DatabaseInstance.SqlInstanceState> implements ProtocolMessageEnum

The current serving state of the database instance.

Protobuf enum google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAILED

The creation of the instance failed or a fatal error occurred during maintenance.

FAILED = 6;

FAILED_VALUE

The creation of the instance failed or a fatal error occurred during maintenance.

FAILED = 6;

MAINTENANCE

The instance is down for maintenance.

MAINTENANCE = 5;

MAINTENANCE_VALUE

The instance is down for maintenance.

MAINTENANCE = 5;

ONLINE_MAINTENANCE

Deprecated

ONLINE_MAINTENANCE = 7 [deprecated = true];

ONLINE_MAINTENANCE_VALUE

Deprecated

ONLINE_MAINTENANCE = 7 [deprecated = true];

PENDING_CREATE

The instance is being created.

PENDING_CREATE = 4;

PENDING_CREATE_VALUE

The instance is being created.

PENDING_CREATE = 4;

PENDING_DELETE

The instance is being deleted.

PENDING_DELETE = 3;

PENDING_DELETE_VALUE

The instance is being deleted.

PENDING_DELETE = 3;

REPAIRING

(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable.

REPAIRING = 8;

REPAIRING_VALUE

(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable.

REPAIRING = 8;

RUNNABLE

The instance is running, or has been stopped by owner.

RUNNABLE = 1;

RUNNABLE_VALUE

The instance is running, or has been stopped by owner.

RUNNABLE = 1;

SQL_INSTANCE_STATE_UNSPECIFIED

The state of the instance is unknown.

SQL_INSTANCE_STATE_UNSPECIFIED = 0;

SQL_INSTANCE_STATE_UNSPECIFIED_VALUE

The state of the instance is unknown.

SQL_INSTANCE_STATE_UNSPECIFIED = 0;

SUSPENDED

The instance is not available, for example due to problems with billing.

SUSPENDED = 2;

SUSPENDED_VALUE

The instance is not available, for example due to problems with billing.

SUSPENDED = 2;

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()