Interface RetentionConfigOrBuilder (0.56.0)

public interface RetentionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRetentionWindowDuration()

public abstract Duration getRetentionWindowDuration()

The minimum duration for which the output files from the channel will remain in the output bucket. After this duration, output files are deleted asynchronously.

When the channel is deleted, all output files are deleted from the output bucket asynchronously.

If omitted or set to zero, output files will remain in the output bucket based on Manifest.segment_keep_duration, which defaults to 60s.

If both retention_window_duration and Manifest.segment_keep_duration are set, retention_window_duration is used and Manifest.segment_keep_duration is ignored.

.google.protobuf.Duration retention_window_duration = 1;

Returns
Type Description
Duration

The retentionWindowDuration.

getRetentionWindowDurationOrBuilder()

public abstract DurationOrBuilder getRetentionWindowDurationOrBuilder()

The minimum duration for which the output files from the channel will remain in the output bucket. After this duration, output files are deleted asynchronously.

When the channel is deleted, all output files are deleted from the output bucket asynchronously.

If omitted or set to zero, output files will remain in the output bucket based on Manifest.segment_keep_duration, which defaults to 60s.

If both retention_window_duration and Manifest.segment_keep_duration are set, retention_window_duration is used and Manifest.segment_keep_duration is ignored.

.google.protobuf.Duration retention_window_duration = 1;

Returns
Type Description
DurationOrBuilder

hasRetentionWindowDuration()

public abstract boolean hasRetentionWindowDuration()

The minimum duration for which the output files from the channel will remain in the output bucket. After this duration, output files are deleted asynchronously.

When the channel is deleted, all output files are deleted from the output bucket asynchronously.

If omitted or set to zero, output files will remain in the output bucket based on Manifest.segment_keep_duration, which defaults to 60s.

If both retention_window_duration and Manifest.segment_keep_duration are set, retention_window_duration is used and Manifest.segment_keep_duration is ignored.

.google.protobuf.Duration retention_window_duration = 1;

Returns
Type Description
boolean

Whether the retentionWindowDuration field is set.