if (subBuilder != null) { subBuilder.mergeFrom(attestation_); attestation_ = subBuilder.buildPartial();
/** * * * <pre> * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * </pre> * * <code>.google.cloud.kms.v1.KeyOperationAttestation attestation = 8;</code> */ public Builder mergeAttestation(com.google.cloud.kms.v1.KeyOperationAttestation value) { if (attestationBuilder_ == null) { if (attestation_ != null) { attestation_ = com.google.cloud.kms.v1.KeyOperationAttestation.newBuilder(attestation_) .mergeFrom(value) .buildPartial(); } else { attestation_ = value; } onChanged(); } else { attestationBuilder_.mergeFrom(value); } return this; } /**
if (subBuilder != null) { subBuilder.mergeFrom(attestation_); attestation_ = subBuilder.buildPartial();
/** * * * <pre> * Output only. Statement that was generated and signed by the HSM at key * creation time. Use this statement to verify attributes of the key as stored * on the HSM, independently of Google. Only provided for key versions with * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * </pre> * * <code>.google.cloud.kms.v1.KeyOperationAttestation attestation = 8;</code> */ public Builder mergeAttestation(com.google.cloud.kms.v1.KeyOperationAttestation value) { if (attestationBuilder_ == null) { if (attestation_ != null) { attestation_ = com.google.cloud.kms.v1.KeyOperationAttestation.newBuilder(attestation_) .mergeFrom(value) .buildPartial(); } else { attestation_ = value; } onChanged(); } else { attestationBuilder_.mergeFrom(value); } return this; } /**
@java.lang.Override public com.google.cloud.kms.v1.KeyOperationAttestation build() { com.google.cloud.kms.v1.KeyOperationAttestation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public com.google.cloud.kms.v1.KeyOperationAttestation build() { com.google.cloud.kms.v1.KeyOperationAttestation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }