rv.data.Effect */ class Effect extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field bool enabled = 2; */ protected $enabled = false; /** * Generated from protobuf field string name = 3; */ protected $name = ''; /** * Generated from protobuf field string render_id = 4; */ protected $render_id = ''; /** * Generated from protobuf field string behavior_description = 5; */ protected $behavior_description = ''; /** * Generated from protobuf field string category = 6; */ protected $category = ''; /** * Generated from protobuf field repeated .rv.data.Effect.EffectVariable variables = 7; */ private $variables; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type bool $enabled * @type string $name * @type string $render_id * @type string $behavior_description * @type string $category * @type array<\Rv\Data\Effect\EffectVariable>|\Google\Protobuf\Internal\RepeatedField $variables * } */ public function __construct($data = NULL) { \GPBMetadata\Effects::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @return \Rv\Data\UUID|null */ public function getUuid() { return $this->uuid; } public function hasUuid() { return isset($this->uuid); } public function clearUuid() { unset($this->uuid); } /** * Generated from protobuf field .rv.data.UUID uuid = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->uuid = $var; return $this; } /** * Generated from protobuf field bool enabled = 2; * @return bool */ public function getEnabled() { return $this->enabled; } /** * Generated from protobuf field bool enabled = 2; * @param bool $var * @return $this */ public function setEnabled($var) { GPBUtil::checkBool($var); $this->enabled = $var; return $this; } /** * Generated from protobuf field string name = 3; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 3; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field string render_id = 4; * @return string */ public function getRenderId() { return $this->render_id; } /** * Generated from protobuf field string render_id = 4; * @param string $var * @return $this */ public function setRenderId($var) { GPBUtil::checkString($var, True); $this->render_id = $var; return $this; } /** * Generated from protobuf field string behavior_description = 5; * @return string */ public function getBehaviorDescription() { return $this->behavior_description; } /** * Generated from protobuf field string behavior_description = 5; * @param string $var * @return $this */ public function setBehaviorDescription($var) { GPBUtil::checkString($var, True); $this->behavior_description = $var; return $this; } /** * Generated from protobuf field string category = 6; * @return string */ public function getCategory() { return $this->category; } /** * Generated from protobuf field string category = 6; * @param string $var * @return $this */ public function setCategory($var) { GPBUtil::checkString($var, True); $this->category = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Effect.EffectVariable variables = 7; * @return \Google\Protobuf\Internal\RepeatedField */ public function getVariables() { return $this->variables; } /** * Generated from protobuf field repeated .rv.data.Effect.EffectVariable variables = 7; * @param array<\Rv\Data\Effect\EffectVariable>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setVariables($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Effect\EffectVariable::class); $this->variables = $arr; return $this; } }