propresenter-php/php/generated/Rv/Data/API_v1_Trigger_Response.php
2026-03-01 16:12:17 +01:00

378 lines
10 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Trigger.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_Trigger_Response</code>
*/
class API_v1_Trigger_Response extends \Google\Protobuf\Internal\Message
{
protected $Response;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\API_v1_Trigger_Response\Cue $cue
* @type \Rv\Data\API_v1_Trigger_Response\Playlist $playlist
* @type \Rv\Data\API_v1_Trigger_Response\Media $media
* @type \Rv\Data\API_v1_Trigger_Response\Audio $audio
* @type \Rv\Data\API_v1_Trigger_Response\VideoInput $video_input
* @type \Rv\Data\API_v1_Trigger_Response\Library $library
* @type \Rv\Data\API_v1_Trigger_Response\Next $next
* @type \Rv\Data\API_v1_Trigger_Response\Previous $previous
* @type \Rv\Data\API_v1_Trigger_Response\MediaNext $media_next
* @type \Rv\Data\API_v1_Trigger_Response\MediaPrevious $media_previous
* @type \Rv\Data\API_v1_Trigger_Response\AudioNext $audio_next
* @type \Rv\Data\API_v1_Trigger_Response\AudioPrevious $audio_previous
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProApiV1Trigger::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Cue cue = 1;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Cue|null
*/
public function getCue()
{
return $this->readOneof(1);
}
public function hasCue()
{
return $this->hasOneof(1);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Cue cue = 1;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Cue $var
* @return $this
*/
public function setCue($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Cue::class);
$this->writeOneof(1, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Playlist playlist = 2;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Playlist|null
*/
public function getPlaylist()
{
return $this->readOneof(2);
}
public function hasPlaylist()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Playlist playlist = 2;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Playlist $var
* @return $this
*/
public function setPlaylist($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Playlist::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Media media = 3;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Media|null
*/
public function getMedia()
{
return $this->readOneof(3);
}
public function hasMedia()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Media media = 3;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Media $var
* @return $this
*/
public function setMedia($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Media::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Audio audio = 4;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Audio|null
*/
public function getAudio()
{
return $this->readOneof(4);
}
public function hasAudio()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Audio audio = 4;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Audio $var
* @return $this
*/
public function setAudio($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Audio::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.VideoInput video_input = 5;</code>
* @return \Rv\Data\API_v1_Trigger_Response\VideoInput|null
*/
public function getVideoInput()
{
return $this->readOneof(5);
}
public function hasVideoInput()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.VideoInput video_input = 5;</code>
* @param \Rv\Data\API_v1_Trigger_Response\VideoInput $var
* @return $this
*/
public function setVideoInput($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\VideoInput::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Library library = 6;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Library|null
*/
public function getLibrary()
{
return $this->readOneof(6);
}
public function hasLibrary()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Library library = 6;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Library $var
* @return $this
*/
public function setLibrary($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Library::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Next next = 7;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Next|null
*/
public function getNext()
{
return $this->readOneof(7);
}
public function hasNext()
{
return $this->hasOneof(7);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Next next = 7;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Next $var
* @return $this
*/
public function setNext($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Next::class);
$this->writeOneof(7, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Previous previous = 8;</code>
* @return \Rv\Data\API_v1_Trigger_Response\Previous|null
*/
public function getPrevious()
{
return $this->readOneof(8);
}
public function hasPrevious()
{
return $this->hasOneof(8);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.Previous previous = 8;</code>
* @param \Rv\Data\API_v1_Trigger_Response\Previous $var
* @return $this
*/
public function setPrevious($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\Previous::class);
$this->writeOneof(8, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.MediaNext media_next = 9;</code>
* @return \Rv\Data\API_v1_Trigger_Response\MediaNext|null
*/
public function getMediaNext()
{
return $this->readOneof(9);
}
public function hasMediaNext()
{
return $this->hasOneof(9);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.MediaNext media_next = 9;</code>
* @param \Rv\Data\API_v1_Trigger_Response\MediaNext $var
* @return $this
*/
public function setMediaNext($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\MediaNext::class);
$this->writeOneof(9, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.MediaPrevious media_previous = 10;</code>
* @return \Rv\Data\API_v1_Trigger_Response\MediaPrevious|null
*/
public function getMediaPrevious()
{
return $this->readOneof(10);
}
public function hasMediaPrevious()
{
return $this->hasOneof(10);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.MediaPrevious media_previous = 10;</code>
* @param \Rv\Data\API_v1_Trigger_Response\MediaPrevious $var
* @return $this
*/
public function setMediaPrevious($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\MediaPrevious::class);
$this->writeOneof(10, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.AudioNext audio_next = 11;</code>
* @return \Rv\Data\API_v1_Trigger_Response\AudioNext|null
*/
public function getAudioNext()
{
return $this->readOneof(11);
}
public function hasAudioNext()
{
return $this->hasOneof(11);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.AudioNext audio_next = 11;</code>
* @param \Rv\Data\API_v1_Trigger_Response\AudioNext $var
* @return $this
*/
public function setAudioNext($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\AudioNext::class);
$this->writeOneof(11, $var);
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.AudioPrevious audio_previous = 12;</code>
* @return \Rv\Data\API_v1_Trigger_Response\AudioPrevious|null
*/
public function getAudioPrevious()
{
return $this->readOneof(12);
}
public function hasAudioPrevious()
{
return $this->hasOneof(12);
}
/**
* Generated from protobuf field <code>.rv.data.API_v1_Trigger_Response.AudioPrevious audio_previous = 12;</code>
* @param \Rv\Data\API_v1_Trigger_Response\AudioPrevious $var
* @return $this
*/
public function setAudioPrevious($var)
{
GPBUtil::checkMessage($var, \Rv\Data\API_v1_Trigger_Response\AudioPrevious::class);
$this->writeOneof(12, $var);
return $this;
}
/**
* @return string
*/
public function getResponse()
{
return $this->whichOneof("Response");
}
}