Enum CertificateAuthority.KeyVersionSpec.KeyVersionCase
- java.lang.Object
-
- java.lang.Enum<CertificateAuthority.KeyVersionSpec.KeyVersionCase>
-
- com.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec.KeyVersionCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<CertificateAuthority.KeyVersionSpec.KeyVersionCase>
- Enclosing class:
- CertificateAuthority.KeyVersionSpec
public static enum CertificateAuthority.KeyVersionSpec.KeyVersionCase extends Enum<CertificateAuthority.KeyVersionSpec.KeyVersionCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHM
CLOUD_KMS_KEY_VERSION
KEYVERSION_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CertificateAuthority.KeyVersionSpec.KeyVersionCase
forNumber(int value)
int
getNumber()
static CertificateAuthority.KeyVersionSpec.KeyVersionCase
valueOf(int value)
Deprecated.static CertificateAuthority.KeyVersionSpec.KeyVersionCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static CertificateAuthority.KeyVersionSpec.KeyVersionCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOUD_KMS_KEY_VERSION
public static final CertificateAuthority.KeyVersionSpec.KeyVersionCase CLOUD_KMS_KEY_VERSION
-
ALGORITHM
public static final CertificateAuthority.KeyVersionSpec.KeyVersionCase ALGORITHM
-
KEYVERSION_NOT_SET
public static final CertificateAuthority.KeyVersionSpec.KeyVersionCase KEYVERSION_NOT_SET
-
-
Method Detail
-
values
public static CertificateAuthority.KeyVersionSpec.KeyVersionCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CertificateAuthority.KeyVersionSpec.KeyVersionCase c : CertificateAuthority.KeyVersionSpec.KeyVersionCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateAuthority.KeyVersionSpec.KeyVersionCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static CertificateAuthority.KeyVersionSpec.KeyVersionCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static CertificateAuthority.KeyVersionSpec.KeyVersionCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-