public static final class ContinuousBackupConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder> implements ContinuousBackupConfigOrBuilder
ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.Protobuf type
google.cloud.alloydb.v1.ContinuousBackupConfig| Modifier and Type | Method and Description |
|---|---|
ContinuousBackupConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ContinuousBackupConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ContinuousBackupConfig.Builder |
clearRecoveryWindowDays()
The number of days that are eligible to restore from using PITR.
|
ContinuousBackupConfig.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ContinuousBackupConfig.Builder |
setRecoveryWindowDays(int value)
The number of days that are eligible to restore from using PITR.
|
ContinuousBackupConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ContinuousBackupConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public ContinuousBackupConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public 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.GeneratedMessageV3.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.EncryptionConfig encryption_config = 3;getEncryptionConfigOrBuilder in interface ContinuousBackupConfigOrBuilderpublic final ContinuousBackupConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>public final ContinuousBackupConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContinuousBackupConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.