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

namespace Rv\Analytics\UI\Show\SlideLabel;

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

/**
 * Generated from protobuf message <code>rv.analytics.UI.Show.SlideLabel.Change</code>
 */
class Change extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 number_of_slides = 1;</code>
     */
    protected $number_of_slides = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Show.SlideLabel.Change.Source source = 2;</code>
     */
    protected $source = 0;

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

    /**
     * Generated from protobuf field <code>int32 number_of_slides = 1;</code>
     * @return int
     */
    public function getNumberOfSlides()
    {
        return $this->number_of_slides;
    }

    /**
     * Generated from protobuf field <code>int32 number_of_slides = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setNumberOfSlides($var)
    {
        GPBUtil::checkInt32($var);
        $this->number_of_slides = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Show.SlideLabel.Change.Source source = 2;</code>
     * @return int
     */
    public function getSource()
    {
        return $this->source;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.Show.SlideLabel.Change.Source source = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSource($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\UI\Show\SlideLabel\Change\Source::class);
        $this->source = $var;

        return $this;
    }

}

