Interface RetentionSettingsInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetentionSettingsInfo,RetentionSettingsInfo.Builder
@Generated
public interface RetentionSettingsInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationDuration based retention period i.e. 172800 seconds (2 days)com.google.protobuf.DurationOrBuilderDuration based retention period i.e. 172800 seconds (2 days)com.google.protobuf.Int32ValueNumber of backups that will be retained.com.google.protobuf.Int32ValueOrBuilderNumber of backups that will be retained.Optional.Optional.com.google.protobuf.TimestampTimestamp based retention period i.e. till 2024-05-01T00:00:00Zcom.google.protobuf.TimestampOrBuilderTimestamp based retention period i.e. till 2024-05-01T00:00:00ZbooleanDuration based retention period i.e. 172800 seconds (2 days)booleanNumber of backups that will be retained.booleanOptional.booleanTimestamp based retention period i.e. till 2024-05-01T00:00:00ZMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasQuantityBasedRetention
boolean hasQuantityBasedRetention()Number of backups that will be retained.
.google.protobuf.Int32Value quantity_based_retention = 3;- Returns:
- Whether the quantityBasedRetention field is set.
-
getQuantityBasedRetention
com.google.protobuf.Int32Value getQuantityBasedRetention()Number of backups that will be retained.
.google.protobuf.Int32Value quantity_based_retention = 3;- Returns:
- The quantityBasedRetention.
-
getQuantityBasedRetentionOrBuilder
com.google.protobuf.Int32ValueOrBuilder getQuantityBasedRetentionOrBuilder()Number of backups that will be retained.
.google.protobuf.Int32Value quantity_based_retention = 3; -
hasDurationBasedRetention
boolean hasDurationBasedRetention()Duration based retention period i.e. 172800 seconds (2 days)
.google.protobuf.Duration duration_based_retention = 5;- Returns:
- Whether the durationBasedRetention field is set.
-
getDurationBasedRetention
com.google.protobuf.Duration getDurationBasedRetention()Duration based retention period i.e. 172800 seconds (2 days)
.google.protobuf.Duration duration_based_retention = 5;- Returns:
- The durationBasedRetention.
-
getDurationBasedRetentionOrBuilder
com.google.protobuf.DurationOrBuilder getDurationBasedRetentionOrBuilder()Duration based retention period i.e. 172800 seconds (2 days)
.google.protobuf.Duration duration_based_retention = 5; -
hasTimestampBasedRetentionTime
boolean hasTimestampBasedRetentionTime()Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
.google.protobuf.Timestamp timestamp_based_retention_time = 6;- Returns:
- Whether the timestampBasedRetentionTime field is set.
-
getTimestampBasedRetentionTime
com.google.protobuf.Timestamp getTimestampBasedRetentionTime()Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
.google.protobuf.Timestamp timestamp_based_retention_time = 6;- Returns:
- The timestampBasedRetentionTime.
-
getTimestampBasedRetentionTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampBasedRetentionTimeOrBuilder()Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
.google.protobuf.Timestamp timestamp_based_retention_time = 6; -
hasSubResource
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:
- Whether the subResource field is set.
-
getSubResource
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:
- The subResource.
-
getSubResourceOrBuilder
SubResourceOrBuilder getSubResourceOrBuilder()Optional. Sub resource details associated with the backup configuration.
.google.cloud.databasecenter.v1beta.SubResource sub_resource = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRetentionCase
RetentionSettingsInfo.RetentionCase getRetentionCase()
-