Interface BackupConfigOrBuilder (0.33.0)

public interface BackupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupChainBytes()

public abstract long getBackupChainBytes()

Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).

optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The backupChainBytes.

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

The index of the element to return.

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

The index of the value to return.

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

The scheduledBackupEnabled.

hasBackupChainBytes()

public abstract boolean hasBackupChainBytes()

Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).

optional int64 backup_chain_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the backupChainBytes field is set.

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

Whether the scheduledBackupEnabled field is set.