Class BackupDisasterRecovery.Builder (2.49.0)

public static final class BackupDisasterRecovery.Builder extends GeneratedMessageV3.Builder<BackupDisasterRecovery.Builder> implements BackupDisasterRecoveryOrBuilder

Information related to Google Cloud Backup and DR Service findings.

Protobuf type google.cloud.securitycenter.v2.BackupDisasterRecovery

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllApplications(Iterable<String> values)

public BackupDisasterRecovery.Builder addAllApplications(Iterable<String> values)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
NameDescription
valuesIterable<String>

The applications to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addAllPolicies(Iterable<String> values)

public BackupDisasterRecovery.Builder addAllPolicies(Iterable<String> values)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
NameDescription
valuesIterable<String>

The policies to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addAllPolicyOptions(Iterable<String> values)

public BackupDisasterRecovery.Builder addAllPolicyOptions(Iterable<String> values)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
NameDescription
valuesIterable<String>

The policyOptions to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addApplications(String value)

public BackupDisasterRecovery.Builder addApplications(String value)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
NameDescription
valueString

The applications to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addApplicationsBytes(ByteString value)

public BackupDisasterRecovery.Builder addApplicationsBytes(ByteString value)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
NameDescription
valueByteString

The bytes of the applications to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addPolicies(String value)

public BackupDisasterRecovery.Builder addPolicies(String value)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
NameDescription
valueString

The policies to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addPoliciesBytes(ByteString value)

public BackupDisasterRecovery.Builder addPoliciesBytes(ByteString value)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
NameDescription
valueByteString

The bytes of the policies to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addPolicyOptions(String value)

public BackupDisasterRecovery.Builder addPolicyOptions(String value)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
NameDescription
valueString

The policyOptions to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addPolicyOptionsBytes(ByteString value)

public BackupDisasterRecovery.Builder addPolicyOptionsBytes(ByteString value)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
NameDescription
valueByteString

The bytes of the policyOptions to add.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackupDisasterRecovery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

build()

public BackupDisasterRecovery build()
Returns
TypeDescription
BackupDisasterRecovery

buildPartial()

public BackupDisasterRecovery buildPartial()
Returns
TypeDescription
BackupDisasterRecovery

clear()

public BackupDisasterRecovery.Builder clear()
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

clearAppliance()

public BackupDisasterRecovery.Builder clearAppliance()

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearApplications()

public BackupDisasterRecovery.Builder clearApplications()

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearBackupCreateTime()

public BackupDisasterRecovery.Builder clearBackupCreateTime()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
TypeDescription
BackupDisasterRecovery.Builder

clearBackupTemplate()

public BackupDisasterRecovery.Builder clearBackupTemplate()

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearBackupType()

public BackupDisasterRecovery.Builder clearBackupType()

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BackupDisasterRecovery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

clearHost()

public BackupDisasterRecovery.Builder clearHost()

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupDisasterRecovery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

clearPolicies()

public BackupDisasterRecovery.Builder clearPolicies()

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearPolicyOptions()

public BackupDisasterRecovery.Builder clearPolicyOptions()

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearProfile()

public BackupDisasterRecovery.Builder clearProfile()

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clearStoragePool()

public BackupDisasterRecovery.Builder clearStoragePool()

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

clone()

public BackupDisasterRecovery.Builder clone()
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

getAppliance()

public String getAppliance()

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Returns
TypeDescription
String

The appliance.

getApplianceBytes()

public ByteString getApplianceBytes()

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Returns
TypeDescription
ByteString

The bytes for appliance.

getApplications(int index)

public String getApplications(int index)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The applications at the given index.

getApplicationsBytes(int index)

public ByteString getApplicationsBytes(int index)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the applications at the given index.

getApplicationsCount()

public int getApplicationsCount()

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Returns
TypeDescription
int

The count of applications.

getApplicationsList()

public ProtocolStringList getApplicationsList()

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the applications.

getBackupCreateTime()

public Timestamp getBackupCreateTime()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
TypeDescription
Timestamp

The backupCreateTime.

getBackupCreateTimeBuilder()

public Timestamp.Builder getBackupCreateTimeBuilder()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
TypeDescription
Builder

getBackupCreateTimeOrBuilder()

public TimestampOrBuilder getBackupCreateTimeOrBuilder()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getBackupTemplate()

public String getBackupTemplate()

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Returns
TypeDescription
String

The backupTemplate.

getBackupTemplateBytes()

public ByteString getBackupTemplateBytes()

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Returns
TypeDescription
ByteString

The bytes for backupTemplate.

getBackupType()

public String getBackupType()

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Returns
TypeDescription
String

The backupType.

getBackupTypeBytes()

public ByteString getBackupTypeBytes()

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Returns
TypeDescription
ByteString

The bytes for backupType.

getDefaultInstanceForType()

public BackupDisasterRecovery getDefaultInstanceForType()
Returns
TypeDescription
BackupDisasterRecovery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHost()

public String getHost()

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Returns
TypeDescription
String

The host.

getHostBytes()

public ByteString getHostBytes()

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Returns
TypeDescription
ByteString

The bytes for host.

getPolicies(int index)

public String getPolicies(int index)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The policies at the given index.

getPoliciesBytes(int index)

public ByteString getPoliciesBytes(int index)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the policies at the given index.

getPoliciesCount()

public int getPoliciesCount()

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Returns
TypeDescription
int

The count of policies.

getPoliciesList()

public ProtocolStringList getPoliciesList()

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the policies.

getPolicyOptions(int index)

public String getPolicyOptions(int index)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The policyOptions at the given index.

getPolicyOptionsBytes(int index)

public ByteString getPolicyOptionsBytes(int index)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the policyOptions at the given index.

getPolicyOptionsCount()

public int getPolicyOptionsCount()

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Returns
TypeDescription
int

The count of policyOptions.

getPolicyOptionsList()

public ProtocolStringList getPolicyOptionsList()

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the policyOptions.

getProfile()

public String getProfile()

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Returns
TypeDescription
String

The profile.

getProfileBytes()

public ByteString getProfileBytes()

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Returns
TypeDescription
ByteString

The bytes for profile.

getStoragePool()

public String getStoragePool()

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Returns
TypeDescription
String

The storagePool.

getStoragePoolBytes()

public ByteString getStoragePoolBytes()

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Returns
TypeDescription
ByteString

The bytes for storagePool.

hasBackupCreateTime()

public boolean hasBackupCreateTime()

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Returns
TypeDescription
boolean

Whether the backupCreateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBackupCreateTime(Timestamp value)

public BackupDisasterRecovery.Builder mergeBackupCreateTime(Timestamp value)

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupDisasterRecovery.Builder

mergeFrom(BackupDisasterRecovery other)

public BackupDisasterRecovery.Builder mergeFrom(BackupDisasterRecovery other)
Parameter
NameDescription
otherBackupDisasterRecovery
Returns
TypeDescription
BackupDisasterRecovery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackupDisasterRecovery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BackupDisasterRecovery.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupDisasterRecovery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

setAppliance(String value)

public BackupDisasterRecovery.Builder setAppliance(String value)

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Parameter
NameDescription
valueString

The appliance to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setApplianceBytes(ByteString value)

public BackupDisasterRecovery.Builder setApplianceBytes(ByteString value)

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, backup-server-57137.

string appliance = 8;

Parameter
NameDescription
valueByteString

The bytes for appliance to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setApplications(int index, String value)

public BackupDisasterRecovery.Builder setApplications(int index, String value)

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, centos7-01-vol00, centos7-01-vol01, centos7-01-vol02.

repeated string applications = 4;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The applications to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setBackupCreateTime(Timestamp value)

public BackupDisasterRecovery.Builder setBackupCreateTime(Timestamp value)

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BackupDisasterRecovery.Builder

setBackupCreateTime(Timestamp.Builder builderForValue)

public BackupDisasterRecovery.Builder setBackupCreateTime(Timestamp.Builder builderForValue)

The timestamp at which the Backup and DR backup was created.

.google.protobuf.Timestamp backup_create_time = 10;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BackupDisasterRecovery.Builder

setBackupTemplate(String value)

public BackupDisasterRecovery.Builder setBackupTemplate(String value)

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Parameter
NameDescription
valueString

The backupTemplate to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setBackupTemplateBytes(ByteString value)

public BackupDisasterRecovery.Builder setBackupTemplateBytes(ByteString value)

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, snap-ov.

string backup_template = 1;

Parameter
NameDescription
valueByteString

The bytes for backupTemplate to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setBackupType(String value)

public BackupDisasterRecovery.Builder setBackupType(String value)

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Parameter
NameDescription
valueString

The backupType to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setBackupTypeBytes(ByteString value)

public BackupDisasterRecovery.Builder setBackupTypeBytes(ByteString value)

The backup type of the Backup and DR image. For example, Snapshot, Remote Snapshot, OnVault.

string backup_type = 9;

Parameter
NameDescription
valueByteString

The bytes for backupType to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BackupDisasterRecovery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

setHost(String value)

public BackupDisasterRecovery.Builder setHost(String value)

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Parameter
NameDescription
valueString

The host to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setHostBytes(ByteString value)

public BackupDisasterRecovery.Builder setHostBytes(ByteString value)

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, centos7-01.

string host = 3;

Parameter
NameDescription
valueByteString

The bytes for host to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setPolicies(int index, String value)

public BackupDisasterRecovery.Builder setPolicies(int index, String value)

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, onvaults.

repeated string policies = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The policies to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setPolicyOptions(int index, String value)

public BackupDisasterRecovery.Builder setPolicyOptions(int index, String value)

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, skipofflineappsincongrp, nounmap.

repeated string policy_options = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The policyOptions to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setProfile(String value)

public BackupDisasterRecovery.Builder setProfile(String value)

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Parameter
NameDescription
valueString

The profile to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setProfileBytes(ByteString value)

public BackupDisasterRecovery.Builder setProfileBytes(ByteString value)

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, GCP.

string profile = 7;

Parameter
NameDescription
valueByteString

The bytes for profile to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

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

public BackupDisasterRecovery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides

setStoragePool(String value)

public BackupDisasterRecovery.Builder setStoragePool(String value)

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Parameter
NameDescription
valueString

The storagePool to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setStoragePoolBytes(ByteString value)

public BackupDisasterRecovery.Builder setStoragePoolBytes(ByteString value)

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, DiskPoolOne.

string storage_pool = 5;

Parameter
NameDescription
valueByteString

The bytes for storagePool to set.

Returns
TypeDescription
BackupDisasterRecovery.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BackupDisasterRecovery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BackupDisasterRecovery.Builder
Overrides