public enum BackoffMode extends Enum<BackoffMode> implements com.google.protobuf.ProtocolMessageEnum
The pattern of how wait time is increased.Protobuf enum
google.cloud.deploy.v1.BackoffMode| Enum Constant and Description |
|---|
BACKOFF_MODE_EXPONENTIAL
Increases the wait time exponentially.
|
BACKOFF_MODE_LINEAR
Increases the wait time linearly.
|
BACKOFF_MODE_UNSPECIFIED
No WaitMode is specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKOFF_MODE_EXPONENTIAL_VALUE
Increases the wait time exponentially.
|
static int |
BACKOFF_MODE_LINEAR_VALUE
Increases the wait time linearly.
|
static int |
BACKOFF_MODE_UNSPECIFIED_VALUE
No WaitMode is specified.
|
| Modifier and Type | Method and Description |
|---|---|
static BackoffMode |
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<BackoffMode> |
internalGetValueMap() |
static BackoffMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackoffMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackoffMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackoffMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackoffMode BACKOFF_MODE_UNSPECIFIED
No WaitMode is specified.
BACKOFF_MODE_UNSPECIFIED = 0;public static final BackoffMode BACKOFF_MODE_LINEAR
Increases the wait time linearly.
BACKOFF_MODE_LINEAR = 1;public static final BackoffMode BACKOFF_MODE_EXPONENTIAL
Increases the wait time exponentially.
BACKOFF_MODE_EXPONENTIAL = 2;public static final BackoffMode UNRECOGNIZED
public static final int BACKOFF_MODE_UNSPECIFIED_VALUE
No WaitMode is specified.
BACKOFF_MODE_UNSPECIFIED = 0;public static final int BACKOFF_MODE_LINEAR_VALUE
Increases the wait time linearly.
BACKOFF_MODE_LINEAR = 1;public static final int BACKOFF_MODE_EXPONENTIAL_VALUE
Increases the wait time exponentially.
BACKOFF_MODE_EXPONENTIAL = 2;public static BackoffMode[] values()
for (BackoffMode c : BackoffMode.values()) System.out.println(c);
public static BackoffMode 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 BackoffMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BackoffMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackoffMode> 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 BackoffMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.