Interface CertificateAuthority.KeyVersionSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CertificateAuthority.KeyVersionSpec,CertificateAuthority.KeyVersionSpec.Builder
- Enclosing class:
- CertificateAuthority
public static interface CertificateAuthority.KeyVersionSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.intThe algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.com.google.protobuf.ByteStringThe resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.booleanThe algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.booleanThe resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCloudKmsKeyVersion
boolean hasCloudKmsKeyVersion()The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties.
string cloud_kms_key_version = 1;- Returns:
- Whether the cloudKmsKeyVersion field is set.
-
getCloudKmsKeyVersion
String getCloudKmsKeyVersion()The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties.
string cloud_kms_key_version = 1;- Returns:
- The cloudKmsKeyVersion.
-
getCloudKmsKeyVersionBytes
com.google.protobuf.ByteString getCloudKmsKeyVersionBytes()The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties.
string cloud_kms_key_version = 1;- Returns:
- The bytes for cloudKmsKeyVersion.
-
hasAlgorithm
boolean hasAlgorithm()The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;- Returns:
- Whether the algorithm field is set.
-
getAlgorithmValue
int getAlgorithmValue()The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;- Returns:
- The enum numeric value on the wire for algorithm.
-
getAlgorithm
CertificateAuthority.SignHashAlgorithm getAlgorithm()The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
.google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm algorithm = 2;- Returns:
- The algorithm.
-
getKeyVersionCase
CertificateAuthority.KeyVersionSpec.KeyVersionCase getKeyVersionCase()
-