- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
180 lines
4.6 KiB
PHP
180 lines
4.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proCore.proto
|
|
|
|
namespace Rv\Data\SlideElementTextRenderInfo;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.SlideElementTextRenderInfo.Layer</code>
|
|
*/
|
|
class Layer extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1;</code>
|
|
*/
|
|
protected $layer_type = 0;
|
|
/**
|
|
* Generated from protobuf field <code>int32 text_build_index = 5;</code>
|
|
*/
|
|
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 <code>.rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getLayerType()
|
|
{
|
|
return $this->layer_type;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.SlideElementTextRenderInfo.LayerType layer_type = 1;</code>
|
|
* @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 <code>int32 text_build_index = 5;</code>
|
|
* @return int
|
|
*/
|
|
public function getTextBuildIndex()
|
|
{
|
|
return $this->text_build_index;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>int32 text_build_index = 5;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setTextBuildIndex($var)
|
|
{
|
|
GPBUtil::checkInt32($var);
|
|
$this->text_build_index = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.CutOutFill cut_out_fill = 2;</code>
|
|
* @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 <code>.rv.data.Graphics.Text.CutOutFill cut_out_fill = 2;</code>
|
|
* @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 <code>.rv.data.Graphics.Text.MediaFill media_fill = 3;</code>
|
|
* @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 <code>.rv.data.Graphics.Text.MediaFill media_fill = 3;</code>
|
|
* @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 <code>.rv.data.Graphics.BackgroundEffect background_effect = 4;</code>
|
|
* @return \Rv\Data\Graphics\BackgroundEffect|null
|
|
*/
|
|
public function getBackgroundEffect()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasBackgroundEffect()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.BackgroundEffect background_effect = 4;</code>
|
|
* @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");
|
|
}
|
|
|
|
}
|
|
|