Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
value of this string is only meaningful to the client and it is not
interpreted by the BackupVault service.
Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
value of this string is only meaningful to the client and it is not
interpreted by the BackupVault service.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface BackupApplianceLockInfoOrBuilder (0.31.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.31.0 (latest)](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.BackupApplianceLockInfoOrBuilder) \n\n public interface BackupApplianceLockInfoOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getBackupApplianceId()\n\n public abstract long getBackupApplianceId()\n\nRequired. The ID of the backup/recovery appliance that created this lock.\n\n`int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getBackupApplianceName()\n\n public abstract String getBackupApplianceName()\n\nRequired. The name of the backup/recovery appliance that created this lock.\n\n`string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];`\n\n### getBackupApplianceNameBytes()\n\n public abstract ByteString getBackupApplianceNameBytes()\n\nRequired. The name of the backup/recovery appliance that created this lock.\n\n`string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];`\n\n### getBackupImage()\n\n public abstract String getBackupImage()\n\nThe image name that depends on this Backup.\n\n`string backup_image = 7;`\n\n### getBackupImageBytes()\n\n public abstract ByteString getBackupImageBytes()\n\nThe image name that depends on this Backup.\n\n`string backup_image = 7;`\n\n### getJobName()\n\n public abstract String getJobName()\n\nThe job name on the backup/recovery appliance that created this lock.\n\n`string job_name = 6;`\n\n### getJobNameBytes()\n\n public abstract ByteString getJobNameBytes()\n\nThe job name on the backup/recovery appliance that created this lock.\n\n`string job_name = 6;`\n\n### getLockReason()\n\n public abstract String getLockReason()\n\nRequired. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The\nvalue of this string is only meaningful to the client and it is not\ninterpreted by the BackupVault service.\n\n`string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];`\n\n### getLockReasonBytes()\n\n public abstract ByteString getLockReasonBytes()\n\nRequired. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The\nvalue of this string is only meaningful to the client and it is not\ninterpreted by the BackupVault service.\n\n`string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];`\n\n### getLockSourceCase()\n\n public abstract BackupApplianceLockInfo.LockSourceCase getLockSourceCase()\n\n### getSlaId()\n\n public abstract long getSlaId()\n\nThe SLA on the backup/recovery appliance that owns the lock.\n\n`int64 sla_id = 8;`\n\n### hasBackupImage()\n\n public abstract boolean hasBackupImage()\n\nThe image name that depends on this Backup.\n\n`string backup_image = 7;`\n\n### hasJobName()\n\n public abstract boolean hasJobName()\n\nThe job name on the backup/recovery appliance that created this lock.\n\n`string job_name = 6;`\n\n### hasSlaId()\n\n public abstract boolean hasSlaId()\n\nThe SLA on the backup/recovery appliance that owns the lock.\n\n`int64 sla_id = 8;`"]]