Interface BackupPlanBinding.BackupPlanDetailsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BackupPlanBinding.BackupPlanDetails, BackupPlanBinding.BackupPlanDetails.Builder
Enclosing class:
BackupPlanBinding

public static interface BackupPlanBinding.BackupPlanDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getProtectedPodCount

      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:
      The protectedPodCount.
    • getStateValue

      int getStateValue()
       Output only. State of the BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. State of the BackupPlan.
       
      .google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • hasLastSuccessfulBackupTime

      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:
      Whether the lastSuccessfulBackupTime field is set.
    • getLastSuccessfulBackupTime

      com.google.protobuf.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:
      The lastSuccessfulBackupTime.
    • getLastSuccessfulBackupTimeOrBuilder

      com.google.protobuf.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];
    • hasNextScheduledBackupTime

      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:
      Whether the nextScheduledBackupTime field is set.
    • getNextScheduledBackupTime

      com.google.protobuf.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:
      The nextScheduledBackupTime.
    • getNextScheduledBackupTimeOrBuilder

      com.google.protobuf.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];
    • getRpoRiskLevel

      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:
      The rpoRiskLevel.
    • getLastSuccessfulBackup

      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:
      The lastSuccessfulBackup.
    • getLastSuccessfulBackupBytes

      com.google.protobuf.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:
      The bytes for lastSuccessfulBackup.
    • hasBackupConfigDetails

      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:
      Whether the backupConfigDetails field is set.
    • 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:
      The backupConfigDetails.
    • 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];
    • hasRetentionPolicyDetails

      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:
      Whether the retentionPolicyDetails field is set.
    • 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:
      The retentionPolicyDetails.
    • 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];