public static final class AutomatedBackupPolicy.TimeBasedRetention.Builder extends GeneratedMessageV3.Builder<AutomatedBackupPolicy.TimeBasedRetention.Builder> implements AutomatedBackupPolicy.TimeBasedRetentionOrBuilder
A time based retention policy specifies that all backups within a certain
time period should be retained.
Protobuf type google.events.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.TimeBasedRetention.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutomatedBackupPolicy.TimeBasedRetention build()
buildPartial()
public AutomatedBackupPolicy.TimeBasedRetention buildPartial()
clear()
public AutomatedBackupPolicy.TimeBasedRetention.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutomatedBackupPolicy.TimeBasedRetention.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomatedBackupPolicy.TimeBasedRetention.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRetentionPeriod()
public AutomatedBackupPolicy.TimeBasedRetention.Builder clearRetentionPeriod()
The retention period.
.google.protobuf.Duration retention_period = 1;
clone()
public AutomatedBackupPolicy.TimeBasedRetention.Builder clone()
Overrides
getDefaultInstanceForType()
public AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRetentionPeriod()
public Duration getRetentionPeriod()
The retention period.
.google.protobuf.Duration retention_period = 1;
Returns |
---|
Type | Description |
Duration | The retentionPeriod.
|
getRetentionPeriodBuilder()
public Duration.Builder getRetentionPeriodBuilder()
The retention period.
.google.protobuf.Duration retention_period = 1;
getRetentionPeriodOrBuilder()
public DurationOrBuilder getRetentionPeriodOrBuilder()
The retention period.
.google.protobuf.Duration retention_period = 1;
hasRetentionPeriod()
public boolean hasRetentionPeriod()
The retention period.
.google.protobuf.Duration retention_period = 1;
Returns |
---|
Type | Description |
boolean | Whether the retentionPeriod field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AutomatedBackupPolicy.TimeBasedRetention other)
public AutomatedBackupPolicy.TimeBasedRetention.Builder mergeFrom(AutomatedBackupPolicy.TimeBasedRetention other)
public AutomatedBackupPolicy.TimeBasedRetention.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutomatedBackupPolicy.TimeBasedRetention.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeRetentionPeriod(Duration value)
public AutomatedBackupPolicy.TimeBasedRetention.Builder mergeRetentionPeriod(Duration value)
The retention period.
.google.protobuf.Duration retention_period = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.TimeBasedRetention.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.TimeBasedRetention.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomatedBackupPolicy.TimeBasedRetention.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRetentionPeriod(Duration value)
public AutomatedBackupPolicy.TimeBasedRetention.Builder setRetentionPeriod(Duration value)
The retention period.
.google.protobuf.Duration retention_period = 1;
setRetentionPeriod(Duration.Builder builderForValue)
public AutomatedBackupPolicy.TimeBasedRetention.Builder setRetentionPeriod(Duration.Builder builderForValue)
The retention period.
.google.protobuf.Duration retention_period = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.TimeBasedRetention.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides