Interface BackupLockOrBuilder (0.37.0)

publicinterface BackupLockOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupApplianceLockInfo()

publicabstractBackupApplianceLockInfogetBackupApplianceLockInfo()

If the client is a backup and recovery appliance, this contains metadata about why the lock exists.

.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;

Returns
Type Description
BackupApplianceLockInfo

The backupApplianceLockInfo.

getBackupApplianceLockInfoOrBuilder()

publicabstractBackupApplianceLockInfoOrBuildergetBackupApplianceLockInfoOrBuilder()

If the client is a backup and recovery appliance, this contains metadata about why the lock exists.

.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;

Returns
Type Description
BackupApplianceLockInfoOrBuilder

getClientLockInfoCase()

publicabstractBackupLock.ClientLockInfoCasegetClientLockInfoCase()
Returns
Type Description
BackupLock.ClientLockInfoCase

getLockUntilTime()

publicabstractTimestampgetLockUntilTime()

Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.

.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The lockUntilTime.

getLockUntilTimeOrBuilder()

publicabstractTimestampOrBuildergetLockUntilTimeOrBuilder()

Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.

.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getServiceLockInfo()

publicabstractServiceLockInfogetServiceLockInfo()

Output only. Contains metadata about the lock exist for Google Cloud native backups.

.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServiceLockInfo

The serviceLockInfo.

getServiceLockInfoOrBuilder()

publicabstractServiceLockInfoOrBuildergetServiceLockInfoOrBuilder()

Output only. Contains metadata about the lock exist for Google Cloud native backups.

.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ServiceLockInfoOrBuilder

hasBackupApplianceLockInfo()

publicabstractbooleanhasBackupApplianceLockInfo()

If the client is a backup and recovery appliance, this contains metadata about why the lock exists.

.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;

Returns
Type Description
boolean

Whether the backupApplianceLockInfo field is set.

hasLockUntilTime()

publicabstractbooleanhasLockUntilTime()

Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.

.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lockUntilTime field is set.

hasServiceLockInfo()

publicabstractbooleanhasServiceLockInfo()

Output only. Contains metadata about the lock exist for Google Cloud native backups.

.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the serviceLockInfo field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.