<?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.CornerValues</code>
 */
class CornerValues extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point top_left = 1;</code>
     */
    protected $top_left = null;
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point top_right = 2;</code>
     */
    protected $top_right = null;
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_left = 3;</code>
     */
    protected $bottom_left = null;
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_right = 4;</code>
     */
    protected $bottom_right = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Graphics\Point $top_left
     *     @type \Rv\Data\Graphics\Point $top_right
     *     @type \Rv\Data\Graphics\Point $bottom_left
     *     @type \Rv\Data\Graphics\Point $bottom_right
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Screens::initOnce();
        parent::__construct($data);
    }

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

    public function hasTopLeft()
    {
        return isset($this->top_left);
    }

    public function clearTopLeft()
    {
        unset($this->top_left);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point top_right = 2;</code>
     * @return \Rv\Data\Graphics\Point|null
     */
    public function getTopRight()
    {
        return $this->top_right;
    }

    public function hasTopRight()
    {
        return isset($this->top_right);
    }

    public function clearTopRight()
    {
        unset($this->top_right);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point top_right = 2;</code>
     * @param \Rv\Data\Graphics\Point $var
     * @return $this
     */
    public function setTopRight($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Graphics\Point::class);
        $this->top_right = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_left = 3;</code>
     * @return \Rv\Data\Graphics\Point|null
     */
    public function getBottomLeft()
    {
        return $this->bottom_left;
    }

    public function hasBottomLeft()
    {
        return isset($this->bottom_left);
    }

    public function clearBottomLeft()
    {
        unset($this->bottom_left);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_left = 3;</code>
     * @param \Rv\Data\Graphics\Point $var
     * @return $this
     */
    public function setBottomLeft($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Graphics\Point::class);
        $this->bottom_left = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_right = 4;</code>
     * @return \Rv\Data\Graphics\Point|null
     */
    public function getBottomRight()
    {
        return $this->bottom_right;
    }

    public function hasBottomRight()
    {
        return isset($this->bottom_right);
    }

    public function clearBottomRight()
    {
        unset($this->bottom_right);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point bottom_right = 4;</code>
     * @param \Rv\Data\Graphics\Point $var
     * @return $this
     */
    public function setBottomRight($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Graphics\Point::class);
        $this->bottom_right = $var;

        return $this;
    }

}

