Interface ContinuousBackupConfigOrBuilder (0.32.0)

public interface ContinuousBackupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether ContinuousBackup is enabled.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getEncryptionConfig()

public abstract 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 then use default encryption scheme to protect the user data.

.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3;

Returns
Type Description
EncryptionConfig

The encryptionConfig.

getEncryptionConfigOrBuilder()

public abstract 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 then use default encryption scheme to protect the user data.

.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3;

Returns
Type Description
EncryptionConfigOrBuilder

getRecoveryWindowDays()

public abstract 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
Type Description
int

The recoveryWindowDays.

hasEnabled()

public abstract boolean hasEnabled()

Whether ContinuousBackup is enabled.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

hasEncryptionConfig()

public abstract 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 then use default encryption scheme to protect the user data.

.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3;

Returns
Type Description
boolean

Whether the encryptionConfig field is set.