public static final class ContinuousBackupConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupConfig.Builder> implements ContinuousBackupConfigOrBuilder
ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.Protobuf type
google.cloud.alloydb.v1beta.ContinuousBackupConfig| Modifier and Type | Method and Description |
|---|---|
ContinuousBackupConfig |
build() |
ContinuousBackupConfig |
buildPartial() |
ContinuousBackupConfig.Builder |
clear() |
ContinuousBackupConfig.Builder |
clearEnabled()
Whether ContinuousBackup is enabled.
|
ContinuousBackupConfig.Builder |
clearEncryptionConfig()
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
ContinuousBackupConfig.Builder |
clearRecoveryWindowDays()
The number of days that are eligible to restore from using PITR.
|
ContinuousBackupConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnabled()
Whether ContinuousBackup is enabled.
|
EncryptionConfig |
getEncryptionConfig()
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
EncryptionConfig.Builder |
getEncryptionConfigBuilder()
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
EncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
int |
getRecoveryWindowDays()
The number of days that are eligible to restore from using PITR.
|
boolean |
hasEnabled()
Whether ContinuousBackup is enabled.
|
boolean |
hasEncryptionConfig()
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ContinuousBackupConfig.Builder |
mergeEncryptionConfig(EncryptionConfig value)
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
ContinuousBackupConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ContinuousBackupConfig.Builder |
mergeFrom(ContinuousBackupConfig other) |
ContinuousBackupConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ContinuousBackupConfig.Builder |
setEnabled(boolean value)
Whether ContinuousBackup is enabled.
|
ContinuousBackupConfig.Builder |
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
ContinuousBackupConfig.Builder |
setEncryptionConfig(EncryptionConfig value)
The encryption config can be specified to encrypt the
backups with a customer-managed encryption key (CMEK).
|
ContinuousBackupConfig.Builder |
setRecoveryWindowDays(int value)
The number of days that are eligible to restore from using PITR.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ContinuousBackupConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder mergeFrom(ContinuousBackupConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupConfig.Builder>IOExceptionpublic boolean hasEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;hasEnabled in interface ContinuousBackupConfigOrBuilderpublic boolean getEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;getEnabled in interface ContinuousBackupConfigOrBuilderpublic ContinuousBackupConfig.Builder setEnabled(boolean value)
Whether ContinuousBackup is enabled.
optional bool enabled = 1;value - The enabled to set.public ContinuousBackupConfig.Builder clearEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;public int getRecoveryWindowDays()
The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.
int32 recovery_window_days = 4;getRecoveryWindowDays in interface ContinuousBackupConfigOrBuilderpublic ContinuousBackupConfig.Builder setRecoveryWindowDays(int value)
The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.
int32 recovery_window_days = 4;value - The recoveryWindowDays to set.public ContinuousBackupConfig.Builder clearRecoveryWindowDays()
The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.
int32 recovery_window_days = 4;public boolean hasEncryptionConfig()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;hasEncryptionConfig in interface ContinuousBackupConfigOrBuilderpublic EncryptionConfig getEncryptionConfig()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;getEncryptionConfig in interface ContinuousBackupConfigOrBuilderpublic ContinuousBackupConfig.Builder setEncryptionConfig(EncryptionConfig value)
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;public ContinuousBackupConfig.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;public ContinuousBackupConfig.Builder mergeEncryptionConfig(EncryptionConfig value)
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;public ContinuousBackupConfig.Builder clearEncryptionConfig()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;public EncryptionConfig.Builder getEncryptionConfigBuilder()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config.
.google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;getEncryptionConfigOrBuilder in interface ContinuousBackupConfigOrBuilderCopyright © 2026 Google LLC. All rights reserved.