Class BackupApplianceLockInfo (0.19.0)

publicfinalclass BackupApplianceLockInfoextendsGeneratedMessageV3implementsBackupApplianceLockInfoOrBuilder

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

publicstaticfinalintBACKUP_APPLIANCE_ID_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_APPLIANCE_NAME_FIELD_NUMBER

publicstaticfinalintBACKUP_APPLIANCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_IMAGE_FIELD_NUMBER

publicstaticfinalintBACKUP_IMAGE_FIELD_NUMBER
Field Value
Type Description
int

JOB_NAME_FIELD_NUMBER

publicstaticfinalintJOB_NAME_FIELD_NUMBER
Field Value
Type Description
int

LOCK_REASON_FIELD_NUMBER

publicstaticfinalintLOCK_REASON_FIELD_NUMBER
Field Value
Type Description
int

SLA_ID_FIELD_NUMBER

publicstaticfinalintSLA_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBackupApplianceLockInfogetDefaultInstance()
Returns
Type Description
BackupApplianceLockInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBackupApplianceLockInfo.BuildernewBuilder()
Returns
Type Description
BackupApplianceLockInfo.Builder

newBuilder(BackupApplianceLockInfo prototype)

publicstaticBackupApplianceLockInfo.BuildernewBuilder(BackupApplianceLockInfoprototype)
Parameter
Name Description
prototype BackupApplianceLockInfo
Returns
Type Description
BackupApplianceLockInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupApplianceLockInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticBackupApplianceLockInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBackupApplianceLockInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBackupApplianceLockInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticBackupApplianceLockInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticBackupApplianceLockInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupApplianceLockInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<BackupApplianceLockInfo>parser()
Returns
Type Description
Parser<BackupApplianceLockInfo>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupApplianceId()

publiclonggetBackupApplianceId()

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

publicStringgetBackupApplianceName()

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

publicByteStringgetBackupApplianceNameBytes()

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

publicStringgetBackupImage()

The image name that depends on this Backup.

string backup_image = 7;

Returns
Type Description
String

The backupImage.

getBackupImageBytes()

publicByteStringgetBackupImageBytes()

The image name that depends on this Backup.

string backup_image = 7;

Returns
Type Description
ByteString

The bytes for backupImage.

getDefaultInstanceForType()

publicBackupApplianceLockInfogetDefaultInstanceForType()
Returns
Type Description
BackupApplianceLockInfo

getJobName()

publicStringgetJobName()

The job name on the backup/recovery appliance that created this lock.

string job_name = 6;

Returns
Type Description
String

The jobName.

getJobNameBytes()

publicByteStringgetJobNameBytes()

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

publicStringgetLockReason()

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

publicByteStringgetLockReasonBytes()

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

publicBackupApplianceLockInfo.LockSourceCasegetLockSourceCase()
Returns
Type Description
BackupApplianceLockInfo.LockSourceCase

getParserForType()

publicParser<BackupApplianceLockInfo>getParserForType()
Returns
Type Description
Parser<BackupApplianceLockInfo>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSlaId()

publiclonggetSlaId()

The SLA on the backup/recovery appliance that owns the lock.

int64 sla_id = 8;

Returns
Type Description
long

The slaId.

hasBackupImage()

publicbooleanhasBackupImage()

The image name that depends on this Backup.

string backup_image = 7;

Returns
Type Description
boolean

Whether the backupImage field is set.

hasJobName()

publicbooleanhasJobName()

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

publicbooleanhasSlaId()

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

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBackupApplianceLockInfo.BuildernewBuilderForType()
Returns
Type Description
BackupApplianceLockInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackupApplianceLockInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupApplianceLockInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicBackupApplianceLockInfo.BuildertoBuilder()
Returns
Type Description
BackupApplianceLockInfo.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.