public interface CryptoKeyVersionTemplateOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
CryptoKeyVersion.CryptoKeyVersionAlgorithm |
getAlgorithm()
Required.
|
int |
getAlgorithmValue()
Required.
|
ProtectionLevel |
getProtectionLevel()
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
template.
|
int |
getProtectionLevelValue()
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating
a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this
template.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getProtectionLevelValue()
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
.google.cloud.kms.v1.ProtectionLevel protection_level = 1;
ProtectionLevel getProtectionLevel()
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].
.google.cloud.kms.v1.ProtectionLevel protection_level = 1;
int getAlgorithmValue()
Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
CryptoKeyVersion.CryptoKeyVersionAlgorithm getAlgorithm()
Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2022 Google LLC. All rights reserved.