Class BackupDisasterRecovery.Builder (2.63.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.v1.BackupDisasterRecovery

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<String>

The applications to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The policies to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The policyOptions to add.

Returns
Type Description
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
Name Description
value String

The applications to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the applications to add.

Returns
Type Description
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
Name Description
value String

The policies to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the policies to add.

Returns
Type Description
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
Name Description
value String

The policyOptions to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the policyOptions to add.

Returns
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackupDisasterRecovery build()
Returns
Type Description
BackupDisasterRecovery

buildPartial()

public BackupDisasterRecovery buildPartial()
Returns
Type Description
BackupDisasterRecovery

clear()

public BackupDisasterRecovery.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BackupDisasterRecovery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupDisasterRecovery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

clone()

public BackupDisasterRecovery.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder

getBackupCreateTimeOrBuilder()

public TimestampOrBuilder getBackupCreateTimeOrBuilder()

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

.google.protobuf.Timestamp backup_create_time = 10;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for backupType.

getDefaultInstanceForType()

public BackupDisasterRecovery getDefaultInstanceForType()
Returns
Type Description
BackupDisasterRecovery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the backupCreateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
BackupDisasterRecovery.Builder

mergeFrom(BackupDisasterRecovery other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupDisasterRecovery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The appliance to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for appliance to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The applications to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value String

The backupTemplate to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for backupTemplate to set.

Returns
Type Description
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
Name Description
value String

The backupType to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for backupType to set.

Returns
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BackupDisasterRecovery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The host to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The policies to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The policyOptions to set.

Returns
Type Description
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
Name Description
value String

The profile to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for profile to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The storagePool to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for storagePool to set.

Returns
Type Description
BackupDisasterRecovery.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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