@java.lang.Override public com.google.cloud.kms.v1.KeyOperationAttestation getDefaultInstanceForType() { return com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance(); }
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } /**
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOrBuilder() { if (attestationBuilder_ != null) { return attestationBuilder_.getMessageOrBuilder(); } else { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } } /**
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { if (attestationBuilder_ == null) { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } else { return attestationBuilder_.getMessage(); } } /**
/** * * * <pre> * Output only. The attestation data provided by the HSM when the key * operation was performed. * </pre> * * <code>bytes content = 5;</code> */ public Builder clearContent() { content_ = getDefaultInstance().getContent(); onChanged(); return this; }
public Builder mergeFrom(com.google.cloud.kms.v1.KeyOperationAttestation other) { if (other == com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance()) return this; if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.getContent() != com.google.protobuf.ByteString.EMPTY) { setContent(other.getContent()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public com.google.cloud.kms.v1.KeyOperationAttestation getDefaultInstanceForType() { return com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance(); }
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } /**
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestation getAttestation() { if (attestationBuilder_ == null) { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } else { return attestationBuilder_.getMessage(); } } /**
/** * * * <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 com.google.cloud.kms.v1.KeyOperationAttestationOrBuilder getAttestationOrBuilder() { if (attestationBuilder_ != null) { return attestationBuilder_.getMessageOrBuilder(); } else { return attestation_ == null ? com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance() : attestation_; } } /**
/** * * * <pre> * Output only. The attestation data provided by the HSM when the key * operation was performed. * </pre> * * <code>bytes content = 5;</code> */ public Builder clearContent() { content_ = getDefaultInstance().getContent(); onChanged(); return this; }
public Builder mergeFrom(com.google.cloud.kms.v1.KeyOperationAttestation other) { if (other == com.google.cloud.kms.v1.KeyOperationAttestation.getDefaultInstance()) return this; if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.getContent() != com.google.protobuf.ByteString.EMPTY) { setContent(other.getContent()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }