rv.data.SendDataResponse
*/
class SendDataResponse extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int32 message_id = 1;
*/
protected $message_id = 0;
protected $MessageType;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $message_id
* @type \Rv\Data\ValidateEncoderResponse $validate_encoder_response
* @type \Rv\Data\TimerStateUpdate $timer_state
* @type \Rv\Data\CaptureActionRequest $capture_action_request
* @type \Rv\Data\TestPatternResponse $test_pattern
* @type \Rv\Data\HandledException $handled_exception
* @type \Rv\Data\UUID $audio_playlist_focus_uuid
* @type \Rv\Data\UUID $media_playlist_focus_uuid
* @type \Rv\Data\UUID $library_playlist_focus_uuid
* @type \Rv\Data\UUID $library_playlist_item_focus_uuid
* @type \Rv\Data\PropPauseResponse $prop_pause
* @type \Rv\Data\ShowMessage $show_message
* @type \Rv\Data\GenericEvent $hide_message
* @type \Rv\Data\GetMediaThumbnail $get_media_thumbnail
* @type \Rv\Data\RequestWebFillTokenAndCookies $request_webfill_token_and_cookies
* @type \Rv\Data\MediaAssetTriggered $media_asset_triggered
* @type \Rv\Data\LeaveBreadcrumb $leave_breadcrumb
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProCore::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int32 message_id = 1;
* @return int
*/
public function getMessageId()
{
return $this->message_id;
}
/**
* Generated from protobuf field int32 message_id = 1;
* @param int $var
* @return $this
*/
public function setMessageId($var)
{
GPBUtil::checkInt32($var);
$this->message_id = $var;
return $this;
}
/**
* Generated from protobuf field .rv.data.ValidateEncoderResponse validate_encoder_response = 2;
* @return \Rv\Data\ValidateEncoderResponse|null
*/
public function getValidateEncoderResponse()
{
return $this->readOneof(2);
}
public function hasValidateEncoderResponse()
{
return $this->hasOneof(2);
}
/**
* Generated from protobuf field .rv.data.ValidateEncoderResponse validate_encoder_response = 2;
* @param \Rv\Data\ValidateEncoderResponse $var
* @return $this
*/
public function setValidateEncoderResponse($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ValidateEncoderResponse::class);
$this->writeOneof(2, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.TimerStateUpdate timer_state = 3;
* @return \Rv\Data\TimerStateUpdate|null
*/
public function getTimerState()
{
return $this->readOneof(3);
}
public function hasTimerState()
{
return $this->hasOneof(3);
}
/**
* Generated from protobuf field .rv.data.TimerStateUpdate timer_state = 3;
* @param \Rv\Data\TimerStateUpdate $var
* @return $this
*/
public function setTimerState($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TimerStateUpdate::class);
$this->writeOneof(3, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.CaptureActionRequest capture_action_request = 4;
* @return \Rv\Data\CaptureActionRequest|null
*/
public function getCaptureActionRequest()
{
return $this->readOneof(4);
}
public function hasCaptureActionRequest()
{
return $this->hasOneof(4);
}
/**
* Generated from protobuf field .rv.data.CaptureActionRequest capture_action_request = 4;
* @param \Rv\Data\CaptureActionRequest $var
* @return $this
*/
public function setCaptureActionRequest($var)
{
GPBUtil::checkMessage($var, \Rv\Data\CaptureActionRequest::class);
$this->writeOneof(4, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.TestPatternResponse test_pattern = 5;
* @return \Rv\Data\TestPatternResponse|null
*/
public function getTestPattern()
{
return $this->readOneof(5);
}
public function hasTestPattern()
{
return $this->hasOneof(5);
}
/**
* Generated from protobuf field .rv.data.TestPatternResponse test_pattern = 5;
* @param \Rv\Data\TestPatternResponse $var
* @return $this
*/
public function setTestPattern($var)
{
GPBUtil::checkMessage($var, \Rv\Data\TestPatternResponse::class);
$this->writeOneof(5, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.HandledException handled_exception = 6;
* @return \Rv\Data\HandledException|null
*/
public function getHandledException()
{
return $this->readOneof(6);
}
public function hasHandledException()
{
return $this->hasOneof(6);
}
/**
* Generated from protobuf field .rv.data.HandledException handled_exception = 6;
* @param \Rv\Data\HandledException $var
* @return $this
*/
public function setHandledException($var)
{
GPBUtil::checkMessage($var, \Rv\Data\HandledException::class);
$this->writeOneof(6, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.UUID audio_playlist_focus_uuid = 8;
* @return \Rv\Data\UUID|null
*/
public function getAudioPlaylistFocusUuid()
{
return $this->readOneof(8);
}
public function hasAudioPlaylistFocusUuid()
{
return $this->hasOneof(8);
}
/**
* Generated from protobuf field .rv.data.UUID audio_playlist_focus_uuid = 8;
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setAudioPlaylistFocusUuid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->writeOneof(8, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.UUID media_playlist_focus_uuid = 9;
* @return \Rv\Data\UUID|null
*/
public function getMediaPlaylistFocusUuid()
{
return $this->readOneof(9);
}
public function hasMediaPlaylistFocusUuid()
{
return $this->hasOneof(9);
}
/**
* Generated from protobuf field .rv.data.UUID media_playlist_focus_uuid = 9;
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setMediaPlaylistFocusUuid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->writeOneof(9, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.UUID library_playlist_focus_uuid = 10;
* @return \Rv\Data\UUID|null
*/
public function getLibraryPlaylistFocusUuid()
{
return $this->readOneof(10);
}
public function hasLibraryPlaylistFocusUuid()
{
return $this->hasOneof(10);
}
/**
* Generated from protobuf field .rv.data.UUID library_playlist_focus_uuid = 10;
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setLibraryPlaylistFocusUuid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->writeOneof(10, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.UUID library_playlist_item_focus_uuid = 11;
* @return \Rv\Data\UUID|null
*/
public function getLibraryPlaylistItemFocusUuid()
{
return $this->readOneof(11);
}
public function hasLibraryPlaylistItemFocusUuid()
{
return $this->hasOneof(11);
}
/**
* Generated from protobuf field .rv.data.UUID library_playlist_item_focus_uuid = 11;
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setLibraryPlaylistItemFocusUuid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->writeOneof(11, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.PropPauseResponse prop_pause = 12;
* @return \Rv\Data\PropPauseResponse|null
*/
public function getPropPause()
{
return $this->readOneof(12);
}
public function hasPropPause()
{
return $this->hasOneof(12);
}
/**
* Generated from protobuf field .rv.data.PropPauseResponse prop_pause = 12;
* @param \Rv\Data\PropPauseResponse $var
* @return $this
*/
public function setPropPause($var)
{
GPBUtil::checkMessage($var, \Rv\Data\PropPauseResponse::class);
$this->writeOneof(12, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.ShowMessage show_message = 13;
* @return \Rv\Data\ShowMessage|null
*/
public function getShowMessage()
{
return $this->readOneof(13);
}
public function hasShowMessage()
{
return $this->hasOneof(13);
}
/**
* Generated from protobuf field .rv.data.ShowMessage show_message = 13;
* @param \Rv\Data\ShowMessage $var
* @return $this
*/
public function setShowMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\ShowMessage::class);
$this->writeOneof(13, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.GenericEvent hide_message = 14;
* @return \Rv\Data\GenericEvent|null
*/
public function getHideMessage()
{
return $this->readOneof(14);
}
public function hasHideMessage()
{
return $this->hasOneof(14);
}
/**
* Generated from protobuf field .rv.data.GenericEvent hide_message = 14;
* @param \Rv\Data\GenericEvent $var
* @return $this
*/
public function setHideMessage($var)
{
GPBUtil::checkMessage($var, \Rv\Data\GenericEvent::class);
$this->writeOneof(14, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.GetMediaThumbnail get_media_thumbnail = 15;
* @return \Rv\Data\GetMediaThumbnail|null
*/
public function getGetMediaThumbnail()
{
return $this->readOneof(15);
}
public function hasGetMediaThumbnail()
{
return $this->hasOneof(15);
}
/**
* Generated from protobuf field .rv.data.GetMediaThumbnail get_media_thumbnail = 15;
* @param \Rv\Data\GetMediaThumbnail $var
* @return $this
*/
public function setGetMediaThumbnail($var)
{
GPBUtil::checkMessage($var, \Rv\Data\GetMediaThumbnail::class);
$this->writeOneof(15, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.RequestWebFillTokenAndCookies request_webfill_token_and_cookies = 16;
* @return \Rv\Data\RequestWebFillTokenAndCookies|null
*/
public function getRequestWebfillTokenAndCookies()
{
return $this->readOneof(16);
}
public function hasRequestWebfillTokenAndCookies()
{
return $this->hasOneof(16);
}
/**
* Generated from protobuf field .rv.data.RequestWebFillTokenAndCookies request_webfill_token_and_cookies = 16;
* @param \Rv\Data\RequestWebFillTokenAndCookies $var
* @return $this
*/
public function setRequestWebfillTokenAndCookies($var)
{
GPBUtil::checkMessage($var, \Rv\Data\RequestWebFillTokenAndCookies::class);
$this->writeOneof(16, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.MediaAssetTriggered media_asset_triggered = 17;
* @return \Rv\Data\MediaAssetTriggered|null
*/
public function getMediaAssetTriggered()
{
return $this->readOneof(17);
}
public function hasMediaAssetTriggered()
{
return $this->hasOneof(17);
}
/**
* Generated from protobuf field .rv.data.MediaAssetTriggered media_asset_triggered = 17;
* @param \Rv\Data\MediaAssetTriggered $var
* @return $this
*/
public function setMediaAssetTriggered($var)
{
GPBUtil::checkMessage($var, \Rv\Data\MediaAssetTriggered::class);
$this->writeOneof(17, $var);
return $this;
}
/**
* Generated from protobuf field .rv.data.LeaveBreadcrumb leave_breadcrumb = 18;
* @return \Rv\Data\LeaveBreadcrumb|null
*/
public function getLeaveBreadcrumb()
{
return $this->readOneof(18);
}
public function hasLeaveBreadcrumb()
{
return $this->hasOneof(18);
}
/**
* Generated from protobuf field .rv.data.LeaveBreadcrumb leave_breadcrumb = 18;
* @param \Rv\Data\LeaveBreadcrumb $var
* @return $this
*/
public function setLeaveBreadcrumb($var)
{
GPBUtil::checkMessage($var, \Rv\Data\LeaveBreadcrumb::class);
$this->writeOneof(18, $var);
return $this;
}
/**
* @return string
*/
public function getMessageType()
{
return $this->whichOneof("MessageType");
}
}