rv.data.Graphics.BackgroundEffect */ class BackgroundEffect extends \Google\Protobuf\Internal\Message { protected $EffectType; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectBlur $backgroundBlur * @type \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectInvert $backgroundInvert * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect.BackgroundEffectBlur backgroundBlur = 2; * @return \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectBlur|null */ public function getBackgroundBlur() { return $this->readOneof(2); } public function hasBackgroundBlur() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect.BackgroundEffectBlur backgroundBlur = 2; * @param \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectBlur $var * @return $this */ public function setBackgroundBlur($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectBlur::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect.BackgroundEffectInvert backgroundInvert = 3; * @return \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectInvert|null */ public function getBackgroundInvert() { return $this->readOneof(3); } public function hasBackgroundInvert() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.Graphics.BackgroundEffect.BackgroundEffectInvert backgroundInvert = 3; * @param \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectInvert $var * @return $this */ public function setBackgroundInvert($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\BackgroundEffect\BackgroundEffectInvert::class); $this->writeOneof(3, $var); return $this; } /** * @return string */ public function getEffectType() { return $this->whichOneof("EffectType"); } }