Class PreprocessingConfig.Audio.Builder

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

public static final class PreprocessingConfig.Audio.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreprocessingConfig.Audio.Builder> implements PreprocessingConfig.AudioOrBuilder
 Audio preprocessing configuration.
 
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Audio
  • 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<PreprocessingConfig.Audio.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<PreprocessingConfig.Audio.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<PreprocessingConfig.Audio.Builder>
    • getDefaultInstanceForType

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

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

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

      public PreprocessingConfig.Audio.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<PreprocessingConfig.Audio.Builder>
    • mergeFrom

    • isInitialized

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

      public PreprocessingConfig.Audio.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<PreprocessingConfig.Audio.Builder>
      Throws:
      IOException
    • getLufs

      public double getLufs()
       Specify audio loudness normalization in loudness units relative to full
       scale (LUFS). Enter a value between -24 and 0 (the default), where:
      
       *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
       *   -23 is the EU R128 broadcast standard
       *   -19 is the prior standard for online mono audio
       *   -18 is the ReplayGain standard
       *   -16 is the prior standard for stereo audio
       *   -14 is the new online audio standard recommended by Spotify, as well
       as Amazon Echo
       *   0 disables normalization
       
      double lufs = 1;
      Specified by:
      getLufs in interface PreprocessingConfig.AudioOrBuilder
      Returns:
      The lufs.
    • setLufs

      public PreprocessingConfig.Audio.Builder setLufs(double value)
       Specify audio loudness normalization in loudness units relative to full
       scale (LUFS). Enter a value between -24 and 0 (the default), where:
      
       *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
       *   -23 is the EU R128 broadcast standard
       *   -19 is the prior standard for online mono audio
       *   -18 is the ReplayGain standard
       *   -16 is the prior standard for stereo audio
       *   -14 is the new online audio standard recommended by Spotify, as well
       as Amazon Echo
       *   0 disables normalization
       
      double lufs = 1;
      Parameters:
      value - The lufs to set.
      Returns:
      This builder for chaining.
    • clearLufs

       Specify audio loudness normalization in loudness units relative to full
       scale (LUFS). Enter a value between -24 and 0 (the default), where:
      
       *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
       *   -23 is the EU R128 broadcast standard
       *   -19 is the prior standard for online mono audio
       *   -18 is the ReplayGain standard
       *   -16 is the prior standard for stereo audio
       *   -14 is the new online audio standard recommended by Spotify, as well
       as Amazon Echo
       *   0 disables normalization
       
      double lufs = 1;
      Returns:
      This builder for chaining.
    • getHighBoost

      public boolean getHighBoost()
       Enable boosting high frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool high_boost = 2;
      Specified by:
      getHighBoost in interface PreprocessingConfig.AudioOrBuilder
      Returns:
      The highBoost.
    • setHighBoost

      public PreprocessingConfig.Audio.Builder setHighBoost(boolean value)
       Enable boosting high frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool high_boost = 2;
      Parameters:
      value - The highBoost to set.
      Returns:
      This builder for chaining.
    • clearHighBoost

      public PreprocessingConfig.Audio.Builder clearHighBoost()
       Enable boosting high frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool high_boost = 2;
      Returns:
      This builder for chaining.
    • getLowBoost

      public boolean getLowBoost()
       Enable boosting low frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool low_boost = 3;
      Specified by:
      getLowBoost in interface PreprocessingConfig.AudioOrBuilder
      Returns:
      The lowBoost.
    • setLowBoost

      public PreprocessingConfig.Audio.Builder setLowBoost(boolean value)
       Enable boosting low frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool low_boost = 3;
      Parameters:
      value - The lowBoost to set.
      Returns:
      This builder for chaining.
    • clearLowBoost

      public PreprocessingConfig.Audio.Builder clearLowBoost()
       Enable boosting low frequency components. The default is `false`.
      
       **Note:** This field is not supported.
       
      bool low_boost = 3;
      Returns:
      This builder for chaining.