public static enum Snapshot.State extends Enum<Snapshot.State> implements com.google.protobuf.ProtocolMessageEnum
The Snapshot StatesProtobuf enum
google.cloud.netapp.v1.Snapshot.State| Enum Constant and Description |
|---|
CREATING
Snapshot State is Creating
|
DELETING
Snapshot State is Deleting
|
DISABLED
Snapshot State is Disabled
|
ERROR
Snapshot State is Error
|
READY
Snapshot State is Ready
|
STATE_UNSPECIFIED
Unspecified Snapshot State
|
UNRECOGNIZED |
UPDATING
Snapshot State is Updating
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Snapshot State is Creating
|
static int |
DELETING_VALUE
Snapshot State is Deleting
|
static int |
DISABLED_VALUE
Snapshot State is Disabled
|
static int |
ERROR_VALUE
Snapshot State is Error
|
static int |
READY_VALUE
Snapshot State is Ready
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified Snapshot State
|
static int |
UPDATING_VALUE
Snapshot State is Updating
|
| Modifier and Type | Method and Description |
|---|---|
static Snapshot.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<Snapshot.State> |
internalGetValueMap() |
static Snapshot.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Snapshot.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Snapshot.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.State STATE_UNSPECIFIED
Unspecified Snapshot State
STATE_UNSPECIFIED = 0;public static final Snapshot.State READY
Snapshot State is Ready
READY = 1;public static final Snapshot.State CREATING
Snapshot State is Creating
CREATING = 2;public static final Snapshot.State DELETING
Snapshot State is Deleting
DELETING = 3;public static final Snapshot.State UPDATING
Snapshot State is Updating
UPDATING = 4;public static final Snapshot.State DISABLED
Snapshot State is Disabled
DISABLED = 5;public static final Snapshot.State ERROR
Snapshot State is Error
ERROR = 6;public static final Snapshot.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified Snapshot State
STATE_UNSPECIFIED = 0;public static final int READY_VALUE
Snapshot State is Ready
READY = 1;public static final int CREATING_VALUE
Snapshot State is Creating
CREATING = 2;public static final int DELETING_VALUE
Snapshot State is Deleting
DELETING = 3;public static final int UPDATING_VALUE
Snapshot State is Updating
UPDATING = 4;public static final int DISABLED_VALUE
Snapshot State is Disabled
DISABLED = 5;public static final int ERROR_VALUE
Snapshot State is Error
ERROR = 6;public static Snapshot.State[] values()
for (Snapshot.State c : Snapshot.State.values()) System.out.println(c);
public static Snapshot.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 Snapshot.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Snapshot.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Snapshot.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 Snapshot.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.