Package com.google.cloud.gkebackup.v1
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 Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.Output only.Output only.intOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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:
- 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
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:
- The backupConfigDetails.
-
getBackupConfigDetailsOrBuilder
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]; -
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
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:
- The retentionPolicyDetails.
-
getRetentionPolicyDetailsOrBuilder
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];
-