public interface BackupRetentionSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRetainedBackups()
public abstract Int32Value getRetainedBackups()Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
.google.protobuf.Int32Value retained_backups = 2;
| Returns | |
|---|---|
| Type | Description |
Int32Value |
The retainedBackups. |
getRetainedBackupsOrBuilder()
public abstract Int32ValueOrBuilder getRetainedBackupsOrBuilder()Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
.google.protobuf.Int32Value retained_backups = 2;
| Returns | |
|---|---|
| Type | Description |
Int32ValueOrBuilder |
|
getRetentionUnit()
public abstract BackupRetentionSettings.RetentionUnit getRetentionUnit()The unit that 'retained_backups' represents.
.google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit retention_unit = 1;
| Returns | |
|---|---|
| Type | Description |
BackupRetentionSettings.RetentionUnit |
The retentionUnit. |
getRetentionUnitValue()
public abstract int getRetentionUnitValue()The unit that 'retained_backups' represents.
.google.cloud.sql.v1.BackupRetentionSettings.RetentionUnit retention_unit = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for retentionUnit. |
hasRetainedBackups()
public abstract boolean hasRetainedBackups()Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
.google.protobuf.Int32Value retained_backups = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the retainedBackups field is set. |