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 and Description |
|---|
REPAIR_STATE_CANCELLED
The `repair` action was cancelled.
|
REPAIR_STATE_FAILED
The `repair` action has failed.
|
REPAIR_STATE_IN_PROGRESS
The `repair` action is in progress.
|
REPAIR_STATE_PENDING
The `repair` action is pending.
|
REPAIR_STATE_SKIPPED
The `repair` action was skipped.
|
REPAIR_STATE_SUCCEEDED
The `repair` action has succeeded.
|
REPAIR_STATE_UNSPECIFIED
The `repair` has an unspecified state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
REPAIR_STATE_CANCELLED_VALUE
The `repair` action was cancelled.
|
static int |
REPAIR_STATE_FAILED_VALUE
The `repair` action has failed.
|
static int |
REPAIR_STATE_IN_PROGRESS_VALUE
The `repair` action is in progress.
|
static int |
REPAIR_STATE_PENDING_VALUE
The `repair` action is pending.
|
static int |
REPAIR_STATE_SKIPPED_VALUE
The `repair` action was skipped.
|
static int |
REPAIR_STATE_SUCCEEDED_VALUE
The `repair` action has succeeded.
|
static int |
REPAIR_STATE_UNSPECIFIED_VALUE
The `repair` has an unspecified state.
|
| Modifier and Type | Method and Description |
|---|---|
static RepairState |
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<RepairState> |
internalGetValueMap() |
static RepairState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RepairState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RepairState |
valueOf(String name)
Returns 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.
|
public static final RepairState REPAIR_STATE_UNSPECIFIED
The `repair` has an unspecified state.
REPAIR_STATE_UNSPECIFIED = 0;public static final RepairState REPAIR_STATE_SUCCEEDED
The `repair` action has succeeded.
REPAIR_STATE_SUCCEEDED = 1;public static final RepairState REPAIR_STATE_CANCELLED
The `repair` action was cancelled.
REPAIR_STATE_CANCELLED = 2;public static final RepairState REPAIR_STATE_FAILED
The `repair` action has failed.
REPAIR_STATE_FAILED = 3;public static final RepairState REPAIR_STATE_IN_PROGRESS
The `repair` action is in progress.
REPAIR_STATE_IN_PROGRESS = 4;public static final RepairState REPAIR_STATE_PENDING
The `repair` action is pending.
REPAIR_STATE_PENDING = 5;public static final RepairState REPAIR_STATE_SKIPPED
The `repair` action was skipped.
REPAIR_STATE_SKIPPED = 6;public static final RepairState UNRECOGNIZED
public static final int REPAIR_STATE_UNSPECIFIED_VALUE
The `repair` has an unspecified state.
REPAIR_STATE_UNSPECIFIED = 0;public static final int REPAIR_STATE_SUCCEEDED_VALUE
The `repair` action has succeeded.
REPAIR_STATE_SUCCEEDED = 1;public static final int REPAIR_STATE_CANCELLED_VALUE
The `repair` action was cancelled.
REPAIR_STATE_CANCELLED = 2;public static final int REPAIR_STATE_FAILED_VALUE
The `repair` action has failed.
REPAIR_STATE_FAILED = 3;public static final int REPAIR_STATE_IN_PROGRESS_VALUE
The `repair` action is in progress.
REPAIR_STATE_IN_PROGRESS = 4;public static final int REPAIR_STATE_PENDING_VALUE
The `repair` action is pending.
REPAIR_STATE_PENDING = 5;public static final int REPAIR_STATE_SKIPPED_VALUE
The `repair` action was skipped.
REPAIR_STATE_SKIPPED = 6;public static RepairState[] values()
for (RepairState c : RepairState.values()) System.out.println(c);
public static RepairState 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 RepairState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RepairState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RepairState> 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 RepairState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.