public static enum Instance.KeyRevocationActionType extends Enum<Instance.KeyRevocationActionType> implements com.google.protobuf.ProtocolMessageEnum
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.Protobuf enum
google.cloud.compute.v1.Instance.KeyRevocationActionType| Enum Constant and Description |
|---|
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED
Default value.
|
NONE
Indicates user chose no operation.
|
STOP
Indicates user chose to opt for VM shutdown on key revocation.
|
UNDEFINED_KEY_REVOCATION_ACTION_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
NONE_VALUE
Indicates user chose no operation.
|
static int |
STOP_VALUE
Indicates user chose to opt for VM shutdown on key revocation.
|
static int |
UNDEFINED_KEY_REVOCATION_ACTION_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.KeyRevocationActionType |
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<Instance.KeyRevocationActionType> |
internalGetValueMap() |
static Instance.KeyRevocationActionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.KeyRevocationActionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.KeyRevocationActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.KeyRevocationActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.KeyRevocationActionType UNDEFINED_KEY_REVOCATION_ACTION_TYPE
A value indicating that the enum field is not set.
UNDEFINED_KEY_REVOCATION_ACTION_TYPE = 0;public static final Instance.KeyRevocationActionType KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED
Default value. This value is unused.
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED = 467110106;public static final Instance.KeyRevocationActionType NONE
Indicates user chose no operation.
NONE = 2402104;public static final Instance.KeyRevocationActionType STOP
Indicates user chose to opt for VM shutdown on key revocation.
STOP = 2555906;public static final Instance.KeyRevocationActionType UNRECOGNIZED
public static final int UNDEFINED_KEY_REVOCATION_ACTION_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_KEY_REVOCATION_ACTION_TYPE = 0;public static final int KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED_VALUE
Default value. This value is unused.
KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED = 467110106;public static final int NONE_VALUE
Indicates user chose no operation.
NONE = 2402104;public static final int STOP_VALUE
Indicates user chose to opt for VM shutdown on key revocation.
STOP = 2555906;public static Instance.KeyRevocationActionType[] values()
for (Instance.KeyRevocationActionType c : Instance.KeyRevocationActionType.values()) System.out.println(c);
public static Instance.KeyRevocationActionType 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 Instance.KeyRevocationActionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.KeyRevocationActionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.KeyRevocationActionType> 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 Instance.KeyRevocationActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.