Interface BackupConfigurationOrBuilder (0.1.0)

public interface BackupConfigurationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupRetentionSettings()

public abstract BackupRetentionSettings getBackupRetentionSettings()

Backup retention settings.

.google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;

Returns
Type Description
BackupRetentionSettings

The backupRetentionSettings.

getBackupRetentionSettingsOrBuilder()

public abstract BackupRetentionSettingsOrBuilder getBackupRetentionSettingsOrBuilder()

Backup retention settings.

.google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;

Returns
Type Description
BackupRetentionSettingsOrBuilder

getBackupTier()

public abstract BackupConfiguration.BackupTier getBackupTier()

Output only. Backup tier that manages the backups for the instance.

optional .google.cloud.sql.v1beta4.BackupConfiguration.BackupTier backup_tier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfiguration.BackupTier

The backupTier.

getBackupTierValue()

public abstract int getBackupTierValue()

Output only. Backup tier that manages the backups for the instance.

optional .google.cloud.sql.v1beta4.BackupConfiguration.BackupTier backup_tier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for backupTier.

getBinaryLogEnabled()

public abstract BoolValue getBinaryLogEnabled()

(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.

.google.protobuf.BoolValue binary_log_enabled = 4;

Returns
Type Description
BoolValue

The binaryLogEnabled.

getBinaryLogEnabledOrBuilder()

public abstract BoolValueOrBuilder getBinaryLogEnabledOrBuilder()

(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.

.google.protobuf.BoolValue binary_log_enabled = 4;

Returns
Type Description
BoolValueOrBuilder

getEnabled()

public abstract BoolValue getEnabled()

Whether this configuration is enabled.

.google.protobuf.BoolValue enabled = 2;

Returns
Type Description
BoolValue

The enabled.

getEnabledOrBuilder()

public abstract BoolValueOrBuilder getEnabledOrBuilder()

Whether this configuration is enabled.

.google.protobuf.BoolValue enabled = 2;

Returns
Type Description
BoolValueOrBuilder

getKind()

public abstract String getKind()

This is always sql#backupConfiguration.

string kind = 3;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

This is always sql#backupConfiguration.

string kind = 3;

Returns
Type Description
ByteString

The bytes for kind.

getLocation()

public abstract String getLocation()

Location of the backup

string location = 6;

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Location of the backup

string location = 6;

Returns
Type Description
ByteString

The bytes for location.

getPointInTimeRecoveryEnabled()

public abstract BoolValue getPointInTimeRecoveryEnabled()

Whether point in time recovery is enabled.

.google.protobuf.BoolValue point_in_time_recovery_enabled = 7;

Returns
Type Description
BoolValue

The pointInTimeRecoveryEnabled.

getPointInTimeRecoveryEnabledOrBuilder()

public abstract BoolValueOrBuilder getPointInTimeRecoveryEnabledOrBuilder()

Whether point in time recovery is enabled.

.google.protobuf.BoolValue point_in_time_recovery_enabled = 7;

Returns
Type Description
BoolValueOrBuilder

getReplicationLogArchivingEnabled() (deprecated)

public abstract BoolValue getReplicationLogArchivingEnabled()

Deprecated. google.cloud.sql.v1beta4.BackupConfiguration.replication_log_archiving_enabled is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=183

Optional. Deprecated: replication_log_archiving_enabled is deprecated and will be removed from a future version of the API. Use point_in_time_recovery_enabled instead.

.google.protobuf.BoolValue replication_log_archiving_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The replicationLogArchivingEnabled.

getReplicationLogArchivingEnabledOrBuilder() (deprecated)

public abstract BoolValueOrBuilder getReplicationLogArchivingEnabledOrBuilder()

Optional. Deprecated: replication_log_archiving_enabled is deprecated and will be removed from a future version of the API. Use point_in_time_recovery_enabled instead.

.google.protobuf.BoolValue replication_log_archiving_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

getStartTime()

public abstract String getStartTime()

Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.

string start_time = 1;

Returns
Type Description
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.

string start_time = 1;

Returns
Type Description
ByteString

The bytes for startTime.

getTransactionLogRetentionDays()

public abstract Int32Value getTransactionLogRetentionDays()

The number of days of transaction logs we retain for point in time restore, from 1-7.

.google.protobuf.Int32Value transaction_log_retention_days = 9;

Returns
Type Description
Int32Value

The transactionLogRetentionDays.

getTransactionLogRetentionDaysOrBuilder()

public abstract Int32ValueOrBuilder getTransactionLogRetentionDaysOrBuilder()

The number of days of transaction logs we retain for point in time restore, from 1-7.

.google.protobuf.Int32Value transaction_log_retention_days = 9;

Returns
Type Description
Int32ValueOrBuilder

getTransactionalLogStorageState()

public abstract BackupConfiguration.TransactionalLogStorageState getTransactionalLogStorageState()

Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery.

optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfiguration.TransactionalLogStorageState

The transactionalLogStorageState.

getTransactionalLogStorageStateValue()

public abstract int getTransactionalLogStorageStateValue()

Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery.

optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for transactionalLogStorageState.

hasBackupRetentionSettings()

public abstract boolean hasBackupRetentionSettings()

Backup retention settings.

.google.cloud.sql.v1beta4.BackupRetentionSettings backup_retention_settings = 10;

Returns
Type Description
boolean

Whether the backupRetentionSettings field is set.

hasBackupTier()

public abstract boolean hasBackupTier()

Output only. Backup tier that manages the backups for the instance.

optional .google.cloud.sql.v1beta4.BackupConfiguration.BackupTier backup_tier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the backupTier field is set.

hasBinaryLogEnabled()

public abstract boolean hasBinaryLogEnabled()

(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.

.google.protobuf.BoolValue binary_log_enabled = 4;

Returns
Type Description
boolean

Whether the binaryLogEnabled field is set.

hasEnabled()

public abstract boolean hasEnabled()

Whether this configuration is enabled.

.google.protobuf.BoolValue enabled = 2;

Returns
Type Description
boolean

Whether the enabled field is set.

hasPointInTimeRecoveryEnabled()

public abstract boolean hasPointInTimeRecoveryEnabled()

Whether point in time recovery is enabled.

.google.protobuf.BoolValue point_in_time_recovery_enabled = 7;

Returns
Type Description
boolean

Whether the pointInTimeRecoveryEnabled field is set.

hasReplicationLogArchivingEnabled() (deprecated)

public abstract boolean hasReplicationLogArchivingEnabled()

Deprecated. google.cloud.sql.v1beta4.BackupConfiguration.replication_log_archiving_enabled is deprecated. See google/cloud/sql/v1beta4/cloud_sql_resources.proto;l=183

Optional. Deprecated: replication_log_archiving_enabled is deprecated and will be removed from a future version of the API. Use point_in_time_recovery_enabled instead.

.google.protobuf.BoolValue replication_log_archiving_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the replicationLogArchivingEnabled field is set.

hasTransactionLogRetentionDays()

public abstract boolean hasTransactionLogRetentionDays()

The number of days of transaction logs we retain for point in time restore, from 1-7.

.google.protobuf.Int32Value transaction_log_retention_days = 9;

Returns
Type Description
boolean

Whether the transactionLogRetentionDays field is set.

hasTransactionalLogStorageState()

public abstract boolean hasTransactionalLogStorageState()

Output only. This value contains the storage location of transactional logs for the database for point-in-time recovery.

optional .google.cloud.sql.v1beta4.BackupConfiguration.TransactionalLogStorageState transactional_log_storage_state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the transactionalLogStorageState field is set.