Class RetentionConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder>
com.google.cloud.video.livestream.v1.RetentionConfig.Builder
All Implemented Interfaces:
RetentionConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RetentionConfig

public static final class RetentionConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder> implements RetentionConfigOrBuilder
 Configuration for retention of output files.
 
Protobuf type google.cloud.video.livestream.v1.RetentionConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The minimum duration for which the output files from the channel will remain in the output bucket.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Duration
    The minimum duration for which the output files from the channel will remain in the output bucket.
    com.google.protobuf.Duration.Builder
    The minimum duration for which the output files from the channel will remain in the output bucket.
    com.google.protobuf.DurationOrBuilder
    The minimum duration for which the output files from the channel will remain in the output bucket.
    boolean
    The minimum duration for which the output files from the channel will remain in the output bucket.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeRetentionWindowDuration(com.google.protobuf.Duration value)
    The minimum duration for which the output files from the channel will remain in the output bucket.
    setRetentionWindowDuration(com.google.protobuf.Duration value)
    The minimum duration for which the output files from the channel will remain in the output bucket.
    setRetentionWindowDuration(com.google.protobuf.Duration.Builder builderForValue)
    The minimum duration for which the output files from the channel will remain in the output bucket.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder>
    • clear

      public RetentionConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder>
    • getDefaultInstanceForType

      public RetentionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RetentionConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RetentionConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RetentionConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetentionConfig.Builder>
    • mergeFrom

      public RetentionConfig.Builder mergeFrom(RetentionConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RetentionConfig.Builder>
    • mergeFrom

      public RetentionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetentionConfig.Builder>
      Throws:
      IOException
    • hasRetentionWindowDuration

      public 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;
      Specified by:
      hasRetentionWindowDuration in interface RetentionConfigOrBuilder
      Returns:
      Whether the retentionWindowDuration field is set.
    • getRetentionWindowDuration

      public 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;
      Specified by:
      getRetentionWindowDuration in interface RetentionConfigOrBuilder
      Returns:
      The retentionWindowDuration.
    • setRetentionWindowDuration

      public RetentionConfig.Builder setRetentionWindowDuration(com.google.protobuf.Duration value)
       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;
    • setRetentionWindowDuration

      public RetentionConfig.Builder setRetentionWindowDuration(com.google.protobuf.Duration.Builder builderForValue)
       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;
    • mergeRetentionWindowDuration

      public RetentionConfig.Builder mergeRetentionWindowDuration(com.google.protobuf.Duration value)
       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;
    • clearRetentionWindowDuration

      public RetentionConfig.Builder clearRetentionWindowDuration()
       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;
    • getRetentionWindowDurationBuilder

      public com.google.protobuf.Duration.Builder getRetentionWindowDurationBuilder()
       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;
    • getRetentionWindowDurationOrBuilder

      public 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;
      Specified by:
      getRetentionWindowDurationOrBuilder in interface RetentionConfigOrBuilder