Class BackupApplianceLockInfo (0.10.0)

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

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()
Returns
Type Description
BackupApplianceLockInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackupApplianceLockInfo.Builder newBuilder()
Returns
Type Description
BackupApplianceLockInfo.Builder

newBuilder(BackupApplianceLockInfo prototype)

public static BackupApplianceLockInfo.Builder newBuilder(BackupApplianceLockInfo prototype)
Parameter
Name Description
prototype BackupApplianceLockInfo
Returns
Type Description
BackupApplianceLockInfo.Builder

parseDelimitedFrom(InputStream input)

public static BackupApplianceLockInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackupApplianceLockInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupApplianceLockInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupApplianceLockInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackupApplianceLockInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackupApplianceLockInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupApplianceLockInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceLockInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackupApplianceLockInfo> parser()
Returns
Type Description
Parser<BackupApplianceLockInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
BackupApplianceLockInfo

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()
Returns
Type Description
BackupApplianceLockInfo.LockSourceCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSlaId()

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

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackupApplianceLockInfo.Builder newBuilderForType()
Returns
Type Description
BackupApplianceLockInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupApplianceLockInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupApplianceLockInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackupApplianceLockInfo.Builder toBuilder()
Returns
Type Description
BackupApplianceLockInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException