public final class ContinuousBackupConfig extends GeneratedMessageV3 implements ContinuousBackupConfigOrBuilder
ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContinuousBackupConfigImplements
ContinuousBackupConfigOrBuilderStatic Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Type | Description |
int |
ENCRYPTION_CONFIG_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
Type | Description |
int |
RECOVERY_WINDOW_DAYS_FIELD_NUMBER
public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ContinuousBackupConfig getDefaultInstance()
Type | Description |
ContinuousBackupConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ContinuousBackupConfig.Builder newBuilder()
Type | Description |
ContinuousBackupConfig.Builder |
newBuilder(ContinuousBackupConfig prototype)
public static ContinuousBackupConfig.Builder newBuilder(ContinuousBackupConfig prototype)
Name | Description |
prototype |
ContinuousBackupConfig |
Type | Description |
ContinuousBackupConfig.Builder |
parseDelimitedFrom(InputStream input)
public static ContinuousBackupConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ContinuousBackupConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ContinuousBackupConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ContinuousBackupConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ContinuousBackupConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ContinuousBackupConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ContinuousBackupConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ContinuousBackupConfig> parser()
Type | Description |
Parser<ContinuousBackupConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ContinuousBackupConfig getDefaultInstanceForType()
Type | Description |
ContinuousBackupConfig |
getEnabled()
public boolean getEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
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.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
EncryptionConfig |
The encryptionConfig. |
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.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
EncryptionConfigOrBuilder |
getParserForType()
public Parser<ContinuousBackupConfig> getParserForType()
Type | Description |
Parser<ContinuousBackupConfig> |
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;
Type | Description |
int |
The recoveryWindowDays. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasEnabled()
public boolean hasEnabled()
Whether ContinuousBackup is enabled.
optional bool enabled = 1;
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.v1beta.EncryptionConfig encryption_config = 3;
Type | Description |
boolean |
Whether the encryptionConfig field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ContinuousBackupConfig.Builder newBuilderForType()
Type | Description |
ContinuousBackupConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
ContinuousBackupConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ContinuousBackupConfig.Builder toBuilder()
Type | Description |
ContinuousBackupConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |