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

namespace Rv\Data\API_v1_Presentation\SlideGroup;

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

/**
 * Generated from protobuf message <code>rv.data.API_v1_Presentation.SlideGroup.Slide</code>
 */
class Slide extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool enabled = 1;</code>
     */
    protected $enabled = false;
    /**
     * Generated from protobuf field <code>string notes = 2;</code>
     */
    protected $notes = '';
    /**
     * Generated from protobuf field <code>string text = 3;</code>
     */
    protected $text = '';
    /**
     * Generated from protobuf field <code>string label = 5;</code>
     */
    protected $label = '';
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Size size = 6;</code>
     */
    protected $size = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $enabled
     *     @type string $notes
     *     @type string $text
     *     @type string $label
     *     @type \Rv\Data\API_v1_Size $size
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Presentation::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool enabled = 1;</code>
     * @return bool
     */
    public function getEnabled()
    {
        return $this->enabled;
    }

    /**
     * Generated from protobuf field <code>bool enabled = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setEnabled($var)
    {
        GPBUtil::checkBool($var);
        $this->enabled = $var;

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string text = 3;</code>
     * @return string
     */
    public function getText()
    {
        return $this->text;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string label = 5;</code>
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }

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

        return $this;
    }

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

    public function hasSize()
    {
        return isset($this->size);
    }

    public function clearSize()
    {
        unset($this->size);
    }

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

        return $this;
    }

}

