Class BackupDrPlanConfig.Builder (0.42.0)

public static final class BackupDrPlanConfig.Builder extends GeneratedMessage.Builder<BackupDrPlanConfig.Builder> implements BackupDrPlanConfigOrBuilder

BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration.

Protobuf type google.cloud.backupdr.v1.BackupDrPlanConfig

Static Methods

getDescriptor()

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

Methods

addAllBackupDrPlanRules(Iterable<? extends BackupDrPlanRule> values)

public BackupDrPlanConfig.Builder addAllBackupDrPlanRules(Iterable<? extends BackupDrPlanRule> values)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.BackupDrPlanRule>
Returns
Type Description
BackupDrPlanConfig.Builder

addBackupDrPlanRules(BackupDrPlanRule value)

public BackupDrPlanConfig.Builder addBackupDrPlanRules(BackupDrPlanRule value)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
value BackupDrPlanRule
Returns
Type Description
BackupDrPlanConfig.Builder

addBackupDrPlanRules(BackupDrPlanRule.Builder builderForValue)

public BackupDrPlanConfig.Builder addBackupDrPlanRules(BackupDrPlanRule.Builder builderForValue)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
builderForValue BackupDrPlanRule.Builder
Returns
Type Description
BackupDrPlanConfig.Builder

addBackupDrPlanRules(int index, BackupDrPlanRule value)

public BackupDrPlanConfig.Builder addBackupDrPlanRules(int index, BackupDrPlanRule value)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameters
Name Description
index int
value BackupDrPlanRule
Returns
Type Description
BackupDrPlanConfig.Builder

addBackupDrPlanRules(int index, BackupDrPlanRule.Builder builderForValue)

public BackupDrPlanConfig.Builder addBackupDrPlanRules(int index, BackupDrPlanRule.Builder builderForValue)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameters
Name Description
index int
builderForValue BackupDrPlanRule.Builder
Returns
Type Description
BackupDrPlanConfig.Builder

addBackupDrPlanRulesBuilder()

public BackupDrPlanRule.Builder addBackupDrPlanRulesBuilder()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
BackupDrPlanRule.Builder

addBackupDrPlanRulesBuilder(int index)

public BackupDrPlanRule.Builder addBackupDrPlanRulesBuilder(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRule.Builder

build()

public BackupDrPlanConfig build()
Returns
Type Description
BackupDrPlanConfig

buildPartial()

public BackupDrPlanConfig buildPartial()
Returns
Type Description
BackupDrPlanConfig

clear()

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

clearBackupDrPlanRules()

public BackupDrPlanConfig.Builder clearBackupDrPlanRules()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
BackupDrPlanConfig.Builder

getBackupDrPlanRules(int index)

public BackupDrPlanRule getBackupDrPlanRules(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRule

getBackupDrPlanRulesBuilder(int index)

public BackupDrPlanRule.Builder getBackupDrPlanRulesBuilder(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRule.Builder

getBackupDrPlanRulesBuilderList()

public List<BackupDrPlanRule.Builder> getBackupDrPlanRulesBuilderList()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
List<Builder>

getBackupDrPlanRulesCount()

public int getBackupDrPlanRulesCount()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
int

getBackupDrPlanRulesList()

public List<BackupDrPlanRule> getBackupDrPlanRulesList()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
List<BackupDrPlanRule>

getBackupDrPlanRulesOrBuilder(int index)

public BackupDrPlanRuleOrBuilder getBackupDrPlanRulesOrBuilder(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanRuleOrBuilder

getBackupDrPlanRulesOrBuilderList()

public List<? extends BackupDrPlanRuleOrBuilder> getBackupDrPlanRulesOrBuilderList()

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupDrPlanRuleOrBuilder>

getDefaultInstanceForType()

public BackupDrPlanConfig getDefaultInstanceForType()
Returns
Type Description
BackupDrPlanConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackupDrPlanConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeBackupDrPlanRules(int index)

public BackupDrPlanConfig.Builder removeBackupDrPlanRules(int index)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupDrPlanConfig.Builder

setBackupDrPlanRules(int index, BackupDrPlanRule value)

public BackupDrPlanConfig.Builder setBackupDrPlanRules(int index, BackupDrPlanRule value)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameters
Name Description
index int
value BackupDrPlanRule
Returns
Type Description
BackupDrPlanConfig.Builder

setBackupDrPlanRules(int index, BackupDrPlanRule.Builder builderForValue)

public BackupDrPlanConfig.Builder setBackupDrPlanRules(int index, BackupDrPlanRule.Builder builderForValue)

Backup rules of the backup plan resource.

repeated .google.cloud.backupdr.v1.BackupDrPlanRule backup_dr_plan_rules = 1;

Parameters
Name Description
index int
builderForValue BackupDrPlanRule.Builder
Returns
Type Description
BackupDrPlanConfig.Builder