Interface BackupPlanBinding.BackupPlanDetailsOrBuilder (0.62.0)

public static interface BackupPlanBinding.BackupPlanDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupConfigDetails()

public abstract BackupPlanBinding.BackupPlanDetails.BackupConfigDetails getBackupConfigDetails()

Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails

The backupConfigDetails.

getBackupConfigDetailsOrBuilder()

public abstract BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder getBackupConfigDetailsOrBuilder()

Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder

getLastSuccessfulBackup()

public abstract String getLastSuccessfulBackup()

Output only. The fully qualified name of the last successful Backup created under this BackupPlan. projects/*/locations/*/backupPlans/*/backups/*

string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The lastSuccessfulBackup.

getLastSuccessfulBackupBytes()

public abstract ByteString getLastSuccessfulBackupBytes()

Output only. The fully qualified name of the last successful Backup created under this BackupPlan. projects/*/locations/*/backupPlans/*/backups/*

string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for lastSuccessfulBackup.

getLastSuccessfulBackupTime()

public abstract Timestamp getLastSuccessfulBackupTime()

Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field.

.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastSuccessfulBackupTime.

getLastSuccessfulBackupTimeOrBuilder()

public abstract TimestampOrBuilder getLastSuccessfulBackupTimeOrBuilder()

Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field.

.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getNextScheduledBackupTime()

public abstract Timestamp getNextScheduledBackupTime()

Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.

.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextScheduledBackupTime.

getNextScheduledBackupTimeOrBuilder()

public abstract TimestampOrBuilder getNextScheduledBackupTimeOrBuilder()

Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.

.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getProtectedPodCount()

public abstract int getProtectedPodCount()

Output only. The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.

int32 protected_pod_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The protectedPodCount.

getRetentionPolicyDetails()

public abstract BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails getRetentionPolicyDetails()

Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails

The retentionPolicyDetails.

getRetentionPolicyDetailsOrBuilder()

public abstract BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsOrBuilder getRetentionPolicyDetailsOrBuilder()

Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsOrBuilder

getRpoRiskLevel()

public abstract int getRpoRiskLevel()

Output only. A number that represents the current risk level of this BackupPlan from RPO perspective with 1 being no risk and 5 being highest risk.

int32 rpo_risk_level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The rpoRiskLevel.

getState()

public abstract BackupPlanBinding.BackupPlanDetails.State getState()

Output only. State of the BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasBackupConfigDetails()

public abstract boolean hasBackupConfigDetails()

Output only. Contains details about the BackupConfig of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the backupConfigDetails field is set.

hasLastSuccessfulBackupTime()

public abstract boolean hasLastSuccessfulBackupTime()

Output only. Completion time of the last successful Backup. This is sourced from a successful Backup's complete_time field.

.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastSuccessfulBackupTime field is set.

hasNextScheduledBackupTime()

public abstract boolean hasNextScheduledBackupTime()

Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config. This is sourced from BackupPlan.

.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nextScheduledBackupTime field is set.

hasRetentionPolicyDetails()

public abstract boolean hasRetentionPolicyDetails()

Output only. Contains details about the RetentionPolicy of Backups created via this BackupPlan.

.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the retentionPolicyDetails field is set.