public enum EncryptionKeyRevocationAction extends Enum<EncryptionKeyRevocationAction> implements com.google.protobuf.ProtocolMessageEnum
Specifies behavior if an encryption key used by a resource is revoked.Protobuf enum
google.cloud.run.v2.EncryptionKeyRevocationAction| Enum Constant and Description |
|---|
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED
Unspecified
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0; |
PREVENT_NEW
Prevents the creation of new instances.
|
SHUTDOWN
Shuts down existing instances, and prevents creation of new ones.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED_VALUE
Unspecified
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0; |
static int |
PREVENT_NEW_VALUE
Prevents the creation of new instances.
|
static int |
SHUTDOWN_VALUE
Shuts down existing instances, and prevents creation of new ones.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionKeyRevocationAction |
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<EncryptionKeyRevocationAction> |
internalGetValueMap() |
static EncryptionKeyRevocationAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EncryptionKeyRevocationAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EncryptionKeyRevocationAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionKeyRevocationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionKeyRevocationAction ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED
Unspecified
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0;public static final EncryptionKeyRevocationAction PREVENT_NEW
Prevents the creation of new instances.
PREVENT_NEW = 1;public static final EncryptionKeyRevocationAction SHUTDOWN
Shuts down existing instances, and prevents creation of new ones.
SHUTDOWN = 2;public static final EncryptionKeyRevocationAction UNRECOGNIZED
public static final int ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED_VALUE
Unspecified
ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED = 0;public static final int PREVENT_NEW_VALUE
Prevents the creation of new instances.
PREVENT_NEW = 1;public static final int SHUTDOWN_VALUE
Shuts down existing instances, and prevents creation of new ones.
SHUTDOWN = 2;public static EncryptionKeyRevocationAction[] values()
for (EncryptionKeyRevocationAction c : EncryptionKeyRevocationAction.values()) System.out.println(c);
public static EncryptionKeyRevocationAction 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 EncryptionKeyRevocationAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EncryptionKeyRevocationAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EncryptionKeyRevocationAction> 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 EncryptionKeyRevocationAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.