Package com.google.cloud.alloydb.v1beta
Interface AutomatedBackupPolicy.TimeBasedRetentionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutomatedBackupPolicy.TimeBasedRetention,AutomatedBackupPolicy.TimeBasedRetention.Builder
- Enclosing class:
- AutomatedBackupPolicy
public static interface AutomatedBackupPolicy.TimeBasedRetentionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationThe retention period.com.google.protobuf.DurationOrBuilderThe retention period.booleanThe retention period.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
-
hasRetentionPeriod
boolean hasRetentionPeriod()The retention period.
.google.protobuf.Duration retention_period = 1;- Returns:
- Whether the retentionPeriod field is set.
-
getRetentionPeriod
com.google.protobuf.Duration getRetentionPeriod()The retention period.
.google.protobuf.Duration retention_period = 1;- Returns:
- The retentionPeriod.
-
getRetentionPeriodOrBuilder
com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder()The retention period.
.google.protobuf.Duration retention_period = 1;
-