public static enum UriOverride.UriOverrideEnforceMode extends Enum<UriOverride.UriOverrideEnforceMode> implements com.google.protobuf.ProtocolMessageEnum
UriOverrideEnforceMode mode is to define enforcing mode for the override modes.Protobuf enum
google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode| Enum Constant and Description |
|---|
ALWAYS
In the ALWAYS mode, queue-level configuration overrides all
task-level configuration
|
IF_NOT_EXISTS
In the IF_NOT_EXISTS mode, queue-level configuration is only
applied where task-level configuration does not exist.
|
UNRECOGNIZED |
URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED
OverrideMode Unspecified.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS_VALUE
In the ALWAYS mode, queue-level configuration overrides all
task-level configuration
|
static int |
IF_NOT_EXISTS_VALUE
In the IF_NOT_EXISTS mode, queue-level configuration is only
applied where task-level configuration does not exist.
|
static int |
URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED_VALUE
OverrideMode Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static UriOverride.UriOverrideEnforceMode |
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<UriOverride.UriOverrideEnforceMode> |
internalGetValueMap() |
static UriOverride.UriOverrideEnforceMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UriOverride.UriOverrideEnforceMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UriOverride.UriOverrideEnforceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriOverride.UriOverrideEnforceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UriOverride.UriOverrideEnforceMode URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED
OverrideMode Unspecified. Defaults to ALWAYS.
URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED = 0;public static final UriOverride.UriOverrideEnforceMode IF_NOT_EXISTS
In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.
IF_NOT_EXISTS = 1;public static final UriOverride.UriOverrideEnforceMode ALWAYS
In the ALWAYS mode, queue-level configuration overrides all task-level configuration
ALWAYS = 2;public static final UriOverride.UriOverrideEnforceMode UNRECOGNIZED
public static final int URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED_VALUE
OverrideMode Unspecified. Defaults to ALWAYS.
URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED = 0;public static final int IF_NOT_EXISTS_VALUE
In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.
IF_NOT_EXISTS = 1;public static final int ALWAYS_VALUE
In the ALWAYS mode, queue-level configuration overrides all task-level configuration
ALWAYS = 2;public static UriOverride.UriOverrideEnforceMode[] values()
for (UriOverride.UriOverrideEnforceMode c : UriOverride.UriOverrideEnforceMode.values()) System.out.println(c);
public static UriOverride.UriOverrideEnforceMode 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 UriOverride.UriOverrideEnforceMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UriOverride.UriOverrideEnforceMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UriOverride.UriOverrideEnforceMode> 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 UriOverride.UriOverrideEnforceMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.