public static enum CryptoKeyVersion.CryptoKeyVersionView extends Enum<CryptoKeyVersion.CryptoKeyVersionView> implements ProtocolMessageEnum
A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. Controls the level of detail returned for [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] and [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].Protobuf enum
google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView
Enum Constant and Description |
---|
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED
Default view for each
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
FULL
Provides all fields in each
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
[attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED_VALUE
Default view for each
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
static int |
FULL_VALUE
Provides all fields in each
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the
[attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
|
Modifier and Type | Method and Description |
---|---|
static CryptoKeyVersion.CryptoKeyVersionView |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<CryptoKeyVersion.CryptoKeyVersionView> |
internalGetValueMap() |
static CryptoKeyVersion.CryptoKeyVersionView |
valueOf(Descriptors.EnumValueDescriptor desc) |
static CryptoKeyVersion.CryptoKeyVersionView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CryptoKeyVersion.CryptoKeyVersionView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoKeyVersion.CryptoKeyVersionView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoKeyVersion.CryptoKeyVersionView CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED
Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0;
public static final CryptoKeyVersion.CryptoKeyVersionView FULL
Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
FULL = 1;
public static final CryptoKeyVersion.CryptoKeyVersionView UNRECOGNIZED
public static final int CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED_VALUE
Default view for each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Does not include the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation] field.
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0;
public static final int FULL_VALUE
Provides all fields in each [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], including the [attestation][google.cloud.kms.v1.CryptoKeyVersion.attestation].
FULL = 1;
public static CryptoKeyVersion.CryptoKeyVersionView[] values()
for (CryptoKeyVersion.CryptoKeyVersionView c : CryptoKeyVersion.CryptoKeyVersionView.values()) System.out.println(c);
public static CryptoKeyVersion.CryptoKeyVersionView 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 CryptoKeyVersion.CryptoKeyVersionView valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CryptoKeyVersion.CryptoKeyVersionView forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<CryptoKeyVersion.CryptoKeyVersionView> 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 CryptoKeyVersion.CryptoKeyVersionView valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.