# Interface BackupConfigDetailsOrBuilder (0.50.0)

0.50.0 (latest) 0.47.0 0.46.0 0.44.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface BackupConfigDetailsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getApplicableResource()

    public abstract String getApplicableResource()

Output only. The [full resource
name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
of the resource that is applicable for the backup configuration. Example:
"//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"

`string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The applicableResource. |

### getApplicableResourceBytes()

    public abstract ByteString getApplicableResourceBytes()

Output only. The [full resource
name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
of the resource that is applicable for the backup configuration. Example:
"//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"

`string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for applicableResource. |

### getBackupConfigSource()

    public abstract String getBackupConfigSource()

Output only. The full resource name of the backup config source resource.
For example,
"//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}"
or
"//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".

`string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The backupConfigSource. |

### getBackupConfigSourceBytes()

    public abstract ByteString getBackupConfigSourceBytes()

Output only. The full resource name of the backup config source resource.
For example,
"//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}"
or
"//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".

`string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for backupConfigSource. |

### getBackupConfigSourceDisplayName()

    public abstract String getBackupConfigSourceDisplayName()

Output only. The display name of the backup config source resource.

`
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The backupConfigSourceDisplayName. |

### getBackupConfigSourceDisplayNameBytes()

    public abstract ByteString getBackupConfigSourceDisplayNameBytes()

Output only. The display name of the backup config source resource.

`
string backup_config_source_display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for backupConfigSourceDisplayName. |

### getBackupDrPlanConfig()

    public abstract BackupDrPlanConfig getBackupDrPlanConfig()

Google Cloud Backup and DR's Backup Plan specific data.

`.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupDrPlanConfig` | The backupDrPlanConfig. |

### getBackupDrPlanConfigOrBuilder()

    public abstract BackupDrPlanConfigOrBuilder getBackupDrPlanConfigOrBuilder()

Google Cloud Backup and DR's Backup Plan specific data.

`.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupDrPlanConfigOrBuilder` |   |

### getBackupDrTemplateConfig()

    public abstract BackupDrTemplateConfig getBackupDrTemplateConfig()

Google Cloud Backup and DR's Template specific data.

`.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupDrTemplateConfig` | The backupDrTemplateConfig. |

### getBackupDrTemplateConfigOrBuilder()

    public abstract BackupDrTemplateConfigOrBuilder getBackupDrTemplateConfigOrBuilder()

Google Cloud Backup and DR's Template specific data.

`.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupDrTemplateConfigOrBuilder` |   |

### getBackupLocations(int index)

    public abstract BackupLocation getBackupLocations(int index)

The locations where the backups are to be stored.

`repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupLocation` |   |

### getBackupLocationsCount()

    public abstract int getBackupLocationsCount()

The locations where the backups are to be stored.

`repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBackupLocationsList()

    public abstract List<BackupLocation> getBackupLocationsList()

The locations where the backups are to be stored.

`repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupLocation>` |   |

### getBackupLocationsOrBuilder(int index)

    public abstract BackupLocationOrBuilder getBackupLocationsOrBuilder(int index)

The locations where the backups are to be stored.

`repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupLocationOrBuilder` |   |

### getBackupLocationsOrBuilderList()

    public abstract List<? extends BackupLocationOrBuilder> getBackupLocationsOrBuilderList()

The locations where the backups are to be stored.

`repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.backupdr.v1.BackupLocationOrBuilder>` |   |

### getBackupVault()

    public abstract String getBackupVault()

Output only. The [full resource
name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
of the backup vault that will store the backups generated through this
backup configuration. Example:
"//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"

`string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The backupVault. |

### getBackupVaultBytes()

    public abstract ByteString getBackupVaultBytes()

Output only. The [full resource
name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
of the backup vault that will store the backups generated through this
backup configuration. Example:
"//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"

`string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for backupVault. |

### getLatestSuccessfulBackupTime()

    public abstract Timestamp getLatestSuccessfulBackupTime()

Output only. Timestamp of the latest successful backup created via this
backup configuration.

`
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The latestSuccessfulBackupTime. |

### getLatestSuccessfulBackupTimeOrBuilder()

    public abstract TimestampOrBuilder getLatestSuccessfulBackupTimeOrBuilder()

Output only. Timestamp of the latest successful backup created via this
backup configuration.

`
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getPitrSettings()

    public abstract PitrSettings getPitrSettings()

Output only. Point in time recovery settings of the backup configuration
resource.

`
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.PitrSettings` | The pitrSettings. |

### getPitrSettingsOrBuilder()

    public abstract PitrSettingsOrBuilder getPitrSettingsOrBuilder()

Output only. Point in time recovery settings of the backup configuration
resource.

`
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.PitrSettingsOrBuilder` |   |

### getPlanSpecificConfigCase()

    public abstract BackupConfigDetails.PlanSpecificConfigCase getPlanSpecificConfigCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupConfigDetails.PlanSpecificConfigCase` |   |

### getState()

    public abstract BackupConfigDetails.State getState()

Output only. The state of the backup config resource.

`
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupConfigDetails.State` | The state. |

### getStateValue()

    public abstract int getStateValue()

Output only. The state of the backup config resource.

`
.google.cloud.backupdr.v1.BackupConfigDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### getType()

    public abstract BackupConfigDetails.Type getType()

Output only. The type of the backup config resource.

`
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.BackupConfigDetails.Type` | The type. |

### getTypeValue()

    public abstract int getTypeValue()

Output only. The type of the backup config resource.

`
.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for type. |

### hasBackupDrPlanConfig()

    public abstract boolean hasBackupDrPlanConfig()

Google Cloud Backup and DR's Backup Plan specific data.

`.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the backupDrPlanConfig field is set. |

### hasBackupDrTemplateConfig()

    public abstract boolean hasBackupDrTemplateConfig()

Google Cloud Backup and DR's Template specific data.

`.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the backupDrTemplateConfig field is set. |

### hasLatestSuccessfulBackupTime()

    public abstract boolean hasLatestSuccessfulBackupTime()

Output only. Timestamp of the latest successful backup created via this
backup configuration.

`
.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the latestSuccessfulBackupTime field is set. |

### hasPitrSettings()

    public abstract boolean hasPitrSettings()

Output only. Point in time recovery settings of the backup configuration
resource.

`
.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the pitrSettings field is set. |