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

namespace Rv\Data\Slide\Element\DataLink;

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

/**
 * Generated from protobuf message <code>rv.data.Slide.Element.DataLink.OutputScreen</code>
 */
class OutputScreen extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID screen_id = 1;</code>
     */
    protected $screen_id = null;
    /**
     * Generated from protobuf field <code>string screen_name = 2;</code>
     */
    protected $screen_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\UUID $screen_id
     *     @type string $screen_name
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Slide::initOnce();
        parent::__construct($data);
    }

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

    public function hasScreenId()
    {
        return isset($this->screen_id);
    }

    public function clearScreenId()
    {
        unset($this->screen_id);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string screen_name = 2;</code>
     * @return string
     */
    public function getScreenName()
    {
        return $this->screen_name;
    }

    /**
     * Generated from protobuf field <code>string screen_name = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setScreenName($var)
    {
        GPBUtil::checkString($var, True);
        $this->screen_name = $var;

        return $this;
    }

}

