Package com.google.cloud.netapp.v1
Enum Volume.State
- java.lang.Object
-
- java.lang.Enum<Volume.State>
-
- com.google.cloud.netapp.v1.Volume.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Volume.State>
- Enclosing class:
- Volume
public static enum Volume.State extends Enum<Volume.State> implements com.google.protobuf.ProtocolMessageEnum
The volume states
Protobuf enumgoogle.cloud.netapp.v1.Volume.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATING
Volume State is CreatingDELETING
Volume State is DeletingDISABLED
Volume State is DisabledERROR
Volume State is ErrorREADY
Volume State is ReadyRESTORING
Volume State is RestoringSTATE_UNSPECIFIED
Unspecified Volume StateUNRECOGNIZED
UPDATING
Volume State is Updating
-
Field Summary
Fields Modifier and Type Field Description static int
CREATING_VALUE
Volume State is Creatingstatic int
DELETING_VALUE
Volume State is Deletingstatic int
DISABLED_VALUE
Volume State is Disabledstatic int
ERROR_VALUE
Volume State is Errorstatic int
READY_VALUE
Volume State is Readystatic int
RESTORING_VALUE
Volume State is Restoringstatic int
STATE_UNSPECIFIED_VALUE
Unspecified Volume Statestatic int
UPDATING_VALUE
Volume State is Updating
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Volume.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<Volume.State>
internalGetValueMap()
static Volume.State
valueOf(int value)
Deprecated.static Volume.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Volume.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Volume.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final Volume.State STATE_UNSPECIFIED
Unspecified Volume State
STATE_UNSPECIFIED = 0;
-
READY
public static final Volume.State READY
Volume State is Ready
READY = 1;
-
CREATING
public static final Volume.State CREATING
Volume State is Creating
CREATING = 2;
-
DELETING
public static final Volume.State DELETING
Volume State is Deleting
DELETING = 3;
-
UPDATING
public static final Volume.State UPDATING
Volume State is Updating
UPDATING = 4;
-
RESTORING
public static final Volume.State RESTORING
Volume State is Restoring
RESTORING = 5;
-
DISABLED
public static final Volume.State DISABLED
Volume State is Disabled
DISABLED = 6;
-
ERROR
public static final Volume.State ERROR
Volume State is Error
ERROR = 7;
-
UNRECOGNIZED
public static final Volume.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
Unspecified Volume State
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
READY_VALUE
public static final int READY_VALUE
Volume State is Ready
READY = 1;
- See Also:
- Constant Field Values
-
CREATING_VALUE
public static final int CREATING_VALUE
Volume State is Creating
CREATING = 2;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
Volume State is Deleting
DELETING = 3;
- See Also:
- Constant Field Values
-
UPDATING_VALUE
public static final int UPDATING_VALUE
Volume State is Updating
UPDATING = 4;
- See Also:
- Constant Field Values
-
RESTORING_VALUE
public static final int RESTORING_VALUE
Volume State is Restoring
RESTORING = 5;
- See Also:
- Constant Field Values
-
DISABLED_VALUE
public static final int DISABLED_VALUE
Volume State is Disabled
DISABLED = 6;
- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
Volume State is Error
ERROR = 7;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Volume.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Volume.State c : Volume.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Volume.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Volume.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Volume.State forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Volume.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Volume.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-