Interface RetentionSettingsInfoOrBuilder (0.6.0)

public interface RetentionSettingsInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDurationBasedRetention()

public abstract Duration getDurationBasedRetention()

Duration based retention period i.e. 172800 seconds (2 days)

.google.protobuf.Duration duration_based_retention = 5;

Returns
Type Description
Duration

The durationBasedRetention.

getDurationBasedRetentionOrBuilder()

public abstract DurationOrBuilder getDurationBasedRetentionOrBuilder()

Duration based retention period i.e. 172800 seconds (2 days)

.google.protobuf.Duration duration_based_retention = 5;

Returns
Type Description
DurationOrBuilder

getQuantityBasedRetention()

public abstract Int32Value getQuantityBasedRetention()

Number of backups that will be retained.

.google.protobuf.Int32Value quantity_based_retention = 3;

Returns
Type Description
Int32Value

The quantityBasedRetention.

getQuantityBasedRetentionOrBuilder()

public abstract Int32ValueOrBuilder getQuantityBasedRetentionOrBuilder()

Number of backups that will be retained.

.google.protobuf.Int32Value quantity_based_retention = 3;

Returns
Type Description
Int32ValueOrBuilder

getRetentionCase()

public abstract RetentionSettingsInfo.RetentionCase getRetentionCase()
Returns
Type Description
RetentionSettingsInfo.RetentionCase

getSubResource()

public abstract SubResource getSubResource()

Optional. Sub resource details associated with the backup configuration.

.google.cloud.databasecenter.v1beta.SubResource sub_resource = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubResource

The subResource.

getSubResourceOrBuilder()

public abstract SubResourceOrBuilder getSubResourceOrBuilder()

Optional. Sub resource details associated with the backup configuration.

.google.cloud.databasecenter.v1beta.SubResource sub_resource = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubResourceOrBuilder

getTimestampBasedRetentionTime()

public abstract Timestamp getTimestampBasedRetentionTime()

Timestamp based retention period i.e. till 2024-05-01T00:00:00Z

.google.protobuf.Timestamp timestamp_based_retention_time = 6;

Returns
Type Description
Timestamp

The timestampBasedRetentionTime.

getTimestampBasedRetentionTimeOrBuilder()

public abstract TimestampOrBuilder getTimestampBasedRetentionTimeOrBuilder()

Timestamp based retention period i.e. till 2024-05-01T00:00:00Z

.google.protobuf.Timestamp timestamp_based_retention_time = 6;

Returns
Type Description
TimestampOrBuilder

hasDurationBasedRetention()

public abstract boolean hasDurationBasedRetention()

Duration based retention period i.e. 172800 seconds (2 days)

.google.protobuf.Duration duration_based_retention = 5;

Returns
Type Description
boolean

Whether the durationBasedRetention field is set.

hasQuantityBasedRetention()

public abstract boolean hasQuantityBasedRetention()

Number of backups that will be retained.

.google.protobuf.Int32Value quantity_based_retention = 3;

Returns
Type Description
boolean

Whether the quantityBasedRetention field is set.

hasSubResource()

public abstract boolean hasSubResource()

Optional. Sub resource details associated with the backup configuration.

.google.cloud.databasecenter.v1beta.SubResource sub_resource = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subResource field is set.

hasTimestampBasedRetentionTime()

public abstract boolean hasTimestampBasedRetentionTime()

Timestamp based retention period i.e. till 2024-05-01T00:00:00Z

.google.protobuf.Timestamp timestamp_based_retention_time = 6;

Returns
Type Description
boolean

Whether the timestampBasedRetentionTime field is set.