Send feedback
Class BackupApplianceLockInfo (0.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class BackupApplianceLockInfo extends GeneratedMessageV3 implements BackupApplianceLockInfoOrBuilder
BackupApplianceLockInfo contains metadata about the backupappliance that
created the lock.
Protobuf type google.cloud.backupdr.v1.BackupApplianceLockInfo
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_ID_FIELD_NUMBER
public static final int BACKUP_APPLIANCE_ID_FIELD_NUMBER
Field Value
Type
Description
int
BACKUP_APPLIANCE_NAME_FIELD_NUMBER
public static final int BACKUP_APPLIANCE_NAME_FIELD_NUMBER
Field Value
Type
Description
int
BACKUP_IMAGE_FIELD_NUMBER
public static final int BACKUP_IMAGE_FIELD_NUMBER
Field Value
Type
Description
int
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
Field Value
Type
Description
int
LOCK_REASON_FIELD_NUMBER
public static final int LOCK_REASON_FIELD_NUMBER
Field Value
Type
Description
int
SLA_ID_FIELD_NUMBER
public static final int SLA_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static BackupApplianceLockInfo getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BackupApplianceLockInfo . Builder newBuilder ()
newBuilder(BackupApplianceLockInfo prototype)
public static BackupApplianceLockInfo . Builder newBuilder ( BackupApplianceLockInfo prototype )
public static BackupApplianceLockInfo parseDelimitedFrom ( InputStream input )
public static BackupApplianceLockInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BackupApplianceLockInfo parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupApplianceLockInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BackupApplianceLockInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupApplianceLockInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BackupApplianceLockInfo parseFrom ( CodedInputStream input )
public static BackupApplianceLockInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BackupApplianceLockInfo parseFrom ( InputStream input )
public static BackupApplianceLockInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BackupApplianceLockInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupApplianceLockInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BackupApplianceLockInfo> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBackupApplianceId()
public long getBackupApplianceId ()
Required. The ID of the backup/recovery appliance that created this lock.
int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
long
The backupApplianceId.
getBackupApplianceName()
public String getBackupApplianceName ()
Required. The name of the backup/recovery appliance that created this lock.
string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The backupApplianceName.
getBackupApplianceNameBytes()
public ByteString getBackupApplianceNameBytes ()
Required. The name of the backup/recovery appliance that created this lock.
string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for backupApplianceName.
getBackupImage()
public String getBackupImage ()
The image name that depends on this Backup.
string backup_image = 7;
Returns
Type
Description
String
The backupImage.
getBackupImageBytes()
public ByteString getBackupImageBytes ()
The image name that depends on this Backup.
string backup_image = 7;
Returns
Type
Description
ByteString
The bytes for backupImage.
getDefaultInstanceForType()
public BackupApplianceLockInfo getDefaultInstanceForType ()
getJobName()
public String getJobName ()
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Returns
Type
Description
String
The jobName.
getJobNameBytes()
public ByteString getJobNameBytes ()
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Returns
Type
Description
ByteString
The bytes for jobName.
getLockReason()
public String getLockReason ()
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.
string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The lockReason.
getLockReasonBytes()
public ByteString getLockReasonBytes ()
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.
string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for lockReason.
getLockSourceCase()
public BackupApplianceLockInfo . LockSourceCase getLockSourceCase ()
getParserForType()
public Parser<BackupApplianceLockInfo> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSlaId()
The SLA on the backup/recovery appliance that owns the lock.
int64 sla_id = 8;
Returns
Type
Description
long
The slaId.
hasBackupImage()
public boolean hasBackupImage ()
The image name that depends on this Backup.
string backup_image = 7;
Returns
Type
Description
boolean
Whether the backupImage field is set.
hasJobName()
public boolean hasJobName ()
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Returns
Type
Description
boolean
Whether the jobName field is set.
hasSlaId()
public boolean hasSlaId ()
The SLA on the backup/recovery appliance that owns the lock.
int64 sla_id = 8;
Returns
Type
Description
boolean
Whether the slaId field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BackupApplianceLockInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupApplianceLockInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public BackupApplianceLockInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]