Package com.google.cloud.alloydb.v1alpha
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getRetentionPeriod()
The retention period.com.google.protobuf.DurationOrBuilder
getRetentionPeriodOrBuilder()
The retention period.boolean
hasRetentionPeriod()
The retention period.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-