public static enum CryptoKeyVersion.CryptoKeyVersionView extends Enum<CryptoKeyVersion.CryptoKeyVersionView> implements com.google.protobuf.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 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<CryptoKeyVersion.CryptoKeyVersionView> |
internalGetValueMap() |
static CryptoKeyVersion.CryptoKeyVersionView |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.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 com.google.protobuf.Internal.EnumLiteMap<CryptoKeyVersion.CryptoKeyVersionView> 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 CryptoKeyVersion.CryptoKeyVersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.