Interface RetentionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetentionConfig,RetentionConfig.Builder
@Generated
public interface RetentionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationThe minimum duration for which the output files from the channel will remain in the output bucket.com.google.protobuf.DurationOrBuilderThe minimum duration for which the output files from the channel will remain in the output bucket.booleanThe minimum duration for which the output files from the channel will remain in the output bucket.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
-
hasRetentionWindowDuration
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][google.cloud.video.livestream.v1.Manifest.segment_keep_duration], which defaults to 60s. If both retention_window_duration and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] are set, retention_window_duration is used and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] is ignored.
.google.protobuf.Duration retention_window_duration = 1;- Returns:
- Whether the retentionWindowDuration field is set.
-
getRetentionWindowDuration
com.google.protobuf.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][google.cloud.video.livestream.v1.Manifest.segment_keep_duration], which defaults to 60s. If both retention_window_duration and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] are set, retention_window_duration is used and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] is ignored.
.google.protobuf.Duration retention_window_duration = 1;- Returns:
- The retentionWindowDuration.
-
getRetentionWindowDurationOrBuilder
com.google.protobuf.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][google.cloud.video.livestream.v1.Manifest.segment_keep_duration], which defaults to 60s. If both retention_window_duration and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] are set, retention_window_duration is used and [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration] is ignored.
.google.protobuf.Duration retention_window_duration = 1;
-