Enum ReplicaConfig.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ReplicaConfig.State>
- Enclosing class:
- ReplicaConfig
public static enum ReplicaConfig.State
extends Enum<ReplicaConfig.State>
implements com.google.protobuf.ProtocolMessageEnum
The replica state.Protobuf enum
google.cloud.filestore.v1beta1.ReplicaConfig.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe replica is being created.The replica is experiencing an issue and might be unusable.The replica is ready.The replica is being removed.State not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe replica is being created.static final intThe replica is experiencing an issue and might be unusable.static final intThe replica is ready.static final intThe replica is being removed.static final intState not set. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicaConfig.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<ReplicaConfig.State>static ReplicaConfig.StatevalueOf(int value) Deprecated.static ReplicaConfig.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ReplicaConfig.StateReturns the enum constant of this type with the specified name.static ReplicaConfig.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 replica is being created.
CREATING = 1; -
READY
The replica is ready.
READY = 3; -
REMOVING
The replica is being removed.
REMOVING = 4; -
FAILED
The replica is experiencing an issue and might be unusable. You can get further details from the `stateReasons` field of the `ReplicaConfig` object.
FAILED = 5; -
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 replica is being created.
CREATING = 1;- See Also:
-
READY_VALUE
public static final int READY_VALUEThe replica is ready.
READY = 3;- See Also:
-
REMOVING_VALUE
public static final int REMOVING_VALUEThe replica is being removed.
REMOVING = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe replica is experiencing an issue and might be unusable. You can get further details from the `stateReasons` field of the `ReplicaConfig` object.
FAILED = 5;- 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
-