rv.analytics.UI.Show.SlideLabel.Change */ class Change extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 number_of_slides = 1; */ protected $number_of_slides = 0; /** * Generated from protobuf field .rv.analytics.UI.Show.SlideLabel.Change.Source source = 2; */ 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 int32 number_of_slides = 1; * @return int */ public function getNumberOfSlides() { return $this->number_of_slides; } /** * Generated from protobuf field int32 number_of_slides = 1; * @param int $var * @return $this */ public function setNumberOfSlides($var) { GPBUtil::checkInt32($var); $this->number_of_slides = $var; return $this; } /** * Generated from protobuf field .rv.analytics.UI.Show.SlideLabel.Change.Source source = 2; * @return int */ public function getSource() { return $this->source; } /** * Generated from protobuf field .rv.analytics.UI.Show.SlideLabel.Change.Source source = 2; * @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; } }