Class DataSourceBackupApplianceApplication.Builder (0.12.0)

public static final class DataSourceBackupApplianceApplication.Builder extends GeneratedMessageV3.Builder<DataSourceBackupApplianceApplication.Builder> implements DataSourceBackupApplianceApplicationOrBuilder

BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.

Protobuf type google.cloud.backupdr.v1.DataSourceBackupApplianceApplication

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataSourceBackupApplianceApplication build()
Returns
Type Description
DataSourceBackupApplianceApplication

buildPartial()

public DataSourceBackupApplianceApplication buildPartial()
Returns
Type Description
DataSourceBackupApplianceApplication

clear()

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

clearApplianceId()

public DataSourceBackupApplianceApplication.Builder clearApplianceId()

Appliance Id of the Backup Appliance.

int64 appliance_id = 3;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearApplicationId()

public DataSourceBackupApplianceApplication.Builder clearApplicationId()

The appid field of the application within the Backup Appliance.

int64 application_id = 8;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearApplicationName()

public DataSourceBackupApplianceApplication.Builder clearApplicationName()

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearBackupAppliance()

public DataSourceBackupApplianceApplication.Builder clearBackupAppliance()

Appliance name.

string backup_appliance = 2;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHostId()

public DataSourceBackupApplianceApplication.Builder clearHostId()

Hostid of the application host.

int64 host_id = 7;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearHostname()

public DataSourceBackupApplianceApplication.Builder clearHostname()

Hostname of the host where the application is running.

string hostname = 6;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public DataSourceBackupApplianceApplication.Builder clearType()

The type of the application. e.g. VMBackup

string type = 4;

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

clone()

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

getApplianceId()

public long getApplianceId()

Appliance Id of the Backup Appliance.

int64 appliance_id = 3;

Returns
Type Description
long

The applianceId.

getApplicationId()

public long getApplicationId()

The appid field of the application within the Backup Appliance.

int64 application_id = 8;

Returns
Type Description
long

The applicationId.

getApplicationName()

public String getApplicationName()

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Returns
Type Description
String

The applicationName.

getApplicationNameBytes()

public ByteString getApplicationNameBytes()

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Returns
Type Description
ByteString

The bytes for applicationName.

getBackupAppliance()

public String getBackupAppliance()

Appliance name.

string backup_appliance = 2;

Returns
Type Description
String

The backupAppliance.

getBackupApplianceBytes()

public ByteString getBackupApplianceBytes()

Appliance name.

string backup_appliance = 2;

Returns
Type Description
ByteString

The bytes for backupAppliance.

getDefaultInstanceForType()

public DataSourceBackupApplianceApplication getDefaultInstanceForType()
Returns
Type Description
DataSourceBackupApplianceApplication

getDescriptorForType()

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

getHostId()

public long getHostId()

Hostid of the application host.

int64 host_id = 7;

Returns
Type Description
long

The hostId.

getHostname()

public String getHostname()

Hostname of the host where the application is running.

string hostname = 6;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Hostname of the host where the application is running.

string hostname = 6;

Returns
Type Description
ByteString

The bytes for hostname.

getType()

public String getType()

The type of the application. e.g. VMBackup

string type = 4;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

The type of the application. e.g. VMBackup

string type = 4;

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataSourceBackupApplianceApplication other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApplianceId(long value)

public DataSourceBackupApplianceApplication.Builder setApplianceId(long value)

Appliance Id of the Backup Appliance.

int64 appliance_id = 3;

Parameter
Name Description
value long

The applianceId to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setApplicationId(long value)

public DataSourceBackupApplianceApplication.Builder setApplicationId(long value)

The appid field of the application within the Backup Appliance.

int64 application_id = 8;

Parameter
Name Description
value long

The applicationId to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setApplicationName(String value)

public DataSourceBackupApplianceApplication.Builder setApplicationName(String value)

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Parameter
Name Description
value String

The applicationName to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setApplicationNameBytes(ByteString value)

public DataSourceBackupApplianceApplication.Builder setApplicationNameBytes(ByteString value)

The name of the Application as known to the Backup Appliance.

string application_name = 1;

Parameter
Name Description
value ByteString

The bytes for applicationName to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setBackupAppliance(String value)

public DataSourceBackupApplianceApplication.Builder setBackupAppliance(String value)

Appliance name.

string backup_appliance = 2;

Parameter
Name Description
value String

The backupAppliance to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setBackupApplianceBytes(ByteString value)

public DataSourceBackupApplianceApplication.Builder setBackupApplianceBytes(ByteString value)

Appliance name.

string backup_appliance = 2;

Parameter
Name Description
value ByteString

The bytes for backupAppliance to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHostId(long value)

public DataSourceBackupApplianceApplication.Builder setHostId(long value)

Hostid of the application host.

int64 host_id = 7;

Parameter
Name Description
value long

The hostId to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setHostname(String value)

public DataSourceBackupApplianceApplication.Builder setHostname(String value)

Hostname of the host where the application is running.

string hostname = 6;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public DataSourceBackupApplianceApplication.Builder setHostnameBytes(ByteString value)

Hostname of the host where the application is running.

string hostname = 6;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

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

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

setType(String value)

public DataSourceBackupApplianceApplication.Builder setType(String value)

The type of the application. e.g. VMBackup

string type = 4;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public DataSourceBackupApplianceApplication.Builder setTypeBytes(ByteString value)

The type of the application. e.g. VMBackup

string type = 4;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
DataSourceBackupApplianceApplication.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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