Package com.google.cloud.alloydb.v1beta
Interface ContinuousBackupConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContinuousBackupConfig,ContinuousBackupConfig.Builder
@Generated
public interface ContinuousBackupConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether ContinuousBackup is enabled.The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).intThe number of days that are eligible to restore from using PITR.booleanWhether ContinuousBackup is enabled.booleanThe encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK).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
-
hasEnabled
boolean hasEnabled()Whether ContinuousBackup is enabled.
optional bool enabled = 1;- Returns:
- Whether the enabled field is set.
-
getEnabled
boolean getEnabled()Whether ContinuousBackup is enabled.
optional bool enabled = 1;- Returns:
- The enabled.
-
getRecoveryWindowDays
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;- Returns:
- The recoveryWindowDays.
-
hasEncryptionConfig
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;- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
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;- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
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;
-