rv.data.ProAudienceLook */ class ProAudienceLook extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID uuid = 1; */ protected $uuid = null; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field repeated .rv.data.ProAudienceLook.ProScreenLook screen_looks = 3; */ private $screen_looks; /** * Generated from protobuf field .rv.data.UUID original_look_uuid = 4; */ protected $original_look_uuid = null; /** * Generated from protobuf field double transition_duration = 5; */ protected $transition_duration = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type array<\Rv\Data\ProAudienceLook\ProScreenLook>|\Google\Protobuf\Internal\RepeatedField $screen_looks * @type \Rv\Data\UUID $original_look_uuid * @type float $transition_duration * } */ public function __construct($data = NULL) { \GPBMetadata\ProAudienceLook::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 string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.ProAudienceLook.ProScreenLook screen_looks = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getScreenLooks() { return $this->screen_looks; } /** * Generated from protobuf field repeated .rv.data.ProAudienceLook.ProScreenLook screen_looks = 3; * @param array<\Rv\Data\ProAudienceLook\ProScreenLook>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setScreenLooks($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\ProAudienceLook\ProScreenLook::class); $this->screen_looks = $arr; return $this; } /** * Generated from protobuf field .rv.data.UUID original_look_uuid = 4; * @return \Rv\Data\UUID|null */ public function getOriginalLookUuid() { return $this->original_look_uuid; } public function hasOriginalLookUuid() { return isset($this->original_look_uuid); } public function clearOriginalLookUuid() { unset($this->original_look_uuid); } /** * Generated from protobuf field .rv.data.UUID original_look_uuid = 4; * @param \Rv\Data\UUID $var * @return $this */ public function setOriginalLookUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->original_look_uuid = $var; return $this; } /** * Generated from protobuf field double transition_duration = 5; * @return float */ public function getTransitionDuration() { return $this->transition_duration; } /** * Generated from protobuf field double transition_duration = 5; * @param float $var * @return $this */ public function setTransitionDuration($var) { GPBUtil::checkDouble($var); $this->transition_duration = $var; return $this; } }