Interface BackupLockOrBuilder (0.10.0)

public interface BackupLockOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupApplianceLockInfo()

public abstract BackupApplianceLockInfo getBackupApplianceLockInfo()

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()

public abstract BackupApplianceLockInfoOrBuilder getBackupApplianceLockInfoOrBuilder()

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()

public abstract BackupLock.ClientLockInfoCase getClientLockInfoCase()
Returns
Type Description
BackupLock.ClientLockInfoCase

getLockUntilTime()

public abstract Timestamp getLockUntilTime()

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()

public abstract TimestampOrBuilder getLockUntilTimeOrBuilder()

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()

public abstract ServiceLockInfo getServiceLockInfo()

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()

public abstract ServiceLockInfoOrBuilder getServiceLockInfoOrBuilder()

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()

public abstract boolean hasBackupApplianceLockInfo()

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()

public abstract boolean hasLockUntilTime()

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()

public abstract boolean hasServiceLockInfo()

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.