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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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