Interface BackupConfigOrBuilder (0.18.0)

public interface BackupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPolicies(int index)

public abstract String getBackupPolicies(int index)

Optional. When specified, schedule backups will be created based on the policy configuration.

repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The backupPolicies at the given index.

getBackupPoliciesBytes(int index)

public abstract ByteString getBackupPoliciesBytes(int index)

Optional. When specified, schedule backups will be created based on the policy configuration.

repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the backupPolicies at the given index.

getBackupPoliciesCount()

public abstract int getBackupPoliciesCount()

Optional. When specified, schedule backups will be created based on the policy configuration.

repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of backupPolicies.

getBackupPoliciesList()

public abstract List<String> getBackupPoliciesList()

Optional. When specified, schedule backups will be created based on the policy configuration.

repeated string backup_policies = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
List<String>

A list containing the backupPolicies.

getBackupVault()

public abstract String getBackupVault()

Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The backupVault.

getBackupVaultBytes()

public abstract ByteString getBackupVaultBytes()

Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

string backup_vault = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for backupVault.

getScheduledBackupEnabled()

public abstract boolean getScheduledBackupEnabled()

Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.

optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The scheduledBackupEnabled.

hasScheduledBackupEnabled()

public abstract boolean hasScheduledBackupEnabled()

Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.

optional bool scheduled_backup_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the scheduledBackupEnabled field is set.