public static enum KeyOperationAttestation.AttestationFormat extends Enum<KeyOperationAttestation.AttestationFormat> implements ProtocolMessageEnum
Attestation formats provided by the HSM.Protobuf enum
google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat
Enum Constant and Description |
---|
ATTESTATION_FORMAT_UNSPECIFIED
Not specified.
|
CAVIUM_V1_COMPRESSED
Cavium HSM attestation compressed with gzip.
|
CAVIUM_V2_COMPRESSED
Cavium HSM attestation V2 compressed with gzip.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ATTESTATION_FORMAT_UNSPECIFIED_VALUE
Not specified.
|
static int |
CAVIUM_V1_COMPRESSED_VALUE
Cavium HSM attestation compressed with gzip.
|
static int |
CAVIUM_V2_COMPRESSED_VALUE
Cavium HSM attestation V2 compressed with gzip.
|
Modifier and Type | Method and Description |
---|---|
static KeyOperationAttestation.AttestationFormat |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<KeyOperationAttestation.AttestationFormat> |
internalGetValueMap() |
static KeyOperationAttestation.AttestationFormat |
valueOf(Descriptors.EnumValueDescriptor desc) |
static KeyOperationAttestation.AttestationFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyOperationAttestation.AttestationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyOperationAttestation.AttestationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyOperationAttestation.AttestationFormat ATTESTATION_FORMAT_UNSPECIFIED
Not specified.
ATTESTATION_FORMAT_UNSPECIFIED = 0;
public static final KeyOperationAttestation.AttestationFormat CAVIUM_V1_COMPRESSED
Cavium HSM attestation compressed with gzip. Note that this format is defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;
public static final KeyOperationAttestation.AttestationFormat CAVIUM_V2_COMPRESSED
Cavium HSM attestation V2 compressed with gzip. This is a new format introduced in Cavium's version 3.2-08.
CAVIUM_V2_COMPRESSED = 4;
public static final KeyOperationAttestation.AttestationFormat UNRECOGNIZED
public static final int ATTESTATION_FORMAT_UNSPECIFIED_VALUE
Not specified.
ATTESTATION_FORMAT_UNSPECIFIED = 0;
public static final int CAVIUM_V1_COMPRESSED_VALUE
Cavium HSM attestation compressed with gzip. Note that this format is defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;
public static final int CAVIUM_V2_COMPRESSED_VALUE
Cavium HSM attestation V2 compressed with gzip. This is a new format introduced in Cavium's version 3.2-08.
CAVIUM_V2_COMPRESSED = 4;
public static KeyOperationAttestation.AttestationFormat[] values()
for (KeyOperationAttestation.AttestationFormat c : KeyOperationAttestation.AttestationFormat.values()) System.out.println(c);
public static KeyOperationAttestation.AttestationFormat 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static KeyOperationAttestation.AttestationFormat valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static KeyOperationAttestation.AttestationFormat forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<KeyOperationAttestation.AttestationFormat> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static KeyOperationAttestation.AttestationFormat valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.