rv.data.TriggerTransferRenderState.TimelineState */ class TimelineState extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool active = 1; */ protected $active = false; /** * Generated from protobuf field float current_time = 2; */ protected $current_time = 0.0; /** * Generated from protobuf field int32 last_slide_index = 3; */ protected $last_slide_index = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $active * @type float $current_time * @type int $last_slide_index * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool active = 1; * @return bool */ public function getActive() { return $this->active; } /** * Generated from protobuf field bool active = 1; * @param bool $var * @return $this */ public function setActive($var) { GPBUtil::checkBool($var); $this->active = $var; return $this; } /** * Generated from protobuf field float current_time = 2; * @return float */ public function getCurrentTime() { return $this->current_time; } /** * Generated from protobuf field float current_time = 2; * @param float $var * @return $this */ public function setCurrentTime($var) { GPBUtil::checkFloat($var); $this->current_time = $var; return $this; } /** * Generated from protobuf field int32 last_slide_index = 3; * @return int */ public function getLastSlideIndex() { return $this->last_slide_index; } /** * Generated from protobuf field int32 last_slide_index = 3; * @param int $var * @return $this */ public function setLastSlideIndex($var) { GPBUtil::checkInt32($var); $this->last_slide_index = $var; return $this; } }