Enum Instance.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Instance.State>
- Enclosing class:
- Instance
public static enum Instance.State
extends Enum<Instance.State>
implements com.google.protobuf.ProtocolMessageEnum
The instance state.Protobuf enum
google.cloud.filestore.v1beta1.Instance.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe instance is being created.The instance is shutting down.The instance is experiencing an issue and might be unusable.The replica instance is being promoted.The instance is available for use.Work is being done on the instance.The instance is restoring a snapshot or backup to an existing file share and may be unusable during this time.The instance is in the process of becoming active.The instance is reverting to a snapshot.State not set.The instance is suspended.The instance is in the process of becoming suspended. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe instance is being created.static final intThe instance is shutting down.static final intThe instance is experiencing an issue and might be unusable.static final intThe replica instance is being promoted.static final intThe instance is available for use.static final intWork is being done on the instance.static final intThe instance is restoring a snapshot or backup to an existing file share and may be unusable during this time.static final intThe instance is in the process of becoming active.static final intThe instance is reverting to a snapshot.static final intState not set.static final intThe instance is suspended.static final intThe instance is in the process of becoming suspended. -
Method Summary
Modifier and TypeMethodDescriptionstatic Instance.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Instance.State>static Instance.StatevalueOf(int value) Deprecated.static Instance.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Instance.StateReturns the enum constant of this type with the specified name.static Instance.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
State not set.
STATE_UNSPECIFIED = 0; -
CREATING
The instance is being created.
CREATING = 1; -
READY
The instance is available for use.
READY = 2; -
REPAIRING
Work is being done on the instance. You can get further details from the `statusMessage` field of the `Instance` resource.
REPAIRING = 3; -
DELETING
The instance is shutting down.
DELETING = 4; -
ERROR
The instance is experiencing an issue and might be unusable. You can get further details from the `statusMessage` field of the `Instance` resource.
ERROR = 6; -
RESTORING
The instance is restoring a snapshot or backup to an existing file share and may be unusable during this time.
RESTORING = 7; -
SUSPENDED
The instance is suspended. You can get further details from the `suspension_reasons` field of the `Instance` resource.
SUSPENDED = 8; -
REVERTING
The instance is reverting to a snapshot.
REVERTING = 9; -
SUSPENDING
The instance is in the process of becoming suspended.
SUSPENDING = 10; -
RESUMING
The instance is in the process of becoming active.
RESUMING = 11; -
PROMOTING
The replica instance is being promoted.
PROMOTING = 13; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEState not set.
STATE_UNSPECIFIED = 0;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUEThe instance is being created.
CREATING = 1;- See Also:
-
READY_VALUE
public static final int READY_VALUEThe instance is available for use.
READY = 2;- See Also:
-
REPAIRING_VALUE
public static final int REPAIRING_VALUEWork is being done on the instance. You can get further details from the `statusMessage` field of the `Instance` resource.
REPAIRING = 3;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThe instance is shutting down.
DELETING = 4;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEThe instance is experiencing an issue and might be unusable. You can get further details from the `statusMessage` field of the `Instance` resource.
ERROR = 6;- See Also:
-
RESTORING_VALUE
public static final int RESTORING_VALUEThe instance is restoring a snapshot or backup to an existing file share and may be unusable during this time.
RESTORING = 7;- See Also:
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUEThe instance is suspended. You can get further details from the `suspension_reasons` field of the `Instance` resource.
SUSPENDED = 8;- See Also:
-
REVERTING_VALUE
public static final int REVERTING_VALUEThe instance is reverting to a snapshot.
REVERTING = 9;- See Also:
-
SUSPENDING_VALUE
public static final int SUSPENDING_VALUEThe instance is in the process of becoming suspended.
SUSPENDING = 10;- See Also:
-
RESUMING_VALUE
public static final int RESUMING_VALUEThe instance is in the process of becoming active.
RESUMING = 11;- See Also:
-
PROMOTING_VALUE
public static final int PROMOTING_VALUEThe replica instance is being promoted.
PROMOTING = 13;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-