Class BackupApplianceBackupConfig.Builder (0.11.0)

public static final class BackupApplianceBackupConfig.Builder extends GeneratedMessageV3.Builder<BackupApplianceBackupConfig.Builder> implements BackupApplianceBackupConfigOrBuilder

BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.

Protobuf type google.cloud.backupdr.v1.BackupApplianceBackupConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackupApplianceBackupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

build()

public BackupApplianceBackupConfig build()
Returns
Type Description
BackupApplianceBackupConfig

buildPartial()

public BackupApplianceBackupConfig buildPartial()
Returns
Type Description
BackupApplianceBackupConfig

clear()

public BackupApplianceBackupConfig.Builder clear()
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

clearApplicationName()

public BackupApplianceBackupConfig.Builder clearApplicationName()

The name of the application.

string application_name = 4;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearBackupApplianceId()

public BackupApplianceBackupConfig.Builder clearBackupApplianceId()

The ID of the backup appliance.

int64 backup_appliance_id = 2;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearBackupApplianceName()

public BackupApplianceBackupConfig.Builder clearBackupApplianceName()

The name of the backup appliance.

string backup_appliance_name = 1;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BackupApplianceBackupConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

clearHostName()

public BackupApplianceBackupConfig.Builder clearHostName()

The name of the host where the application is running.

string host_name = 5;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupApplianceBackupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

clearSlaId()

public BackupApplianceBackupConfig.Builder clearSlaId()

The ID of the SLA of this application.

int64 sla_id = 3;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearSlpName()

public BackupApplianceBackupConfig.Builder clearSlpName()

The name of the SLP associated with the application.

string slp_name = 7;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clearSltName()

public BackupApplianceBackupConfig.Builder clearSltName()

The name of the SLT associated with the application.

string slt_name = 6;

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

clone()

public BackupApplianceBackupConfig.Builder clone()
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

getApplicationName()

public String getApplicationName()

The name of the application.

string application_name = 4;

Returns
Type Description
String

The applicationName.

getApplicationNameBytes()

public ByteString getApplicationNameBytes()

The name of the application.

string application_name = 4;

Returns
Type Description
ByteString

The bytes for applicationName.

getBackupApplianceId()

public long getBackupApplianceId()

The ID of the backup appliance.

int64 backup_appliance_id = 2;

Returns
Type Description
long

The backupApplianceId.

getBackupApplianceName()

public String getBackupApplianceName()

The name of the backup appliance.

string backup_appliance_name = 1;

Returns
Type Description
String

The backupApplianceName.

getBackupApplianceNameBytes()

public ByteString getBackupApplianceNameBytes()

The name of the backup appliance.

string backup_appliance_name = 1;

Returns
Type Description
ByteString

The bytes for backupApplianceName.

getDefaultInstanceForType()

public BackupApplianceBackupConfig getDefaultInstanceForType()
Returns
Type Description
BackupApplianceBackupConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHostName()

public String getHostName()

The name of the host where the application is running.

string host_name = 5;

Returns
Type Description
String

The hostName.

getHostNameBytes()

public ByteString getHostNameBytes()

The name of the host where the application is running.

string host_name = 5;

Returns
Type Description
ByteString

The bytes for hostName.

getSlaId()

public long getSlaId()

The ID of the SLA of this application.

int64 sla_id = 3;

Returns
Type Description
long

The slaId.

getSlpName()

public String getSlpName()

The name of the SLP associated with the application.

string slp_name = 7;

Returns
Type Description
String

The slpName.

getSlpNameBytes()

public ByteString getSlpNameBytes()

The name of the SLP associated with the application.

string slp_name = 7;

Returns
Type Description
ByteString

The bytes for slpName.

getSltName()

public String getSltName()

The name of the SLT associated with the application.

string slt_name = 6;

Returns
Type Description
String

The sltName.

getSltNameBytes()

public ByteString getSltNameBytes()

The name of the SLT associated with the application.

string slt_name = 6;

Returns
Type Description
ByteString

The bytes for sltName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackupApplianceBackupConfig other)

public BackupApplianceBackupConfig.Builder mergeFrom(BackupApplianceBackupConfig other)
Parameter
Name Description
other BackupApplianceBackupConfig
Returns
Type Description
BackupApplianceBackupConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackupApplianceBackupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BackupApplianceBackupConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupApplianceBackupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

setApplicationName(String value)

public BackupApplianceBackupConfig.Builder setApplicationName(String value)

The name of the application.

string application_name = 4;

Parameter
Name Description
value String

The applicationName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setApplicationNameBytes(ByteString value)

public BackupApplianceBackupConfig.Builder setApplicationNameBytes(ByteString value)

The name of the application.

string application_name = 4;

Parameter
Name Description
value ByteString

The bytes for applicationName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setBackupApplianceId(long value)

public BackupApplianceBackupConfig.Builder setBackupApplianceId(long value)

The ID of the backup appliance.

int64 backup_appliance_id = 2;

Parameter
Name Description
value long

The backupApplianceId to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setBackupApplianceName(String value)

public BackupApplianceBackupConfig.Builder setBackupApplianceName(String value)

The name of the backup appliance.

string backup_appliance_name = 1;

Parameter
Name Description
value String

The backupApplianceName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setBackupApplianceNameBytes(ByteString value)

public BackupApplianceBackupConfig.Builder setBackupApplianceNameBytes(ByteString value)

The name of the backup appliance.

string backup_appliance_name = 1;

Parameter
Name Description
value ByteString

The bytes for backupApplianceName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BackupApplianceBackupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

setHostName(String value)

public BackupApplianceBackupConfig.Builder setHostName(String value)

The name of the host where the application is running.

string host_name = 5;

Parameter
Name Description
value String

The hostName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setHostNameBytes(ByteString value)

public BackupApplianceBackupConfig.Builder setHostNameBytes(ByteString value)

The name of the host where the application is running.

string host_name = 5;

Parameter
Name Description
value ByteString

The bytes for hostName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BackupApplianceBackupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides

setSlaId(long value)

public BackupApplianceBackupConfig.Builder setSlaId(long value)

The ID of the SLA of this application.

int64 sla_id = 3;

Parameter
Name Description
value long

The slaId to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setSlpName(String value)

public BackupApplianceBackupConfig.Builder setSlpName(String value)

The name of the SLP associated with the application.

string slp_name = 7;

Parameter
Name Description
value String

The slpName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setSlpNameBytes(ByteString value)

public BackupApplianceBackupConfig.Builder setSlpNameBytes(ByteString value)

The name of the SLP associated with the application.

string slp_name = 7;

Parameter
Name Description
value ByteString

The bytes for slpName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setSltName(String value)

public BackupApplianceBackupConfig.Builder setSltName(String value)

The name of the SLT associated with the application.

string slt_name = 6;

Parameter
Name Description
value String

The sltName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setSltNameBytes(ByteString value)

public BackupApplianceBackupConfig.Builder setSltNameBytes(ByteString value)

The name of the SLT associated with the application.

string slt_name = 6;

Parameter
Name Description
value ByteString

The bytes for sltName to set.

Returns
Type Description
BackupApplianceBackupConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BackupApplianceBackupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackupApplianceBackupConfig.Builder
Overrides