publicfinalclass BackupLockextendsGeneratedMessageV3implementsBackupLockOrBuilder
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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BACKUP_APPLIANCE_LOCK_INFO_FIELD_NUMBER
publicstaticfinalintBACKUP_APPLIANCE_LOCK_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LOCK_UNTIL_TIME_FIELD_NUMBER
publicstaticfinalintLOCK_UNTIL_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SERVICE_LOCK_INFO_FIELD_NUMBER
publicstaticfinalintSERVICE_LOCK_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticBackupLockgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticBackupLock.BuildernewBuilder()
newBuilder(BackupLock prototype)
publicstaticBackupLock.BuildernewBuilder(BackupLockprototype)
publicstaticBackupLockparseDelimitedFrom(InputStreaminput)
publicstaticBackupLockparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticBackupLockparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupLockparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticBackupLockparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupLockparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupLockparseFrom(CodedInputStreaminput)
publicstaticBackupLockparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticBackupLockparseFrom(InputStreaminput)
publicstaticBackupLockparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticBackupLockparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticBackupLockparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<BackupLock>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
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()
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.
|
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];
getParserForType()
publicParser<BackupLock>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
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];
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicBackupLock.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedBackupLock.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicBackupLock.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides