rv.data.SlideElementTextRenderInfo.Layer */ class Layer extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1; */ protected $layer_type = 0; /** * Generated from protobuf field int32 text_build_index = 5; */ protected $text_build_index = 0; protected $AdvancedFill; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $layer_type * @type int $text_build_index * @type \Rv\Data\Graphics\Text\CutOutFill $cut_out_fill * @type \Rv\Data\Graphics\Text\MediaFill $media_fill * @type \Rv\Data\Graphics\BackgroundEffect $background_effect * } */ public function __construct($data = NULL) { \GPBMetadata\ProCore::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1; * @return int */ public function getLayerType() { return $this->layer_type; } /** * Generated from protobuf field .rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1; * @param int $var * @return $this */ public function setLayerType($var) { GPBUtil::checkEnum($var, \Rv\Data\SlideElementTextRenderInfo\LayerType::class); $this->layer_type = $var; return $this; } /** * Generated from protobuf field int32 text_build_index = 5; * @return int */ public function getTextBuildIndex() { return $this->text_build_index; } /** * Generated from protobuf field int32 text_build_index = 5; * @param int $var * @return $this */ public function setTextBuildIndex($var) { GPBUtil::checkInt32($var); $this->text_build_index = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Text.CutOutFill cut_out_fill = 2; * @return \Rv\Data\Graphics\Text\CutOutFill|null */ public function getCutOutFill() { return $this->readOneof(2); } public function hasCutOutFill() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.Graphics.Text.CutOutFill cut_out_fill = 2; * @param \Rv\Data\Graphics\Text\CutOutFill $var * @return $this */ public function setCutOutFill($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\CutOutFill::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.Graphics.Text.MediaFill media_fill = 3; * @return \Rv\Data\Graphics\Text\MediaFill|null */ public function getMediaFill() { return $this->readOneof(3); } public function hasMediaFill() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.Graphics.Text.MediaFill media_fill = 3; * @param \Rv\Data\Graphics\Text\MediaFill $var * @return $this */ public function setMediaFill($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\MediaFill::class); $this->writeOneof(3, $var); return $this; } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect background_effect = 4; * @return \Rv\Data\Graphics\BackgroundEffect|null */ public function getBackgroundEffect() { return $this->readOneof(4); } public function hasBackgroundEffect() { return $this->hasOneof(4); } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect background_effect = 4; * @param \Rv\Data\Graphics\BackgroundEffect $var * @return $this */ public function setBackgroundEffect($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\BackgroundEffect::class); $this->writeOneof(4, $var); return $this; } /** * @return string */ public function getAdvancedFill() { return $this->whichOneof("AdvancedFill"); } }