public enum FailureAction extends Enum<FailureAction> implements ProtocolMessageEnum
Actions in response to failure of a resource associated with a cluster.Protobuf enum
google.cloud.dataproc.v1.FailureAction
Enum Constant and Description |
---|
DELETE
Delete the failed cluster resource.
|
FAILURE_ACTION_UNSPECIFIED
When FailureAction is unspecified, failure action defaults to NO_ACTION.
|
NO_ACTION
Take no action on failure to create a cluster resource.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_VALUE
Delete the failed cluster resource.
|
static int |
FAILURE_ACTION_UNSPECIFIED_VALUE
When FailureAction is unspecified, failure action defaults to NO_ACTION.
|
static int |
NO_ACTION_VALUE
Take no action on failure to create a cluster resource.
|
Modifier and Type | Method and Description |
---|---|
static FailureAction |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<FailureAction> |
internalGetValueMap() |
static FailureAction |
valueOf(Descriptors.EnumValueDescriptor desc) |
static FailureAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FailureAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureAction FAILURE_ACTION_UNSPECIFIED
When FailureAction is unspecified, failure action defaults to NO_ACTION.
FAILURE_ACTION_UNSPECIFIED = 0;
public static final FailureAction NO_ACTION
Take no action on failure to create a cluster resource. NO_ACTION is the default.
NO_ACTION = 1;
public static final FailureAction DELETE
Delete the failed cluster resource.
DELETE = 2;
public static final FailureAction UNRECOGNIZED
public static final int FAILURE_ACTION_UNSPECIFIED_VALUE
When FailureAction is unspecified, failure action defaults to NO_ACTION.
FAILURE_ACTION_UNSPECIFIED = 0;
public static final int NO_ACTION_VALUE
Take no action on failure to create a cluster resource. NO_ACTION is the default.
NO_ACTION = 1;
public static final int DELETE_VALUE
Delete the failed cluster resource.
DELETE = 2;
public static FailureAction[] values()
for (FailureAction c : FailureAction.values()) System.out.println(c);
public static FailureAction 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static FailureAction valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FailureAction forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<FailureAction> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static FailureAction valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.