public static enum Instance.Node.State extends Enum<Instance.Node.State> implements com.google.protobuf.ProtocolMessageEnum
Different states of a Memcached node.Protobuf enum
google.cloud.memcache.v1beta2.Instance.Node.State| Enum Constant and Description |
|---|
CREATING
Node is being created.
|
DELETING
Node is being deleted.
|
READY
Node has been created and ready to be used.
|
STATE_UNSPECIFIED
Node state is not set.
|
UNRECOGNIZED |
UPDATING
Node is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Node is being created.
|
static int |
DELETING_VALUE
Node is being deleted.
|
static int |
READY_VALUE
Node has been created and ready to be used.
|
static int |
STATE_UNSPECIFIED_VALUE
Node state is not set.
|
static int |
UPDATING_VALUE
Node is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.Node.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.Node.State> |
internalGetValueMap() |
static Instance.Node.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.Node.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.Node.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Node.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Node.State STATE_UNSPECIFIED
Node state is not set.
STATE_UNSPECIFIED = 0;public static final Instance.Node.State CREATING
Node is being created.
CREATING = 1;public static final Instance.Node.State READY
Node has been created and ready to be used.
READY = 2;public static final Instance.Node.State DELETING
Node is being deleted.
DELETING = 3;public static final Instance.Node.State UPDATING
Node is being updated.
UPDATING = 4;public static final Instance.Node.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Node state is not set.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
Node is being created.
CREATING = 1;public static final int READY_VALUE
Node has been created and ready to be used.
READY = 2;public static final int DELETING_VALUE
Node is being deleted.
DELETING = 3;public static final int UPDATING_VALUE
Node is being updated.
UPDATING = 4;public static Instance.Node.State[] values()
for (Instance.Node.State c : Instance.Node.State.values()) System.out.println(c);
public static Instance.Node.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.Node.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.Node.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.Node.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.Node.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.