publicstaticfinalclass BackupLock.BuilderextendsGeneratedMessageV3.Builder<BackupLock.Builder>implementsBackupLockOrBuilder
BackupLock represents a single lock on a Backup resource. An unexpired
lock on a Backup prevents the Backup from being deleted.
Protobuf type google.cloud.backupdr.v1.BackupLock
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicBackupLock.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
buildPartial()
publicBackupLockbuildPartial()
clear()
publicBackupLock.Builderclear()
Overrides
clearBackupApplianceLockInfo()
publicBackupLock.BuilderclearBackupApplianceLockInfo()
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;
clearClientLockInfo()
publicBackupLock.BuilderclearClientLockInfo()
clearField(Descriptors.FieldDescriptor field)
publicBackupLock.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearLockUntilTime()
publicBackupLock.BuilderclearLockUntilTime()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
publicBackupLock.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearServiceLockInfo()
publicBackupLock.BuilderclearServiceLockInfo()
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];
clone()
publicBackupLock.Builderclone()
Overrides
getBackupApplianceLockInfo()
publicBackupApplianceLockInfogetBackupApplianceLockInfo()
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;
getBackupApplianceLockInfoBuilder()
publicBackupApplianceLockInfo.BuildergetBackupApplianceLockInfoBuilder()
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;
getBackupApplianceLockInfoOrBuilder()
publicBackupApplianceLockInfoOrBuildergetBackupApplianceLockInfoOrBuilder()
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;
getClientLockInfoCase()
publicBackupLock.ClientLockInfoCasegetClientLockInfoCase()
getDefaultInstanceForType()
publicBackupLockgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getLockUntilTime()
publicTimestampgetLockUntilTime()
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.
|
getLockUntilTimeBuilder()
publicTimestamp.BuildergetLockUntilTimeBuilder()
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];
getLockUntilTimeOrBuilder()
publicTimestampOrBuildergetLockUntilTimeOrBuilder()
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];
getServiceLockInfo()
publicServiceLockInfogetServiceLockInfo()
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];
getServiceLockInfoBuilder()
publicServiceLockInfo.BuildergetServiceLockInfoBuilder()
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];
getServiceLockInfoOrBuilder()
publicServiceLockInfoOrBuildergetServiceLockInfoOrBuilder()
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];
hasBackupApplianceLockInfo()
publicbooleanhasBackupApplianceLockInfo()
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()
publicbooleanhasLockUntilTime()
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()
publicbooleanhasServiceLockInfo()
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.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeBackupApplianceLockInfo(BackupApplianceLockInfo value)
publicBackupLock.BuildermergeBackupApplianceLockInfo(BackupApplianceLockInfovalue)
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;
mergeFrom(BackupLock other)
publicBackupLock.BuildermergeFrom(BackupLockother)
publicBackupLock.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicBackupLock.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeLockUntilTime(Timestamp value)
publicBackupLock.BuildermergeLockUntilTime(Timestampvalue)
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];
mergeServiceLockInfo(ServiceLockInfo value)
publicBackupLock.BuildermergeServiceLockInfo(ServiceLockInfovalue)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalBackupLock.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setBackupApplianceLockInfo(BackupApplianceLockInfo value)
publicBackupLock.BuildersetBackupApplianceLockInfo(BackupApplianceLockInfovalue)
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;
setBackupApplianceLockInfo(BackupApplianceLockInfo.Builder builderForValue)
publicBackupLock.BuildersetBackupApplianceLockInfo(BackupApplianceLockInfo.BuilderbuilderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
publicBackupLock.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setLockUntilTime(Timestamp value)
publicBackupLock.BuildersetLockUntilTime(Timestampvalue)
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];
setLockUntilTime(Timestamp.Builder builderForValue)
publicBackupLock.BuildersetLockUntilTime(Timestamp.BuilderbuilderForValue)
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];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicBackupLock.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setServiceLockInfo(ServiceLockInfo value)
publicBackupLock.BuildersetServiceLockInfo(ServiceLockInfovalue)
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];
setServiceLockInfo(ServiceLockInfo.Builder builderForValue)
publicBackupLock.BuildersetServiceLockInfo(ServiceLockInfo.BuilderbuilderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalBackupLock.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides