rv.data.PropSlide
*/
class PropSlide extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.Slide base_slide = 1;
*/
protected $base_slide = null;
/**
* Generated from protobuf field .rv.data.Transition transition = 2;
*/
protected $transition = null;
/**
* Generated from protobuf field bool auto_clear_enabled = 3;
*/
protected $auto_clear_enabled = false;
/**
* Generated from protobuf field double auto_clear_duration = 4;
*/
protected $auto_clear_duration = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\Slide $base_slide
* @type \Rv\Data\Transition $transition
* @type bool $auto_clear_enabled
* @type float $auto_clear_duration
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\PropSlide::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.Slide base_slide = 1;
* @return \Rv\Data\Slide|null
*/
public function getBaseSlide()
{
return $this->base_slide;
}
public function hasBaseSlide()
{
return isset($this->base_slide);
}
public function clearBaseSlide()
{
unset($this->base_slide);
}
/**
* Generated from protobuf field .rv.data.Slide base_slide = 1;
* @param \Rv\Data\Slide $var
* @return $this
*/
public function setBaseSlide($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Slide::class);
$this->base_slide = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Transition transition = 2;
* @return \Rv\Data\Transition|null
*/
public function getTransition()
{
return $this->transition;
}
public function hasTransition()
{
return isset($this->transition);
}
public function clearTransition()
{
unset($this->transition);
}
/**
* Generated from protobuf field .rv.data.Transition transition = 2;
* @param \Rv\Data\Transition $var
* @return $this
*/
public function setTransition($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Transition::class);
$this->transition = $var;
return $this;
}
/**
* Generated from protobuf field bool auto_clear_enabled = 3;
* @return bool
*/
public function getAutoClearEnabled()
{
return $this->auto_clear_enabled;
}
/**
* Generated from protobuf field bool auto_clear_enabled = 3;
* @param bool $var
* @return $this
*/
public function setAutoClearEnabled($var)
{
GPBUtil::checkBool($var);
$this->auto_clear_enabled = $var;
return $this;
}
/**
* Generated from protobuf field double auto_clear_duration = 4;
* @return float
*/
public function getAutoClearDuration()
{
return $this->auto_clear_duration;
}
/**
* Generated from protobuf field double auto_clear_duration = 4;
* @param float $var
* @return $this
*/
public function setAutoClearDuration($var)
{
GPBUtil::checkDouble($var);
$this->auto_clear_duration = $var;
return $this;
}
}