- 0.72.0 (latest)
- 0.71.0
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ContinuousBackupConfig.Builder extends GeneratedMessage.Builder<ContinuousBackupConfig.Builder> implements ContinuousBackupConfigOrBuilderContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ContinuousBackupConfig.BuilderImplements
ContinuousBackupConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ContinuousBackupConfig build()| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig |
|
buildPartial()
public ContinuousBackupConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig |
|
clear()
public ContinuousBackupConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
clearEnabled()
public ContinuousBackupConfig.Builder clearEnabled()Whether ContinuousBackup is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
This builder for chaining. |
clearEncryptionConfig()
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;
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
clearRecoveryWindowDays()
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;
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ContinuousBackupConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public boolean getEnabled()Whether ContinuousBackup is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getEncryptionConfig()
public 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 | |
|---|---|
| Type | Description |
EncryptionConfig |
The encryptionConfig. |
getEncryptionConfigBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
EncryptionConfig.Builder |
|
getEncryptionConfigOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
EncryptionConfigOrBuilder |
|
getRecoveryWindowDays()
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;
| Returns | |
|---|---|
| Type | Description |
int |
The recoveryWindowDays. |
hasEnabled()
public boolean hasEnabled()Whether ContinuousBackup is enabled.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enabled field is set. |
hasEncryptionConfig()
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryptionConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncryptionConfig(EncryptionConfig value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionConfig |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
mergeFrom(ContinuousBackupConfig other)
public ContinuousBackupConfig.Builder mergeFrom(ContinuousBackupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ContinuousBackupConfig |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContinuousBackupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ContinuousBackupConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
setEnabled(boolean value)
public ContinuousBackupConfig.Builder setEnabled(boolean value)Whether ContinuousBackup is enabled.
optional bool enabled = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
This builder for chaining. |
setEncryptionConfig(EncryptionConfig value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
EncryptionConfig |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EncryptionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
|
setRecoveryWindowDays(int value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe recoveryWindowDays to set. |
| Returns | |
|---|---|
| Type | Description |
ContinuousBackupConfig.Builder |
This builder for chaining. |