- 0.52.0 (latest)
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public interface BackupConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |