Class PreprocessingConfig.Color.Builder

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

public static final class PreprocessingConfig.Color.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreprocessingConfig.Color.Builder> implements PreprocessingConfig.ColorOrBuilder
 Color preprocessing configuration.

 **Note:** This configuration is not supported.
 
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Color
  • 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.Color.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.Color.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.Color.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public double getSaturation()
       Control color saturation of the video. Enter a value between -1 and 1,
       where -1 is fully desaturated and 1 is maximum saturation. 0 is no
       change. The default is 0.
       
      double saturation = 1;
      Specified by:
      getSaturation in interface PreprocessingConfig.ColorOrBuilder
      Returns:
      The saturation.
    • setSaturation

      public PreprocessingConfig.Color.Builder setSaturation(double value)
       Control color saturation of the video. Enter a value between -1 and 1,
       where -1 is fully desaturated and 1 is maximum saturation. 0 is no
       change. The default is 0.
       
      double saturation = 1;
      Parameters:
      value - The saturation to set.
      Returns:
      This builder for chaining.
    • clearSaturation

      public PreprocessingConfig.Color.Builder clearSaturation()
       Control color saturation of the video. Enter a value between -1 and 1,
       where -1 is fully desaturated and 1 is maximum saturation. 0 is no
       change. The default is 0.
       
      double saturation = 1;
      Returns:
      This builder for chaining.
    • getContrast

      public double getContrast()
       Control black and white contrast of the video. Enter a value between -1
       and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
       change. The default is 0.
       
      double contrast = 2;
      Specified by:
      getContrast in interface PreprocessingConfig.ColorOrBuilder
      Returns:
      The contrast.
    • setContrast

      public PreprocessingConfig.Color.Builder setContrast(double value)
       Control black and white contrast of the video. Enter a value between -1
       and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
       change. The default is 0.
       
      double contrast = 2;
      Parameters:
      value - The contrast to set.
      Returns:
      This builder for chaining.
    • clearContrast

      public PreprocessingConfig.Color.Builder clearContrast()
       Control black and white contrast of the video. Enter a value between -1
       and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
       change. The default is 0.
       
      double contrast = 2;
      Returns:
      This builder for chaining.
    • getBrightness

      public double getBrightness()
       Control brightness of the video. Enter a value between -1 and 1, where -1
       is minimum brightness and 1 is maximum brightness. 0 is no change. The
       default is 0.
       
      double brightness = 3;
      Specified by:
      getBrightness in interface PreprocessingConfig.ColorOrBuilder
      Returns:
      The brightness.
    • setBrightness

      public PreprocessingConfig.Color.Builder setBrightness(double value)
       Control brightness of the video. Enter a value between -1 and 1, where -1
       is minimum brightness and 1 is maximum brightness. 0 is no change. The
       default is 0.
       
      double brightness = 3;
      Parameters:
      value - The brightness to set.
      Returns:
      This builder for chaining.
    • clearBrightness

      public PreprocessingConfig.Color.Builder clearBrightness()
       Control brightness of the video. Enter a value between -1 and 1, where -1
       is minimum brightness and 1 is maximum brightness. 0 is no change. The
       default is 0.
       
      double brightness = 3;
      Returns:
      This builder for chaining.