public static final class BackupPlanBinding.BackupPlanDetails.Builder extends GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder> implements BackupPlanBinding.BackupPlanDetailsOrBuilderContains metadata about the backup plan/backup.
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackupPlanBinding.BackupPlanDetails.BuilderImplements
BackupPlanBinding.BackupPlanDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BackupPlanBinding.BackupPlanDetails build()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails |
|
buildPartial()
public BackupPlanBinding.BackupPlanDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails |
|
clear()
public BackupPlanBinding.BackupPlanDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
clearBackupConfigDetails()
public BackupPlanBinding.BackupPlanDetails.Builder clearBackupConfigDetails()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.Builder |
|
clearLastSuccessfulBackup()
public BackupPlanBinding.BackupPlanDetails.Builder clearLastSuccessfulBackup() 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 |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
clearLastSuccessfulBackupTime()
public BackupPlanBinding.BackupPlanDetails.Builder clearLastSuccessfulBackupTime()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 |
BackupPlanBinding.BackupPlanDetails.Builder |
|
clearNextScheduledBackupTime()
public BackupPlanBinding.BackupPlanDetails.Builder clearNextScheduledBackupTime()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 |
BackupPlanBinding.BackupPlanDetails.Builder |
|
clearProtectedPodCount()
public BackupPlanBinding.BackupPlanDetails.Builder clearProtectedPodCount()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 |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
clearRetentionPolicyDetails()
public BackupPlanBinding.BackupPlanDetails.Builder clearRetentionPolicyDetails()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.Builder |
|
clearRpoRiskLevel()
public BackupPlanBinding.BackupPlanDetails.Builder clearRpoRiskLevel()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 |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
clearState()
public BackupPlanBinding.BackupPlanDetails.Builder clearState()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.Builder |
This builder for chaining. |
getBackupConfigDetails()
public 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. |
getBackupConfigDetailsBuilder()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder getBackupConfigDetailsBuilder()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.Builder |
|
getBackupConfigDetailsOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public BackupPlanBinding.BackupPlanDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLastSuccessfulBackup()
public 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 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 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. |
getLastSuccessfulBackupTimeBuilder()
public Timestamp.Builder getLastSuccessfulBackupTimeBuilder()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 |
Builder |
|
getLastSuccessfulBackupTimeOrBuilder()
public 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 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. |
getNextScheduledBackupTimeBuilder()
public Timestamp.Builder getNextScheduledBackupTimeBuilder()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 |
Builder |
|
getNextScheduledBackupTimeOrBuilder()
public 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 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 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. |
getRetentionPolicyDetailsBuilder()
public BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails.Builder getRetentionPolicyDetailsBuilder()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.Builder |
|
getRetentionPolicyDetailsOrBuilder()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails value)
public BackupPlanBinding.BackupPlanDetails.Builder mergeBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
mergeFrom(BackupPlanBinding.BackupPlanDetails other)
public BackupPlanBinding.BackupPlanDetails.Builder mergeFrom(BackupPlanBinding.BackupPlanDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupPlanBinding.BackupPlanDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackupPlanBinding.BackupPlanDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackupPlanBinding.BackupPlanDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
mergeLastSuccessfulBackupTime(Timestamp value)
public BackupPlanBinding.BackupPlanDetails.Builder mergeLastSuccessfulBackupTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
mergeNextScheduledBackupTime(Timestamp value)
public BackupPlanBinding.BackupPlanDetails.Builder mergeNextScheduledBackupTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
mergeRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails value)
public BackupPlanBinding.BackupPlanDetails.Builder mergeRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails value)
public BackupPlanBinding.BackupPlanDetails.Builder setBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.Builder setBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setLastSuccessfulBackup(String value)
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackup(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe lastSuccessfulBackup to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
setLastSuccessfulBackupBytes(ByteString value)
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for lastSuccessfulBackup to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
setLastSuccessfulBackupTime(Timestamp value)
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setLastSuccessfulBackupTime(Timestamp.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setNextScheduledBackupTime(Timestamp value)
public BackupPlanBinding.BackupPlanDetails.Builder setNextScheduledBackupTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setNextScheduledBackupTime(Timestamp.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.Builder setNextScheduledBackupTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setProtectedPodCount(int value)
public BackupPlanBinding.BackupPlanDetails.Builder setProtectedPodCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe protectedPodCount to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
setRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails value)
public BackupPlanBinding.BackupPlanDetails.Builder setRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails.Builder builderForValue)
public BackupPlanBinding.BackupPlanDetails.Builder setRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
|
setRpoRiskLevel(int value)
public BackupPlanBinding.BackupPlanDetails.Builder setRpoRiskLevel(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe rpoRiskLevel to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
setState(BackupPlanBinding.BackupPlanDetails.State value)
public BackupPlanBinding.BackupPlanDetails.Builder setState(BackupPlanBinding.BackupPlanDetails.State value)Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupPlanBinding.BackupPlanDetails.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |
setStateValue(int value)
public BackupPlanBinding.BackupPlanDetails.Builder setStateValue(int value)Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
BackupPlanBinding.BackupPlanDetails.Builder |
This builder for chaining. |