Enum Instance.State (0.31.0)

public enum Instance.State extends Enum<Instance.State> implements ProtocolMessageEnum

Instance State

Protobuf enum google.cloud.alloydb.v1beta.Instance.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
BOOTSTRAPPING

Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that index unused in case that state also needs to exposed via consumer apis in future. The instance has been configured to sync data from some other source.

BOOTSTRAPPING = 8;

BOOTSTRAPPING_VALUE

Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that index unused in case that state also needs to exposed via consumer apis in future. The instance has been configured to sync data from some other source.

BOOTSTRAPPING = 8;

CREATING

The instance is being created.

CREATING = 3;

CREATING_VALUE

The instance is being created.

CREATING = 3;

DELETING

The instance is being deleted.

DELETING = 4;

DELETING_VALUE

The instance is being deleted.

DELETING = 4;

FAILED

The creation of the instance failed or a fatal error occurred during an operation on the instance. Note: Instances in this state would tried to be auto-repaired. And Customers should be able to restart, update or delete these instances.

FAILED = 6;

FAILED_VALUE

The creation of the instance failed or a fatal error occurred during an operation on the instance. Note: Instances in this state would tried to be auto-repaired. And Customers should be able to restart, update or delete these instances.

FAILED = 6;

MAINTENANCE

The instance is down for maintenance.

MAINTENANCE = 5;

MAINTENANCE_VALUE

The instance is down for maintenance.

MAINTENANCE = 5;

PROMOTING

The instance is being promoted.

PROMOTING = 9;

PROMOTING_VALUE

The instance is being promoted.

PROMOTING = 9;

READY

The instance is active and running.

READY = 1;

READY_VALUE

The instance is active and running.

READY = 1;

STATE_UNSPECIFIED

The state of the instance is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The state of the instance is unknown.

STATE_UNSPECIFIED = 0;

STOPPED

The instance is stopped. Instance name and IP resources are preserved.

STOPPED = 2;

STOPPED_VALUE

The instance is stopped. Instance name and IP resources are preserved.

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