<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: screens.proto

namespace Rv\Data\Screen;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.Screen.ColorAdjustment</code>
 */
class ColorAdjustment extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>double gamma = 1;</code>
     */
    protected $gamma = 0.0;
    /**
     * Generated from protobuf field <code>double black_level = 2;</code>
     */
    protected $black_level = 0.0;
    /**
     * Generated from protobuf field <code>double red_level = 3;</code>
     */
    protected $red_level = 0.0;
    /**
     * Generated from protobuf field <code>double green_level = 4;</code>
     */
    protected $green_level = 0.0;
    /**
     * Generated from protobuf field <code>double blue_level = 5;</code>
     */
    protected $blue_level = 0.0;
    /**
     * Generated from protobuf field <code>double brightness = 6;</code>
     */
    protected $brightness = 0.0;
    /**
     * Generated from protobuf field <code>double contrast = 7;</code>
     */
    protected $contrast = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type float $gamma
     *     @type float $black_level
     *     @type float $red_level
     *     @type float $green_level
     *     @type float $blue_level
     *     @type float $brightness
     *     @type float $contrast
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Screens::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>double gamma = 1;</code>
     * @return float
     */
    public function getGamma()
    {
        return $this->gamma;
    }

    /**
     * Generated from protobuf field <code>double gamma = 1;</code>
     * @param float $var
     * @return $this
     */
    public function setGamma($var)
    {
        GPBUtil::checkDouble($var);
        $this->gamma = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double black_level = 2;</code>
     * @return float
     */
    public function getBlackLevel()
    {
        return $this->black_level;
    }

    /**
     * Generated from protobuf field <code>double black_level = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setBlackLevel($var)
    {
        GPBUtil::checkDouble($var);
        $this->black_level = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double red_level = 3;</code>
     * @return float
     */
    public function getRedLevel()
    {
        return $this->red_level;
    }

    /**
     * Generated from protobuf field <code>double red_level = 3;</code>
     * @param float $var
     * @return $this
     */
    public function setRedLevel($var)
    {
        GPBUtil::checkDouble($var);
        $this->red_level = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double green_level = 4;</code>
     * @return float
     */
    public function getGreenLevel()
    {
        return $this->green_level;
    }

    /**
     * Generated from protobuf field <code>double green_level = 4;</code>
     * @param float $var
     * @return $this
     */
    public function setGreenLevel($var)
    {
        GPBUtil::checkDouble($var);
        $this->green_level = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double blue_level = 5;</code>
     * @return float
     */
    public function getBlueLevel()
    {
        return $this->blue_level;
    }

    /**
     * Generated from protobuf field <code>double blue_level = 5;</code>
     * @param float $var
     * @return $this
     */
    public function setBlueLevel($var)
    {
        GPBUtil::checkDouble($var);
        $this->blue_level = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double brightness = 6;</code>
     * @return float
     */
    public function getBrightness()
    {
        return $this->brightness;
    }

    /**
     * Generated from protobuf field <code>double brightness = 6;</code>
     * @param float $var
     * @return $this
     */
    public function setBrightness($var)
    {
        GPBUtil::checkDouble($var);
        $this->brightness = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double contrast = 7;</code>
     * @return float
     */
    public function getContrast()
    {
        return $this->contrast;
    }

    /**
     * Generated from protobuf field <code>double contrast = 7;</code>
     * @param float $var
     * @return $this
     */
    public function setContrast($var)
    {
        GPBUtil::checkDouble($var);
        $this->contrast = $var;

        return $this;
    }

}

