rv.data.NetworkAPI.Action.API_Trigger.Presentation */ class Presentation extends \Google\Protobuf\Internal\Message { protected $PresentationSource; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\PlaylistPresentation $playlist_index_path * @type \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\LibraryPresentation $library_index_path * } */ public function __construct($data = NULL) { \GPBMetadata\ProApi::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation.PlaylistPresentation playlist_index_path = 2; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\PlaylistPresentation|null */ public function getPlaylistIndexPath() { return $this->readOneof(2); } public function hasPlaylistIndexPath() { return $this->hasOneof(2); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation.PlaylistPresentation playlist_index_path = 2; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\PlaylistPresentation $var * @return $this */ public function setPlaylistIndexPath($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\PlaylistPresentation::class); $this->writeOneof(2, $var); return $this; } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation.LibraryPresentation library_index_path = 3; * @return \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\LibraryPresentation|null */ public function getLibraryIndexPath() { return $this->readOneof(3); } public function hasLibraryIndexPath() { return $this->hasOneof(3); } /** * Generated from protobuf field .rv.data.NetworkAPI.Action.API_Trigger.Presentation.LibraryPresentation library_index_path = 3; * @param \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\LibraryPresentation $var * @return $this */ public function setLibraryIndexPath($var) { GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\Action\API_Trigger\Presentation\LibraryPresentation::class); $this->writeOneof(3, $var); return $this; } /** * @return string */ public function getPresentationSource() { return $this->whichOneof("PresentationSource"); } }