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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertificateAuthority.SignHashAlgorithm
getAlgorithm()
The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.int
getAlgorithmValue()
The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.String
getCloudKmsKeyVersion()
The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.com.google.protobuf.ByteString
getCloudKmsKeyVersionBytes()
The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.CertificateAuthority.KeyVersionSpec.KeyVersionCase
getKeyVersionCase()
boolean
hasAlgorithm()
The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience.boolean
hasCloudKmsKeyVersion()
The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-