public static enum DisableServiceRequest.CheckIfServiceHasUsage extends Enum<DisableServiceRequest.CheckIfServiceHasUsage> implements com.google.protobuf.ProtocolMessageEnum
Enum to determine if service usage should be checked when disabling a service.Protobuf enum
google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage| Enum Constant and Description |
|---|
CHECK
If set, service usage is checked when disabling the service.
|
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED
When unset, the default behavior is used, which is SKIP.
|
SKIP
If set, skip checking service usage when disabling a service.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED_VALUE
When unset, the default behavior is used, which is SKIP.
|
static int |
CHECK_VALUE
If set, service usage is checked when disabling the service.
|
static int |
SKIP_VALUE
If set, skip checking service usage when disabling a service.
|
| Modifier and Type | Method and Description |
|---|---|
static DisableServiceRequest.CheckIfServiceHasUsage |
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<DisableServiceRequest.CheckIfServiceHasUsage> |
internalGetValueMap() |
static DisableServiceRequest.CheckIfServiceHasUsage |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DisableServiceRequest.CheckIfServiceHasUsage |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DisableServiceRequest.CheckIfServiceHasUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisableServiceRequest.CheckIfServiceHasUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisableServiceRequest.CheckIfServiceHasUsage CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED
When unset, the default behavior is used, which is SKIP.
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0;public static final DisableServiceRequest.CheckIfServiceHasUsage SKIP
If set, skip checking service usage when disabling a service.
SKIP = 1;public static final DisableServiceRequest.CheckIfServiceHasUsage CHECK
If set, service usage is checked when disabling the service. If a service, or its dependents, has usage in the last 30 days, the request returns a FAILED_PRECONDITION error.
CHECK = 2;public static final DisableServiceRequest.CheckIfServiceHasUsage UNRECOGNIZED
public static final int CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED_VALUE
When unset, the default behavior is used, which is SKIP.
CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0;public static final int SKIP_VALUE
If set, skip checking service usage when disabling a service.
SKIP = 1;public static final int CHECK_VALUE
If set, service usage is checked when disabling the service. If a service, or its dependents, has usage in the last 30 days, the request returns a FAILED_PRECONDITION error.
CHECK = 2;public static DisableServiceRequest.CheckIfServiceHasUsage[] values()
for (DisableServiceRequest.CheckIfServiceHasUsage c : DisableServiceRequest.CheckIfServiceHasUsage.values()) System.out.println(c);
public static DisableServiceRequest.CheckIfServiceHasUsage 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 DisableServiceRequest.CheckIfServiceHasUsage valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DisableServiceRequest.CheckIfServiceHasUsage forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DisableServiceRequest.CheckIfServiceHasUsage> 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 DisableServiceRequest.CheckIfServiceHasUsage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.