rv.data.Playlist */ class Playlist 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 .rv.data.Playlist.Type type = 3; */ protected $type = 0; /** * Generated from protobuf field bool expanded = 4; */ protected $expanded = false; /** * Generated from protobuf field .rv.data.UUID targeted_layer_uuid = 5; */ protected $targeted_layer_uuid = null; /** * Generated from protobuf field .rv.data.URL smart_directory_path = 6; */ protected $smart_directory_path = null; /** * Generated from protobuf field .rv.data.HotKey hot_key = 7; */ protected $hot_key = null; /** * Generated from protobuf field repeated .rv.data.Cue cues = 8; */ private $cues; /** * Generated from protobuf field repeated .rv.data.Playlist children = 9; */ private $children; /** * Generated from protobuf field bool timecode_enabled = 10; */ protected $timecode_enabled = false; /** * Generated from protobuf field .rv.data.Playlist.TimingType timing = 11; */ protected $timing = 0; /** * Generated from protobuf field .rv.data.Playlist.StartupInfo startup_info = 16; */ protected $startup_info = null; protected $ChildrenType; protected $LinkData; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\UUID $uuid * @type string $name * @type int $type * @type bool $expanded * @type \Rv\Data\UUID $targeted_layer_uuid * @type \Rv\Data\URL $smart_directory_path * @type \Rv\Data\HotKey $hot_key * @type array<\Rv\Data\Cue>|\Google\Protobuf\Internal\RepeatedField $cues * @type array<\Rv\Data\Playlist>|\Google\Protobuf\Internal\RepeatedField $children * @type bool $timecode_enabled * @type int $timing * @type \Rv\Data\Playlist\StartupInfo $startup_info * @type \Rv\Data\Playlist\PlaylistArray $playlists * @type \Rv\Data\Playlist\PlaylistItems $items * @type \Rv\Data\Playlist\FolderDirectory $smart_directory * @type \Rv\Data\PlanningCenterPlan $pco_plan * } */ public function __construct($data = NULL) { \GPBMetadata\Playlist::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 .rv.data.Playlist.Type type = 3; * @return int */ public function getType() { return $this->type; } /** * Generated from protobuf field .rv.data.Playlist.Type type = 3; * @param int $var * @return $this */ public function setType($var) { GPBUtil::checkEnum($var, \Rv\Data\Playlist\Type::class); $this->type = $var; return $this; } /** * Generated from protobuf field bool expanded = 4; * @return bool */ public function getExpanded() { return $this->expanded; } /** * Generated from protobuf field bool expanded = 4; * @param bool $var * @return $this */ public function setExpanded($var) { GPBUtil::checkBool($var); $this->expanded = $var; return $this; } /** * Generated from protobuf field .rv.data.UUID targeted_layer_uuid = 5; * @return \Rv\Data\UUID|null */ public function getTargetedLayerUuid() { return $this->targeted_layer_uuid; } public function hasTargetedLayerUuid() { return isset($this->targeted_layer_uuid); } public function clearTargetedLayerUuid() { unset($this->targeted_layer_uuid); } /** * Generated from protobuf field .rv.data.UUID targeted_layer_uuid = 5; * @param \Rv\Data\UUID $var * @return $this */ public function setTargetedLayerUuid($var) { GPBUtil::checkMessage($var, \Rv\Data\UUID::class); $this->targeted_layer_uuid = $var; return $this; } /** * Generated from protobuf field .rv.data.URL smart_directory_path = 6; * @return \Rv\Data\URL|null */ public function getSmartDirectoryPath() { return $this->smart_directory_path; } public function hasSmartDirectoryPath() { return isset($this->smart_directory_path); } public function clearSmartDirectoryPath() { unset($this->smart_directory_path); } /** * Generated from protobuf field .rv.data.URL smart_directory_path = 6; * @param \Rv\Data\URL $var * @return $this */ public function setSmartDirectoryPath($var) { GPBUtil::checkMessage($var, \Rv\Data\URL::class); $this->smart_directory_path = $var; return $this; } /** * Generated from protobuf field .rv.data.HotKey hot_key = 7; * @return \Rv\Data\HotKey|null */ public function getHotKey() { return $this->hot_key; } public function hasHotKey() { return isset($this->hot_key); } public function clearHotKey() { unset($this->hot_key); } /** * Generated from protobuf field .rv.data.HotKey hot_key = 7; * @param \Rv\Data\HotKey $var * @return $this */ public function setHotKey($var) { GPBUtil::checkMessage($var, \Rv\Data\HotKey::class); $this->hot_key = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Cue cues = 8; * @return \Google\Protobuf\Internal\RepeatedField */ public function getCues() { return $this->cues; } /** * Generated from protobuf field repeated .rv.data.Cue cues = 8; * @param array<\Rv\Data\Cue>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setCues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Cue::class); $this->cues = $arr; return $this; } /** * Generated from protobuf field repeated .rv.data.Playlist children = 9; * @return \Google\Protobuf\Internal\RepeatedField */ public function getChildren() { return $this->children; } /** * Generated from protobuf field repeated .rv.data.Playlist children = 9; * @param array<\Rv\Data\Playlist>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setChildren($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Playlist::class); $this->children = $arr; return $this; } /** * Generated from protobuf field bool timecode_enabled = 10; * @return bool */ public function getTimecodeEnabled() { return $this->timecode_enabled; } /** * Generated from protobuf field bool timecode_enabled = 10; * @param bool $var * @return $this */ public function setTimecodeEnabled($var) { GPBUtil::checkBool($var); $this->timecode_enabled = $var; return $this; } /** * Generated from protobuf field .rv.data.Playlist.TimingType timing = 11; * @return int */ public function getTiming() { return $this->timing; } /** * Generated from protobuf field .rv.data.Playlist.TimingType timing = 11; * @param int $var * @return $this */ public function setTiming($var) { GPBUtil::checkEnum($var, \Rv\Data\Playlist\TimingType::class); $this->timing = $var; return $this; } /** * Generated from protobuf field .rv.data.Playlist.StartupInfo startup_info = 16; * @return \Rv\Data\Playlist\StartupInfo|null */ public function getStartupInfo() { return $this->startup_info; } public function hasStartupInfo() { return isset($this->startup_info); } public function clearStartupInfo() { unset($this->startup_info); } /** * Generated from protobuf field .rv.data.Playlist.StartupInfo startup_info = 16; * @param \Rv\Data\Playlist\StartupInfo $var * @return $this */ public function setStartupInfo($var) { GPBUtil::checkMessage($var, \Rv\Data\Playlist\StartupInfo::class); $this->startup_info = $var; return $this; } /** * Generated from protobuf field .rv.data.Playlist.PlaylistArray playlists = 12; * @return \Rv\Data\Playlist\PlaylistArray|null */ public function getPlaylists() { return $this->readOneof(12); } public function hasPlaylists() { return $this->hasOneof(12); } /** * Generated from protobuf field .rv.data.Playlist.PlaylistArray playlists = 12; * @param \Rv\Data\Playlist\PlaylistArray $var * @return $this */ public function setPlaylists($var) { GPBUtil::checkMessage($var, \Rv\Data\Playlist\PlaylistArray::class); $this->writeOneof(12, $var); return $this; } /** * Generated from protobuf field .rv.data.Playlist.PlaylistItems items = 13; * @return \Rv\Data\Playlist\PlaylistItems|null */ public function getItems() { return $this->readOneof(13); } public function hasItems() { return $this->hasOneof(13); } /** * Generated from protobuf field .rv.data.Playlist.PlaylistItems items = 13; * @param \Rv\Data\Playlist\PlaylistItems $var * @return $this */ public function setItems($var) { GPBUtil::checkMessage($var, \Rv\Data\Playlist\PlaylistItems::class); $this->writeOneof(13, $var); return $this; } /** * Generated from protobuf field .rv.data.Playlist.FolderDirectory smart_directory = 14; * @return \Rv\Data\Playlist\FolderDirectory|null */ public function getSmartDirectory() { return $this->readOneof(14); } public function hasSmartDirectory() { return $this->hasOneof(14); } /** * Generated from protobuf field .rv.data.Playlist.FolderDirectory smart_directory = 14; * @param \Rv\Data\Playlist\FolderDirectory $var * @return $this */ public function setSmartDirectory($var) { GPBUtil::checkMessage($var, \Rv\Data\Playlist\FolderDirectory::class); $this->writeOneof(14, $var); return $this; } /** * Generated from protobuf field .rv.data.PlanningCenterPlan pco_plan = 15; * @return \Rv\Data\PlanningCenterPlan|null */ public function getPcoPlan() { return $this->readOneof(15); } public function hasPcoPlan() { return $this->hasOneof(15); } /** * Generated from protobuf field .rv.data.PlanningCenterPlan pco_plan = 15; * @param \Rv\Data\PlanningCenterPlan $var * @return $this */ public function setPcoPlan($var) { GPBUtil::checkMessage($var, \Rv\Data\PlanningCenterPlan::class); $this->writeOneof(15, $var); return $this; } /** * @return string */ public function getChildrenType() { return $this->whichOneof("ChildrenType"); } /** * @return string */ public function getLinkData() { return $this->whichOneof("LinkData"); } }