public static enum AutokeyConfig.State extends Enum<AutokeyConfig.State> implements com.google.protobuf.ProtocolMessageEnum
The states AutokeyConfig can be in.Protobuf enum
google.cloud.kms.v1.AutokeyConfig.State| Enum Constant and Description |
|---|
ACTIVE
The AutokeyConfig is currently active.
|
KEY_PROJECT_DELETED
A previously configured key project has been deleted and the current
AutokeyConfig is unusable.
|
STATE_UNSPECIFIED
The state of the AutokeyConfig is unspecified.
|
UNINITIALIZED
The AutokeyConfig is not yet initialized or has been reset to its default
uninitialized state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The AutokeyConfig is currently active.
|
static int |
KEY_PROJECT_DELETED_VALUE
A previously configured key project has been deleted and the current
AutokeyConfig is unusable.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the AutokeyConfig is unspecified.
|
static int |
UNINITIALIZED_VALUE
The AutokeyConfig is not yet initialized or has been reset to its default
uninitialized state.
|
| Modifier and Type | Method and Description |
|---|---|
static AutokeyConfig.State |
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<AutokeyConfig.State> |
internalGetValueMap() |
static AutokeyConfig.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AutokeyConfig.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AutokeyConfig.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutokeyConfig.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutokeyConfig.State STATE_UNSPECIFIED
The state of the AutokeyConfig is unspecified.
STATE_UNSPECIFIED = 0;public static final AutokeyConfig.State ACTIVE
The AutokeyConfig is currently active.
ACTIVE = 1;public static final AutokeyConfig.State KEY_PROJECT_DELETED
A previously configured key project has been deleted and the current AutokeyConfig is unusable.
KEY_PROJECT_DELETED = 2;public static final AutokeyConfig.State UNINITIALIZED
The AutokeyConfig is not yet initialized or has been reset to its default uninitialized state.
UNINITIALIZED = 3;public static final AutokeyConfig.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the AutokeyConfig is unspecified.
STATE_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
The AutokeyConfig is currently active.
ACTIVE = 1;public static final int KEY_PROJECT_DELETED_VALUE
A previously configured key project has been deleted and the current AutokeyConfig is unusable.
KEY_PROJECT_DELETED = 2;public static final int UNINITIALIZED_VALUE
The AutokeyConfig is not yet initialized or has been reset to its default uninitialized state.
UNINITIALIZED = 3;public static AutokeyConfig.State[] values()
for (AutokeyConfig.State c : AutokeyConfig.State.values()) System.out.println(c);
public static AutokeyConfig.State 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 AutokeyConfig.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AutokeyConfig.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AutokeyConfig.State> 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 AutokeyConfig.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.