Package com.google.cloud.alloydb.v1beta
Interface Backup.QuantityBasedExpiryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Backup.QuantityBasedExpiry,Backup.QuantityBasedExpiry.Builder
- Enclosing class:
- Backup
public static interface Backup.QuantityBasedExpiryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOutput only.intOutput only.Methods 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
-
getRetentionCount
int getRetentionCount()Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time(i.e. newest first).
int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The retentionCount.
-
getTotalRetentionCount
int getTotalRetentionCount()Output only. The length of the quantity-based queue, specified by the backup's retention policy.
int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The totalRetentionCount.
-