public static enum RetryConfig.NumAttemptsCase extends Enum<RetryConfig.NumAttemptsCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
MAX_ATTEMPTS |
NUMATTEMPTS_NOT_SET |
UNLIMITED_ATTEMPTS |
Modifier and Type | Method and Description |
---|---|
static RetryConfig.NumAttemptsCase |
forNumber(int value) |
int |
getNumber() |
static RetryConfig.NumAttemptsCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RetryConfig.NumAttemptsCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryConfig.NumAttemptsCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryConfig.NumAttemptsCase MAX_ATTEMPTS
public static final RetryConfig.NumAttemptsCase UNLIMITED_ATTEMPTS
public static final RetryConfig.NumAttemptsCase NUMATTEMPTS_NOT_SET
public static RetryConfig.NumAttemptsCase[] values()
for (RetryConfig.NumAttemptsCase c : RetryConfig.NumAttemptsCase.values()) System.out.println(c);
public static RetryConfig.NumAttemptsCase 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 RetryConfig.NumAttemptsCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static RetryConfig.NumAttemptsCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.