Package com.google.cloud.alloydb.v1alpha
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getRetentionCount()
Output only.int
getTotalRetentionCount()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-