rv.data.Slide.Element
*/
class Element extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field .rv.data.Graphics.Element element = 1;
*/
protected $element = null;
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_in = 2;
*/
protected $build_in = null;
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_out = 3;
*/
protected $build_out = null;
/**
* Generated from protobuf field uint32 info = 4;
*/
protected $info = 0;
/**
* Generated from protobuf field .rv.data.Slide.Element.TextRevealType reveal_type = 5;
*/
protected $reveal_type = 0;
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.DataLink data_links = 6;
*/
private $data_links;
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.ChildBuild childBuilds = 7;
*/
private $childBuilds;
/**
* Generated from protobuf field uint32 reveal_from_index = 8;
*/
protected $reveal_from_index = 0;
/**
* Generated from protobuf field .rv.data.Slide.Element.TextScroller text_scroller = 9;
*/
protected $text_scroller = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\Graphics\Element $element
* @type \Rv\Data\Slide\Element\Build $build_in
* @type \Rv\Data\Slide\Element\Build $build_out
* @type int $info
* @type int $reveal_type
* @type array<\Rv\Data\Slide\Element\DataLink>|\Google\Protobuf\Internal\RepeatedField $data_links
* @type array<\Rv\Data\Slide\Element\ChildBuild>|\Google\Protobuf\Internal\RepeatedField $childBuilds
* @type int $reveal_from_index
* @type \Rv\Data\Slide\Element\TextScroller $text_scroller
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Slide::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field .rv.data.Graphics.Element element = 1;
* @return \Rv\Data\Graphics\Element|null
*/
public function getElement()
{
return $this->element;
}
public function hasElement()
{
return isset($this->element);
}
public function clearElement()
{
unset($this->element);
}
/**
* Generated from protobuf field .rv.data.Graphics.Element element = 1;
* @param \Rv\Data\Graphics\Element $var
* @return $this
*/
public function setElement($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Graphics\Element::class);
$this->element = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_in = 2;
* @return \Rv\Data\Slide\Element\Build|null
*/
public function getBuildIn()
{
return $this->build_in;
}
public function hasBuildIn()
{
return isset($this->build_in);
}
public function clearBuildIn()
{
unset($this->build_in);
}
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_in = 2;
* @param \Rv\Data\Slide\Element\Build $var
* @return $this
*/
public function setBuildIn($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Slide\Element\Build::class);
$this->build_in = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_out = 3;
* @return \Rv\Data\Slide\Element\Build|null
*/
public function getBuildOut()
{
return $this->build_out;
}
public function hasBuildOut()
{
return isset($this->build_out);
}
public function clearBuildOut()
{
unset($this->build_out);
}
/**
* Generated from protobuf field .rv.data.Slide.Element.Build build_out = 3;
* @param \Rv\Data\Slide\Element\Build $var
* @return $this
*/
public function setBuildOut($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Slide\Element\Build::class);
$this->build_out = $var;
return $this;
}
/**
* Generated from protobuf field uint32 info = 4;
* @return int
*/
public function getInfo()
{
return $this->info;
}
/**
* Generated from protobuf field uint32 info = 4;
* @param int $var
* @return $this
*/
public function setInfo($var)
{
GPBUtil::checkUint32($var);
$this->info = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Slide.Element.TextRevealType reveal_type = 5;
* @return int
*/
public function getRevealType()
{
return $this->reveal_type;
}
/**
* Generated from protobuf field .rv.data.Slide.Element.TextRevealType reveal_type = 5;
* @param int $var
* @return $this
*/
public function setRevealType($var)
{
GPBUtil::checkEnum($var, \Rv\Data\Slide\Element\TextRevealType::class);
$this->reveal_type = $var;
return $this;
}
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.DataLink data_links = 6;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getDataLinks()
{
return $this->data_links;
}
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.DataLink data_links = 6;
* @param array<\Rv\Data\Slide\Element\DataLink>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setDataLinks($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Slide\Element\DataLink::class);
$this->data_links = $arr;
return $this;
}
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.ChildBuild childBuilds = 7;
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getChildBuilds()
{
return $this->childBuilds;
}
/**
* Generated from protobuf field repeated .rv.data.Slide.Element.ChildBuild childBuilds = 7;
* @param array<\Rv\Data\Slide\Element\ChildBuild>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setChildBuilds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Slide\Element\ChildBuild::class);
$this->childBuilds = $arr;
return $this;
}
/**
* Generated from protobuf field uint32 reveal_from_index = 8;
* @return int
*/
public function getRevealFromIndex()
{
return $this->reveal_from_index;
}
/**
* Generated from protobuf field uint32 reveal_from_index = 8;
* @param int $var
* @return $this
*/
public function setRevealFromIndex($var)
{
GPBUtil::checkUint32($var);
$this->reveal_from_index = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.Slide.Element.TextScroller text_scroller = 9;
* @return \Rv\Data\Slide\Element\TextScroller|null
*/
public function getTextScroller()
{
return $this->text_scroller;
}
public function hasTextScroller()
{
return isset($this->text_scroller);
}
public function clearTextScroller()
{
unset($this->text_scroller);
}
/**
* Generated from protobuf field .rv.data.Slide.Element.TextScroller text_scroller = 9;
* @param \Rv\Data\Slide\Element\TextScroller $var
* @return $this
*/
public function setTextScroller($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Slide\Element\TextScroller::class);
$this->text_scroller = $var;
return $this;
}
}