public static enum FailurePolicy.ActionCase extends Enum<FailurePolicy.ActionCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ACTION_NOT_SET |
RETRY |
| Modifier and Type | Method and Description |
|---|---|
static FailurePolicy.ActionCase |
forNumber(int value) |
int |
getNumber() |
static FailurePolicy.ActionCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FailurePolicy.ActionCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailurePolicy.ActionCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailurePolicy.ActionCase RETRY
public static final FailurePolicy.ActionCase ACTION_NOT_SET
public static FailurePolicy.ActionCase[] values()
for (FailurePolicy.ActionCase c : FailurePolicy.ActionCase.values()) System.out.println(c);
public static FailurePolicy.ActionCase 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 null@Deprecated public static FailurePolicy.ActionCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static FailurePolicy.ActionCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2021 Google LLC. All rights reserved.