public static enum Instance.SuspensionReason extends Enum<Instance.SuspensionReason> implements com.google.protobuf.ProtocolMessageEnum
Possible reasons for the instance to be in a "SUSPENDED" state.Protobuf enum
google.cloud.redis.v1.Instance.SuspensionReason| Enum Constant and Description |
|---|
CUSTOMER_MANAGED_KEY_ISSUE
Something wrong with the CMEK key provided by customer.
|
SUSPENSION_REASON_UNSPECIFIED
Not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOMER_MANAGED_KEY_ISSUE_VALUE
Something wrong with the CMEK key provided by customer.
|
static int |
SUSPENSION_REASON_UNSPECIFIED_VALUE
Not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.SuspensionReason |
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.SuspensionReason> |
internalGetValueMap() |
static Instance.SuspensionReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.SuspensionReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.SuspensionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.SuspensionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.SuspensionReason SUSPENSION_REASON_UNSPECIFIED
Not set.
SUSPENSION_REASON_UNSPECIFIED = 0;public static final Instance.SuspensionReason CUSTOMER_MANAGED_KEY_ISSUE
Something wrong with the CMEK key provided by customer.
CUSTOMER_MANAGED_KEY_ISSUE = 1;public static final Instance.SuspensionReason UNRECOGNIZED
public static final int SUSPENSION_REASON_UNSPECIFIED_VALUE
Not set.
SUSPENSION_REASON_UNSPECIFIED = 0;public static final int CUSTOMER_MANAGED_KEY_ISSUE_VALUE
Something wrong with the CMEK key provided by customer.
CUSTOMER_MANAGED_KEY_ISSUE = 1;public static Instance.SuspensionReason[] values()
for (Instance.SuspensionReason c : Instance.SuspensionReason.values()) System.out.println(c);
public static Instance.SuspensionReason 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.SuspensionReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.SuspensionReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.SuspensionReason> 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.SuspensionReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.