public static enum Instance.Tier extends Enum<Instance.Tier> implements com.google.protobuf.ProtocolMessageEnum
Available service tiers to choose fromProtobuf enum
google.cloud.redis.v1.Instance.Tier| Enum Constant and Description |
|---|
BASIC
BASIC tier: standalone instance
|
STANDARD_HA
STANDARD_HA tier: highly available primary/replica instances
|
TIER_UNSPECIFIED
Not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
BASIC tier: standalone instance
|
static int |
STANDARD_HA_VALUE
STANDARD_HA tier: highly available primary/replica instances
|
static int |
TIER_UNSPECIFIED_VALUE
Not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.Tier |
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.Tier> |
internalGetValueMap() |
static Instance.Tier |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.Tier |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.Tier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Tier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Tier TIER_UNSPECIFIED
Not set.
TIER_UNSPECIFIED = 0;public static final Instance.Tier BASIC
BASIC tier: standalone instance
BASIC = 1;public static final Instance.Tier STANDARD_HA
STANDARD_HA tier: highly available primary/replica instances
STANDARD_HA = 3;public static final Instance.Tier UNRECOGNIZED
public static final int TIER_UNSPECIFIED_VALUE
Not set.
TIER_UNSPECIFIED = 0;public static final int BASIC_VALUE
BASIC tier: standalone instance
BASIC = 1;public static final int STANDARD_HA_VALUE
STANDARD_HA tier: highly available primary/replica instances
STANDARD_HA = 3;public static Instance.Tier[] values()
for (Instance.Tier c : Instance.Tier.values()) System.out.println(c);
public static Instance.Tier 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.Tier valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.Tier forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.Tier> 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.Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.