rv.data.TriggerSource.Playlist */ class Playlist extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.UUID identifier = 1; */ protected $identifier = null; /** * Generated from protobuf field .rv.data.UUID item_identifier = 2; */ protected $item_identifier = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $identifier * @type \Rv\Data\UUID $item_identifier * } */ public function __construct($data = NULL) { \GPBMetadata\TimedPlayback::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.UUID identifier = 1; * @return \Rv\Data\UUID|null */ public function getIdentifier() { return $this->identifier; } public function hasIdentifier() { return isset($this->identifier); } public function clearIdentifier() { unset($this->identifier); } /** * Generated from protobuf field .rv.data.UUID identifier = 1; * @param \Rv\Data\UUID $var * @return $this */ public function setIdentifier($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->identifier = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID item_identifier = 2; * @return \Rv\Data\UUID|null */ public function getItemIdentifier() { return $this->item_identifier; } public function hasItemIdentifier() { return isset($this->item_identifier); } public function clearItemIdentifier() { unset($this->item_identifier); } /** * Generated from protobuf field .rv.data.UUID item_identifier = 2; * @param \Rv\Data\UUID $var * @return $this */ public function setItemIdentifier($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->item_identifier = $var; return $this; } }