public static enum Instance.InstanceMessage.Code extends Enum<Instance.InstanceMessage.Code> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.memcache.v1.Instance.InstanceMessage.Code| Enum Constant and Description |
|---|
CODE_UNSPECIFIED
Message Code not set.
|
UNRECOGNIZED |
ZONE_DISTRIBUTION_UNBALANCED
Memcached nodes are distributed unevenly.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_UNSPECIFIED_VALUE
Message Code not set.
|
static int |
ZONE_DISTRIBUTION_UNBALANCED_VALUE
Memcached nodes are distributed unevenly.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.InstanceMessage.Code |
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.InstanceMessage.Code> |
internalGetValueMap() |
static Instance.InstanceMessage.Code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.InstanceMessage.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.InstanceMessage.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.InstanceMessage.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.InstanceMessage.Code CODE_UNSPECIFIED
Message Code not set.
CODE_UNSPECIFIED = 0;public static final Instance.InstanceMessage.Code ZONE_DISTRIBUTION_UNBALANCED
Memcached nodes are distributed unevenly.
ZONE_DISTRIBUTION_UNBALANCED = 1;public static final Instance.InstanceMessage.Code UNRECOGNIZED
public static final int CODE_UNSPECIFIED_VALUE
Message Code not set.
CODE_UNSPECIFIED = 0;public static final int ZONE_DISTRIBUTION_UNBALANCED_VALUE
Memcached nodes are distributed unevenly.
ZONE_DISTRIBUTION_UNBALANCED = 1;public static Instance.InstanceMessage.Code[] values()
for (Instance.InstanceMessage.Code c : Instance.InstanceMessage.Code.values()) System.out.println(c);
public static Instance.InstanceMessage.Code 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.InstanceMessage.Code valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.InstanceMessage.Code forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.InstanceMessage.Code> 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.InstanceMessage.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.