- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
882 lines
28 KiB
PHP
882 lines
28 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: proApiV1Playlist.proto
|
|
|
|
namespace Rv\Data;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.API_v1_Playlist_Request</code>
|
|
*/
|
|
class API_v1_Playlist_Request extends \Google\Protobuf\Internal\Message
|
|
{
|
|
protected $Request;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\API_v1_Playlist_Request\Playlists $playlists
|
|
* @type \Rv\Data\API_v1_Playlist_Request\CreatePlaylist $create_playlist
|
|
* @type \Rv\Data\API_v1_Playlist_Request\GetPlaylist $get_playlist
|
|
* @type \Rv\Data\API_v1_Playlist_Request\PutPlaylist $put_playlist
|
|
* @type \Rv\Data\API_v1_Playlist_Request\PostPlaylist $post_playlist
|
|
* @type \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist $get_active_playlist
|
|
* @type \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist $focused
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $next_focus
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $previous_focus
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_presentation_focus
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_announcement_focus
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $focused_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_presentation_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_announcement_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $focused_next_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $focused_previous_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_presentation_next_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_announcement_next_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_presentation_previous_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\EmptyMessage $active_announcement_previous_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IdMessage $id_focus
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IdMessage $id_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IdMessage $id_next_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IdMessage $id_previous_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IndexMessage $focused_index_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IndexMessage $active_presentation_index_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IndexMessage $active_announcement_index_trigger
|
|
* @type \Rv\Data\API_v1_Playlist_Request\IdMessage $id_updates
|
|
* @type \Rv\Data\API_v1_Playlist_Request\Thumbnail $active_presentation_thumbnail
|
|
* @type \Rv\Data\API_v1_Playlist_Request\Thumbnail $active_announcement_thumbnail
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\ProApiV1Playlist::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Playlists playlists = 1;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\Playlists|null
|
|
*/
|
|
public function getPlaylists()
|
|
{
|
|
return $this->readOneof(1);
|
|
}
|
|
|
|
public function hasPlaylists()
|
|
{
|
|
return $this->hasOneof(1);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Playlists playlists = 1;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\Playlists $var
|
|
* @return $this
|
|
*/
|
|
public function setPlaylists($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\Playlists::class);
|
|
$this->writeOneof(1, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.CreatePlaylist create_playlist = 2;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\CreatePlaylist|null
|
|
*/
|
|
public function getCreatePlaylist()
|
|
{
|
|
return $this->readOneof(2);
|
|
}
|
|
|
|
public function hasCreatePlaylist()
|
|
{
|
|
return $this->hasOneof(2);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.CreatePlaylist create_playlist = 2;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\CreatePlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setCreatePlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\CreatePlaylist::class);
|
|
$this->writeOneof(2, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetPlaylist get_playlist = 3;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\GetPlaylist|null
|
|
*/
|
|
public function getGetPlaylist()
|
|
{
|
|
return $this->readOneof(3);
|
|
}
|
|
|
|
public function hasGetPlaylist()
|
|
{
|
|
return $this->hasOneof(3);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetPlaylist get_playlist = 3;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\GetPlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setGetPlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\GetPlaylist::class);
|
|
$this->writeOneof(3, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.PutPlaylist put_playlist = 4;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\PutPlaylist|null
|
|
*/
|
|
public function getPutPlaylist()
|
|
{
|
|
return $this->readOneof(4);
|
|
}
|
|
|
|
public function hasPutPlaylist()
|
|
{
|
|
return $this->hasOneof(4);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.PutPlaylist put_playlist = 4;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\PutPlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setPutPlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\PutPlaylist::class);
|
|
$this->writeOneof(4, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.PostPlaylist post_playlist = 5;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\PostPlaylist|null
|
|
*/
|
|
public function getPostPlaylist()
|
|
{
|
|
return $this->readOneof(5);
|
|
}
|
|
|
|
public function hasPostPlaylist()
|
|
{
|
|
return $this->hasOneof(5);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.PostPlaylist post_playlist = 5;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\PostPlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setPostPlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\PostPlaylist::class);
|
|
$this->writeOneof(5, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetActivePlaylist get_active_playlist = 6;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist|null
|
|
*/
|
|
public function getGetActivePlaylist()
|
|
{
|
|
return $this->readOneof(6);
|
|
}
|
|
|
|
public function hasGetActivePlaylist()
|
|
{
|
|
return $this->hasOneof(6);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetActivePlaylist get_active_playlist = 6;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setGetActivePlaylist($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist::class);
|
|
$this->writeOneof(6, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetActivePlaylist focused = 7;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist|null
|
|
*/
|
|
public function getFocused()
|
|
{
|
|
return $this->readOneof(7);
|
|
}
|
|
|
|
public function hasFocused()
|
|
{
|
|
return $this->hasOneof(7);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.GetActivePlaylist focused = 7;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist $var
|
|
* @return $this
|
|
*/
|
|
public function setFocused($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\GetActivePlaylist::class);
|
|
$this->writeOneof(7, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage next_focus = 8;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getNextFocus()
|
|
{
|
|
return $this->readOneof(8);
|
|
}
|
|
|
|
public function hasNextFocus()
|
|
{
|
|
return $this->hasOneof(8);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage next_focus = 8;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setNextFocus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(8, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage previous_focus = 9;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getPreviousFocus()
|
|
{
|
|
return $this->readOneof(9);
|
|
}
|
|
|
|
public function hasPreviousFocus()
|
|
{
|
|
return $this->hasOneof(9);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage previous_focus = 9;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setPreviousFocus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(9, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_focus = 10;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActivePresentationFocus()
|
|
{
|
|
return $this->readOneof(10);
|
|
}
|
|
|
|
public function hasActivePresentationFocus()
|
|
{
|
|
return $this->hasOneof(10);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_focus = 10;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationFocus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(10, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_focus = 11;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActiveAnnouncementFocus()
|
|
{
|
|
return $this->readOneof(11);
|
|
}
|
|
|
|
public function hasActiveAnnouncementFocus()
|
|
{
|
|
return $this->hasOneof(11);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_focus = 11;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementFocus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(11, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_trigger = 12;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getFocusedTrigger()
|
|
{
|
|
return $this->readOneof(12);
|
|
}
|
|
|
|
public function hasFocusedTrigger()
|
|
{
|
|
return $this->hasOneof(12);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_trigger = 12;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setFocusedTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(12, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_trigger = 13;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActivePresentationTrigger()
|
|
{
|
|
return $this->readOneof(13);
|
|
}
|
|
|
|
public function hasActivePresentationTrigger()
|
|
{
|
|
return $this->hasOneof(13);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_trigger = 13;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(13, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_trigger = 14;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActiveAnnouncementTrigger()
|
|
{
|
|
return $this->readOneof(14);
|
|
}
|
|
|
|
public function hasActiveAnnouncementTrigger()
|
|
{
|
|
return $this->hasOneof(14);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_trigger = 14;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(14, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_next_trigger = 15;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getFocusedNextTrigger()
|
|
{
|
|
return $this->readOneof(15);
|
|
}
|
|
|
|
public function hasFocusedNextTrigger()
|
|
{
|
|
return $this->hasOneof(15);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_next_trigger = 15;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setFocusedNextTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(15, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_previous_trigger = 16;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getFocusedPreviousTrigger()
|
|
{
|
|
return $this->readOneof(16);
|
|
}
|
|
|
|
public function hasFocusedPreviousTrigger()
|
|
{
|
|
return $this->hasOneof(16);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage focused_previous_trigger = 16;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setFocusedPreviousTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(16, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_next_trigger = 17;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActivePresentationNextTrigger()
|
|
{
|
|
return $this->readOneof(17);
|
|
}
|
|
|
|
public function hasActivePresentationNextTrigger()
|
|
{
|
|
return $this->hasOneof(17);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_next_trigger = 17;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationNextTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(17, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_next_trigger = 18;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActiveAnnouncementNextTrigger()
|
|
{
|
|
return $this->readOneof(18);
|
|
}
|
|
|
|
public function hasActiveAnnouncementNextTrigger()
|
|
{
|
|
return $this->hasOneof(18);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_next_trigger = 18;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementNextTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(18, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_previous_trigger = 19;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActivePresentationPreviousTrigger()
|
|
{
|
|
return $this->readOneof(19);
|
|
}
|
|
|
|
public function hasActivePresentationPreviousTrigger()
|
|
{
|
|
return $this->hasOneof(19);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_presentation_previous_trigger = 19;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationPreviousTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(19, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_previous_trigger = 20;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\EmptyMessage|null
|
|
*/
|
|
public function getActiveAnnouncementPreviousTrigger()
|
|
{
|
|
return $this->readOneof(20);
|
|
}
|
|
|
|
public function hasActiveAnnouncementPreviousTrigger()
|
|
{
|
|
return $this->hasOneof(20);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.EmptyMessage active_announcement_previous_trigger = 20;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\EmptyMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementPreviousTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\EmptyMessage::class);
|
|
$this->writeOneof(20, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_focus = 21;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IdMessage|null
|
|
*/
|
|
public function getIdFocus()
|
|
{
|
|
return $this->readOneof(21);
|
|
}
|
|
|
|
public function hasIdFocus()
|
|
{
|
|
return $this->hasOneof(21);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_focus = 21;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IdMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setIdFocus($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IdMessage::class);
|
|
$this->writeOneof(21, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_trigger = 22;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IdMessage|null
|
|
*/
|
|
public function getIdTrigger()
|
|
{
|
|
return $this->readOneof(22);
|
|
}
|
|
|
|
public function hasIdTrigger()
|
|
{
|
|
return $this->hasOneof(22);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_trigger = 22;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IdMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setIdTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IdMessage::class);
|
|
$this->writeOneof(22, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_next_trigger = 23;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IdMessage|null
|
|
*/
|
|
public function getIdNextTrigger()
|
|
{
|
|
return $this->readOneof(23);
|
|
}
|
|
|
|
public function hasIdNextTrigger()
|
|
{
|
|
return $this->hasOneof(23);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_next_trigger = 23;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IdMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setIdNextTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IdMessage::class);
|
|
$this->writeOneof(23, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_previous_trigger = 24;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IdMessage|null
|
|
*/
|
|
public function getIdPreviousTrigger()
|
|
{
|
|
return $this->readOneof(24);
|
|
}
|
|
|
|
public function hasIdPreviousTrigger()
|
|
{
|
|
return $this->hasOneof(24);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_previous_trigger = 24;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IdMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setIdPreviousTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IdMessage::class);
|
|
$this->writeOneof(24, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage focused_index_trigger = 25;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IndexMessage|null
|
|
*/
|
|
public function getFocusedIndexTrigger()
|
|
{
|
|
return $this->readOneof(25);
|
|
}
|
|
|
|
public function hasFocusedIndexTrigger()
|
|
{
|
|
return $this->hasOneof(25);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage focused_index_trigger = 25;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IndexMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setFocusedIndexTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IndexMessage::class);
|
|
$this->writeOneof(25, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage active_presentation_index_trigger = 26;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IndexMessage|null
|
|
*/
|
|
public function getActivePresentationIndexTrigger()
|
|
{
|
|
return $this->readOneof(26);
|
|
}
|
|
|
|
public function hasActivePresentationIndexTrigger()
|
|
{
|
|
return $this->hasOneof(26);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage active_presentation_index_trigger = 26;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IndexMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationIndexTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IndexMessage::class);
|
|
$this->writeOneof(26, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage active_announcement_index_trigger = 27;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IndexMessage|null
|
|
*/
|
|
public function getActiveAnnouncementIndexTrigger()
|
|
{
|
|
return $this->readOneof(27);
|
|
}
|
|
|
|
public function hasActiveAnnouncementIndexTrigger()
|
|
{
|
|
return $this->hasOneof(27);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IndexMessage active_announcement_index_trigger = 27;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IndexMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementIndexTrigger($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IndexMessage::class);
|
|
$this->writeOneof(27, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_updates = 28;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\IdMessage|null
|
|
*/
|
|
public function getIdUpdates()
|
|
{
|
|
return $this->readOneof(28);
|
|
}
|
|
|
|
public function hasIdUpdates()
|
|
{
|
|
return $this->hasOneof(28);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.IdMessage id_updates = 28;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\IdMessage $var
|
|
* @return $this
|
|
*/
|
|
public function setIdUpdates($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\IdMessage::class);
|
|
$this->writeOneof(28, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Thumbnail active_presentation_thumbnail = 29;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\Thumbnail|null
|
|
*/
|
|
public function getActivePresentationThumbnail()
|
|
{
|
|
return $this->readOneof(29);
|
|
}
|
|
|
|
public function hasActivePresentationThumbnail()
|
|
{
|
|
return $this->hasOneof(29);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Thumbnail active_presentation_thumbnail = 29;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\Thumbnail $var
|
|
* @return $this
|
|
*/
|
|
public function setActivePresentationThumbnail($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\Thumbnail::class);
|
|
$this->writeOneof(29, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Thumbnail active_announcement_thumbnail = 30;</code>
|
|
* @return \Rv\Data\API_v1_Playlist_Request\Thumbnail|null
|
|
*/
|
|
public function getActiveAnnouncementThumbnail()
|
|
{
|
|
return $this->readOneof(30);
|
|
}
|
|
|
|
public function hasActiveAnnouncementThumbnail()
|
|
{
|
|
return $this->hasOneof(30);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.API_v1_Playlist_Request.Thumbnail active_announcement_thumbnail = 30;</code>
|
|
* @param \Rv\Data\API_v1_Playlist_Request\Thumbnail $var
|
|
* @return $this
|
|
*/
|
|
public function setActiveAnnouncementThumbnail($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Playlist_Request\Thumbnail::class);
|
|
$this->writeOneof(30, $var);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRequest()
|
|
{
|
|
return $this->whichOneof("Request");
|
|
}
|
|
|
|
}
|
|
|