Package com.google.cloud.gkebackup.v1
Class BackupPlanBinding.BackupPlanDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
com.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.Builder
- All Implemented Interfaces:
BackupPlanBinding.BackupPlanDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BackupPlanBinding.BackupPlanDetails
public static final class BackupPlanBinding.BackupPlanDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
implements BackupPlanBinding.BackupPlanDetailsOrBuilder
Contains metadata about the backup plan/backup.Protobuf type
google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.Output only.Output only.Output only.intOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastSuccessfulBackupTime(com.google.protobuf.Timestamp value) Output only.mergeNextScheduledBackupTime(com.google.protobuf.Timestamp value) Output only.Output only.Output only.setBackupConfigDetails(BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.Builder builderForValue) Output only.setLastSuccessfulBackup(String value) Output only.setLastSuccessfulBackupBytes(com.google.protobuf.ByteString value) Output only.setLastSuccessfulBackupTime(com.google.protobuf.Timestamp value) Output only.setLastSuccessfulBackupTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setNextScheduledBackupTime(com.google.protobuf.Timestamp value) Output only.setNextScheduledBackupTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setProtectedPodCount(int value) Output only.Output only.setRetentionPolicyDetails(BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails.Builder builderForValue) Output only.setRpoRiskLevel(int value) Output only.Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
-
mergeFrom
public BackupPlanBinding.BackupPlanDetails.Builder mergeFrom(BackupPlanBinding.BackupPlanDetails other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>
-
mergeFrom
public BackupPlanBinding.BackupPlanDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BackupPlanBinding.BackupPlanDetails.Builder>- Throws:
IOException
-
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];- Specified by:
getProtectedPodCountin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The protectedPodCount.
-
setProtectedPodCount
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];- Parameters:
value- The protectedPodCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The state.
-
setState
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];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasLastSuccessfulBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the lastSuccessfulBackupTime field is set.
-
getLastSuccessfulBackupTime
public 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];- Specified by:
getLastSuccessfulBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The lastSuccessfulBackupTime.
-
setLastSuccessfulBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupTime(com.google.protobuf.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]; -
setLastSuccessfulBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupTime(com.google.protobuf.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]; -
mergeLastSuccessfulBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder mergeLastSuccessfulBackupTime(com.google.protobuf.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]; -
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]; -
getLastSuccessfulBackupTimeBuilder
public com.google.protobuf.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]; -
getLastSuccessfulBackupTimeOrBuilder
public 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];- Specified by:
getLastSuccessfulBackupTimeOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
hasNextScheduledBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the nextScheduledBackupTime field is set.
-
getNextScheduledBackupTime
public 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];- Specified by:
getNextScheduledBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The nextScheduledBackupTime.
-
setNextScheduledBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder setNextScheduledBackupTime(com.google.protobuf.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]; -
setNextScheduledBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder setNextScheduledBackupTime(com.google.protobuf.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]; -
mergeNextScheduledBackupTime
public BackupPlanBinding.BackupPlanDetails.Builder mergeNextScheduledBackupTime(com.google.protobuf.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]; -
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]; -
getNextScheduledBackupTimeBuilder
public com.google.protobuf.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]; -
getNextScheduledBackupTimeOrBuilder
public 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];- Specified by:
getNextScheduledBackupTimeOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
getRpoRiskLevelin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The rpoRiskLevel.
-
setRpoRiskLevel
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];- Parameters:
value- The rpoRiskLevel to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getLastSuccessfulBackupin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The lastSuccessfulBackup.
-
getLastSuccessfulBackupBytes
public 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];- Specified by:
getLastSuccessfulBackupBytesin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The bytes for lastSuccessfulBackup.
-
setLastSuccessfulBackup
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];- Parameters:
value- The lastSuccessfulBackup to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setLastSuccessfulBackupBytes
public BackupPlanBinding.BackupPlanDetails.Builder setLastSuccessfulBackupBytes(com.google.protobuf.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];- Parameters:
value- The bytes for lastSuccessfulBackup to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasBackupConfigDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- 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];- Specified by:
getBackupConfigDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The backupConfigDetails.
-
setBackupConfigDetails
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]; -
setBackupConfigDetails
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]; -
mergeBackupConfigDetails
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]; -
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]; -
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]; -
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];- Specified by:
getBackupConfigDetailsOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
hasRetentionPolicyDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- 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];- Specified by:
getRetentionPolicyDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The retentionPolicyDetails.
-
setRetentionPolicyDetails
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]; -
setRetentionPolicyDetails
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]; -
mergeRetentionPolicyDetails
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]; -
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]; -
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]; -
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];- Specified by:
getRetentionPolicyDetailsOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-