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

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.EdgeBlend</code>
 */
class EdgeBlend extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
     */
    protected $uuid = null;
    /**
     * Generated from protobuf field <code>double radius = 2;</code>
     */
    protected $radius = 0.0;
    /**
     * Generated from protobuf field <code>double intensity = 3;</code>
     */
    protected $intensity = 0.0;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Mode mode = 4;</code>
     */
    protected $mode = 0;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen first_screen = 5;</code>
     */
    protected $first_screen = null;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen second_screen = 6;</code>
     */
    protected $second_screen = null;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen left_screen = 7;</code>
     */
    protected $left_screen = null;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen right_screen = 8;</code>
     */
    protected $right_screen = null;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen top_screen = 9;</code>
     */
    protected $top_screen = null;
    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen bottom_screen = 10;</code>
     */
    protected $bottom_screen = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\UUID $uuid
     *     @type float $radius
     *     @type float $intensity
     *     @type int $mode
     *     @type \Rv\Data\EdgeBlend\Screen $first_screen
     *     @type \Rv\Data\EdgeBlend\Screen $second_screen
     *     @type \Rv\Data\EdgeBlend\Screen $left_screen
     *     @type \Rv\Data\EdgeBlend\Screen $right_screen
     *     @type \Rv\Data\EdgeBlend\Screen $top_screen
     *     @type \Rv\Data\EdgeBlend\Screen $bottom_screen
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Screens::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
     * @return \Rv\Data\UUID|null
     */
    public function getUuid()
    {
        return $this->uuid;
    }

    public function hasUuid()
    {
        return isset($this->uuid);
    }

    public function clearUuid()
    {
        unset($this->uuid);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
     * @param \Rv\Data\UUID $var
     * @return $this
     */
    public function setUuid($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
        $this->uuid = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Mode mode = 4;</code>
     * @return int
     */
    public function getMode()
    {
        return $this->mode;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Mode mode = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setMode($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\EdgeBlend\Mode::class);
        $this->mode = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen first_screen = 5;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getFirstScreen()
    {
        return $this->first_screen;
    }

    public function hasFirstScreen()
    {
        return isset($this->first_screen);
    }

    public function clearFirstScreen()
    {
        unset($this->first_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen first_screen = 5;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setFirstScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->first_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen second_screen = 6;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getSecondScreen()
    {
        return $this->second_screen;
    }

    public function hasSecondScreen()
    {
        return isset($this->second_screen);
    }

    public function clearSecondScreen()
    {
        unset($this->second_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen second_screen = 6;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setSecondScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->second_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen left_screen = 7;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getLeftScreen()
    {
        return $this->left_screen;
    }

    public function hasLeftScreen()
    {
        return isset($this->left_screen);
    }

    public function clearLeftScreen()
    {
        unset($this->left_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen left_screen = 7;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setLeftScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->left_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen right_screen = 8;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getRightScreen()
    {
        return $this->right_screen;
    }

    public function hasRightScreen()
    {
        return isset($this->right_screen);
    }

    public function clearRightScreen()
    {
        unset($this->right_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen right_screen = 8;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setRightScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->right_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen top_screen = 9;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getTopScreen()
    {
        return $this->top_screen;
    }

    public function hasTopScreen()
    {
        return isset($this->top_screen);
    }

    public function clearTopScreen()
    {
        unset($this->top_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen top_screen = 9;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setTopScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->top_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen bottom_screen = 10;</code>
     * @return \Rv\Data\EdgeBlend\Screen|null
     */
    public function getBottomScreen()
    {
        return $this->bottom_screen;
    }

    public function hasBottomScreen()
    {
        return isset($this->bottom_screen);
    }

    public function clearBottomScreen()
    {
        unset($this->bottom_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.EdgeBlend.Screen bottom_screen = 10;</code>
     * @param \Rv\Data\EdgeBlend\Screen $var
     * @return $this
     */
    public function setBottomScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\EdgeBlend\Screen::class);
        $this->bottom_screen = $var;

        return $this;
    }

}

