Class PreprocessingConfig.Color.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
      • setRepeatedField

        public PreprocessingConfig.Color.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PreprocessingConfig.Color.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

        public final PreprocessingConfig.Color.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreprocessingConfig.Color.Builder>
      • mergeUnknownFields

        public final PreprocessingConfig.Color.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreprocessingConfig.Color.Builder>