Package com.google.cloud.deploy.v1
Enum RepairState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RepairState>
@Generated
public enum RepairState
extends Enum<RepairState>
implements com.google.protobuf.ProtocolMessageEnum
Valid state of a repair attempt.Protobuf enum
google.cloud.deploy.v1.RepairState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe `repair` action was aborted.The `repair` action was cancelled.The `repair` action has failed.The `repair` action is in progress.The `repair` action is pending.The `repair` action has succeeded.The `repair` has an unspecified state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe `repair` action was aborted.static final intThe `repair` action was cancelled.static final intThe `repair` action has failed.static final intThe `repair` action is in progress.static final intThe `repair` action is pending.static final intThe `repair` action has succeeded.static final intThe `repair` has an unspecified state. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepairStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RepairState>static RepairStatevalueOf(int value) Deprecated.static RepairStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RepairStateReturns the enum constant of this type with the specified name.static RepairState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REPAIR_STATE_UNSPECIFIED
The `repair` has an unspecified state.
REPAIR_STATE_UNSPECIFIED = 0; -
REPAIR_STATE_SUCCEEDED
The `repair` action has succeeded.
REPAIR_STATE_SUCCEEDED = 1; -
REPAIR_STATE_CANCELLED
The `repair` action was cancelled.
REPAIR_STATE_CANCELLED = 2; -
REPAIR_STATE_FAILED
The `repair` action has failed.
REPAIR_STATE_FAILED = 3; -
REPAIR_STATE_IN_PROGRESS
The `repair` action is in progress.
REPAIR_STATE_IN_PROGRESS = 4; -
REPAIR_STATE_PENDING
The `repair` action is pending.
REPAIR_STATE_PENDING = 5; -
REPAIR_STATE_ABORTED
The `repair` action was aborted.
REPAIR_STATE_ABORTED = 7; -
UNRECOGNIZED
-
-
Field Details
-
REPAIR_STATE_UNSPECIFIED_VALUE
public static final int REPAIR_STATE_UNSPECIFIED_VALUEThe `repair` has an unspecified state.
REPAIR_STATE_UNSPECIFIED = 0;- See Also:
-
REPAIR_STATE_SUCCEEDED_VALUE
public static final int REPAIR_STATE_SUCCEEDED_VALUEThe `repair` action has succeeded.
REPAIR_STATE_SUCCEEDED = 1;- See Also:
-
REPAIR_STATE_CANCELLED_VALUE
public static final int REPAIR_STATE_CANCELLED_VALUEThe `repair` action was cancelled.
REPAIR_STATE_CANCELLED = 2;- See Also:
-
REPAIR_STATE_FAILED_VALUE
public static final int REPAIR_STATE_FAILED_VALUEThe `repair` action has failed.
REPAIR_STATE_FAILED = 3;- See Also:
-
REPAIR_STATE_IN_PROGRESS_VALUE
public static final int REPAIR_STATE_IN_PROGRESS_VALUEThe `repair` action is in progress.
REPAIR_STATE_IN_PROGRESS = 4;- See Also:
-
REPAIR_STATE_PENDING_VALUE
public static final int REPAIR_STATE_PENDING_VALUEThe `repair` action is pending.
REPAIR_STATE_PENDING = 5;- See Also:
-
REPAIR_STATE_ABORTED_VALUE
public static final int REPAIR_STATE_ABORTED_VALUEThe `repair` action was aborted.
REPAIR_STATE_ABORTED = 7;- 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
-