Send feedback
Class ContinuousBackupConfig (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.0 keyboard_arrow_down
public final class ContinuousBackupConfig extends GeneratedMessageV3 implements ContinuousBackupConfigOrBuilder
ContinuousBackupConfig describes the continuous backups recovery
configurations of a cluster.
Protobuf type google.cloud.alloydb.v1alpha.ContinuousBackupConfig
Static Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value
Type
Description
int
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
RECOVERY_WINDOW_DAYS_FIELD_NUMBER
public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ContinuousBackupConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ContinuousBackupConfig . Builder newBuilder ()
newBuilder(ContinuousBackupConfig prototype)
public static ContinuousBackupConfig . Builder newBuilder ( ContinuousBackupConfig prototype )
public static ContinuousBackupConfig parseDelimitedFrom ( InputStream input )
public static ContinuousBackupConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ContinuousBackupConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ContinuousBackupConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ContinuousBackupConfig parseFrom ( CodedInputStream input )
public static ContinuousBackupConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ContinuousBackupConfig parseFrom ( InputStream input )
public static ContinuousBackupConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ContinuousBackupConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ContinuousBackupConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public ContinuousBackupConfig getDefaultInstanceForType ()
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 then use default encryption scheme to
protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
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 then use default encryption scheme to
protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
getParserForType()
public Parser<ContinuousBackupConfig> getParserForType ()
Overrides
getRecoveryWindowDays()
public int getRecoveryWindowDays ()
The number of days backups and logs will be retained, which determines the
window of time that data is recoverable for. If not set, it defaults to 14
days.
int32 recovery_window_days = 4;
Returns
Type
Description
int
The recoveryWindowDays.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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 then use default encryption scheme to
protect the user data.
.google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
Returns
Type
Description
boolean
Whether the encryptionConfig field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ContinuousBackupConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ContinuousBackupConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]