Enum Instance.State (2.81.0)

publicenumInstance.StateextendsEnum<Instance.State>implementsProtocolMessageEnum

Represents the different states of a Redis instance.

Protobuf enum google.cloud.redis.v1beta1.Instance.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CREATING

Redis instance is being created.

CREATING = 1;

CREATING_VALUE

Redis instance is being created.

CREATING = 1;

DELETING

Redis instance is being deleted.

DELETING = 4;

DELETING_VALUE

Redis instance is being deleted.

DELETING = 4;

FAILING_OVER

Redis instance is failing over (availability may be affected).

FAILING_OVER = 10;

FAILING_OVER_VALUE

Redis instance is failing over (availability may be affected).

FAILING_OVER = 10;

IMPORTING

Redis instance is importing data (availability may be affected).

IMPORTING = 8;

IMPORTING_VALUE

Redis instance is importing data (availability may be affected).

IMPORTING = 8;

MAINTENANCE

Maintenance is being performed on this Redis instance.

MAINTENANCE = 6;

MAINTENANCE_VALUE

Maintenance is being performed on this Redis instance.

MAINTENANCE = 6;

READY

Redis instance has been created and is fully usable.

READY = 2;

READY_VALUE

Redis instance has been created and is fully usable.

READY = 2;

REPAIRING

Redis instance is being repaired and may be unusable.

REPAIRING = 5;

REPAIRING_VALUE

Redis instance is being repaired and may be unusable.

REPAIRING = 5;

STATE_UNSPECIFIED

Not set.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Not set.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED
UPDATING

Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress.

UPDATING = 3;

UPDATING_VALUE

Redis instance configuration is being updated. Certain kinds of updates may cause the instance to become unusable while the update is in progress.

UPDATING = 3;

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.