public static enum Instance.State extends Enum<Instance.State> implements com.google.protobuf.ProtocolMessageEnum
Represents the different states of a Redis instance.Protobuf enum
google.cloud.redis.v1.Instance.State| Enum Constant and Description |
|---|
CREATING
Redis instance is being created.
|
DELETING
Redis instance is being deleted.
|
FAILING_OVER
Redis instance is failing over (availability may be affected).
|
IMPORTING
Redis instance is importing data (availability may be affected).
|
MAINTENANCE
Maintenance is being performed on this Redis instance.
|
READY
Redis instance has been created and is fully usable.
|
REPAIRING
Redis instance is being repaired and may be unusable.
|
STATE_UNSPECIFIED
Not set.
|
UNRECOGNIZED |
UPDATING
Redis instance configuration is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Redis instance is being created.
|
static int |
DELETING_VALUE
Redis instance is being deleted.
|
static int |
FAILING_OVER_VALUE
Redis instance is failing over (availability may be affected).
|
static int |
IMPORTING_VALUE
Redis instance is importing data (availability may be affected).
|
static int |
MAINTENANCE_VALUE
Maintenance is being performed on this Redis instance.
|
static int |
READY_VALUE
Redis instance has been created and is fully usable.
|
static int |
REPAIRING_VALUE
Redis instance is being repaired and may be unusable.
|
static int |
STATE_UNSPECIFIED_VALUE
Not set.
|
static int |
UPDATING_VALUE
Redis instance configuration is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Instance.State> |
internalGetValueMap() |
static Instance.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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 STATE_UNSPECIFIED
Not set.
STATE_UNSPECIFIED = 0;public static final Instance.State CREATING
Redis instance is being created.
CREATING = 1;public static final Instance.State READY
Redis instance has been created and is fully usable.
READY = 2;public static final Instance.State 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;public static final Instance.State DELETING
Redis instance is being deleted.
DELETING = 4;public static final Instance.State REPAIRING
Redis instance is being repaired and may be unusable.
REPAIRING = 5;public static final Instance.State MAINTENANCE
Maintenance is being performed on this Redis instance.
MAINTENANCE = 6;public static final Instance.State IMPORTING
Redis instance is importing data (availability may be affected).
IMPORTING = 8;public static final Instance.State FAILING_OVER
Redis instance is failing over (availability may be affected).
FAILING_OVER = 9;public static final Instance.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Not set.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
Redis instance is being created.
CREATING = 1;public static final int READY_VALUE
Redis instance has been created and is fully usable.
READY = 2;public static final int 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;public static final int DELETING_VALUE
Redis instance is being deleted.
DELETING = 4;public static final int REPAIRING_VALUE
Redis instance is being repaired and may be unusable.
REPAIRING = 5;public static final int MAINTENANCE_VALUE
Maintenance is being performed on this Redis instance.
MAINTENANCE = 6;public static final int IMPORTING_VALUE
Redis instance is importing data (availability may be affected).
IMPORTING = 8;public static final int FAILING_OVER_VALUE
Redis instance is failing over (availability may be affected).
FAILING_OVER = 9;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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Instance.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.