public static final class BackupApplianceLockInfo.Builder extends GeneratedMessageV3.Builder<BackupApplianceLockInfo.Builder> implements BackupApplianceLockInfoOrBuilder
BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.
Protobuf type google.cloud.backupdr.v1.BackupApplianceLockInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackupApplianceLockInfo.BuilderImplements
BackupApplianceLockInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackupApplianceLockInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
build()
public BackupApplianceLockInfo build()
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo |
buildPartial()
public BackupApplianceLockInfo buildPartial()
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo |
clear()
public BackupApplianceLockInfo.Builder clear()
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
clearBackupApplianceId()
public BackupApplianceLockInfo.Builder clearBackupApplianceId()
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 |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clearBackupApplianceName()
public BackupApplianceLockInfo.Builder clearBackupApplianceName()
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 |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clearBackupImage()
public BackupApplianceLockInfo.Builder clearBackupImage()
The image name that depends on this Backup.
string backup_image = 7;
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BackupApplianceLockInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
clearJobName()
public BackupApplianceLockInfo.Builder clearJobName()
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clearLockReason()
public BackupApplianceLockInfo.Builder clearLockReason()
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 |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clearLockSource()
public BackupApplianceLockInfo.Builder clearLockSource()
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackupApplianceLockInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
clearSlaId()
public BackupApplianceLockInfo.Builder clearSlaId()
The SLA on the backup/recovery appliance that owns the lock.
int64 sla_id = 8;
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
clone()
public BackupApplianceLockInfo.Builder clone()
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BackupApplianceLockInfo other)
public BackupApplianceLockInfo.Builder mergeFrom(BackupApplianceLockInfo other)
Parameter | |
---|---|
Name | Description |
other |
BackupApplianceLockInfo |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupApplianceLockInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackupApplianceLockInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackupApplianceLockInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
setBackupApplianceId(long value)
public BackupApplianceLockInfo.Builder setBackupApplianceId(long value)
Required. The ID of the backup/recovery appliance that created this lock.
int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
long The backupApplianceId to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setBackupApplianceName(String value)
public BackupApplianceLockInfo.Builder setBackupApplianceName(String value)
Required. The name of the backup/recovery appliance that created this lock.
string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The backupApplianceName to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setBackupApplianceNameBytes(ByteString value)
public BackupApplianceLockInfo.Builder setBackupApplianceNameBytes(ByteString value)
Required. The name of the backup/recovery appliance that created this lock.
string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupApplianceName to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setBackupImage(String value)
public BackupApplianceLockInfo.Builder setBackupImage(String value)
The image name that depends on this Backup.
string backup_image = 7;
Parameter | |
---|---|
Name | Description |
value |
String The backupImage to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setBackupImageBytes(ByteString value)
public BackupApplianceLockInfo.Builder setBackupImageBytes(ByteString value)
The image name that depends on this Backup.
string backup_image = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for backupImage to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BackupApplianceLockInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
setJobName(String value)
public BackupApplianceLockInfo.Builder setJobName(String value)
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Parameter | |
---|---|
Name | Description |
value |
String The jobName to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setJobNameBytes(ByteString value)
public BackupApplianceLockInfo.Builder setJobNameBytes(ByteString value)
The job name on the backup/recovery appliance that created this lock.
string job_name = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for jobName to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setLockReason(String value)
public BackupApplianceLockInfo.Builder setLockReason(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The lockReason to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setLockReasonBytes(ByteString value)
public BackupApplianceLockInfo.Builder setLockReasonBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for lockReason to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackupApplianceLockInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
setSlaId(long value)
public BackupApplianceLockInfo.Builder setSlaId(long value)
The SLA on the backup/recovery appliance that owns the lock.
int64 sla_id = 8;
Parameter | |
---|---|
Name | Description |
value |
long The slaId to set. |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackupApplianceLockInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackupApplianceLockInfo.Builder |