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

namespace Rv\Data\TestPattern;

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

/**
 * Generated from protobuf message <code>rv.data.TestPattern.IntensityColor</code>
 */
class IntensityColor extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>double intensity = 1;</code>
     */
    protected $intensity = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type float $intensity
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\TestPattern::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

}

