public static enum CryptoKey.SourceCase extends java.lang.Enum<CryptoKey.SourceCase> implements Internal.EnumLite
Enum Constant and Description |
---|
KMS_WRAPPED |
SOURCE_NOT_SET |
TRANSIENT |
UNWRAPPED |
Modifier and Type | Method and Description |
---|---|
static CryptoKey.SourceCase |
forNumber(int value) |
int |
getNumber() |
static CryptoKey.SourceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CryptoKey.SourceCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CryptoKey.SourceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoKey.SourceCase TRANSIENT
public static final CryptoKey.SourceCase UNWRAPPED
public static final CryptoKey.SourceCase KMS_WRAPPED
public static final CryptoKey.SourceCase SOURCE_NOT_SET
public static CryptoKey.SourceCase[] values()
for (CryptoKey.SourceCase c : CryptoKey.SourceCase.values()) System.out.println(c);
public static CryptoKey.SourceCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static CryptoKey.SourceCase valueOf(int value)
forNumber(int)
instead.public static CryptoKey.SourceCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite