<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Audio.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_Audio_Response</code>
 */
class API_v1_Audio_Response extends \Google\Protobuf\Internal\Message
{
    protected $Response;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_Audio_Response\Playlists $playlists
     *     @type \Rv\Data\API_v1_Audio_Response\Playlist $playlist
     *     @type \Rv\Data\API_v1_Audio_Response\PlaylistUpdate $update
     *     @type \Rv\Data\API_v1_Audio_Response\FocusedPlaylist $playlist_focused
     *     @type \Rv\Data\API_v1_Audio_Response\ActivePlaylist $playlist_active
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_next_focus
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_previous_focus
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_active_focus
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_id_focus
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_focused_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_active_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_id_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_focused_next_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_focused_previous_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_focused_id_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_active_next_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_active_previous_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_active_id_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_id_next_trigger
     *     @type \Rv\Data\API_v1_Audio_Response\EmptyMessage $playlist_id_previous_trigger
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Audio::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.Playlists playlists = 1;</code>
     * @return \Rv\Data\API_v1_Audio_Response\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_Audio_Response.Playlists playlists = 1;</code>
     * @param \Rv\Data\API_v1_Audio_Response\Playlists $var
     * @return $this
     */
    public function setPlaylists($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\Playlists::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.Playlist playlist = 2;</code>
     * @return \Rv\Data\API_v1_Audio_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_Audio_Response.Playlist playlist = 2;</code>
     * @param \Rv\Data\API_v1_Audio_Response\Playlist $var
     * @return $this
     */
    public function setPlaylist($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\Playlist::class);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.PlaylistUpdate update = 3;</code>
     * @return \Rv\Data\API_v1_Audio_Response\PlaylistUpdate|null
     */
    public function getUpdate()
    {
        return $this->readOneof(3);
    }

    public function hasUpdate()
    {
        return $this->hasOneof(3);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.PlaylistUpdate update = 3;</code>
     * @param \Rv\Data\API_v1_Audio_Response\PlaylistUpdate $var
     * @return $this
     */
    public function setUpdate($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\PlaylistUpdate::class);
        $this->writeOneof(3, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.FocusedPlaylist playlist_focused = 4;</code>
     * @return \Rv\Data\API_v1_Audio_Response\FocusedPlaylist|null
     */
    public function getPlaylistFocused()
    {
        return $this->readOneof(4);
    }

    public function hasPlaylistFocused()
    {
        return $this->hasOneof(4);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.FocusedPlaylist playlist_focused = 4;</code>
     * @param \Rv\Data\API_v1_Audio_Response\FocusedPlaylist $var
     * @return $this
     */
    public function setPlaylistFocused($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\FocusedPlaylist::class);
        $this->writeOneof(4, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.ActivePlaylist playlist_active = 5;</code>
     * @return \Rv\Data\API_v1_Audio_Response\ActivePlaylist|null
     */
    public function getPlaylistActive()
    {
        return $this->readOneof(5);
    }

    public function hasPlaylistActive()
    {
        return $this->hasOneof(5);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.ActivePlaylist playlist_active = 5;</code>
     * @param \Rv\Data\API_v1_Audio_Response\ActivePlaylist $var
     * @return $this
     */
    public function setPlaylistActive($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\ActivePlaylist::class);
        $this->writeOneof(5, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_next_focus = 6;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistNextFocus()
    {
        return $this->readOneof(6);
    }

    public function hasPlaylistNextFocus()
    {
        return $this->hasOneof(6);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_next_focus = 6;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistNextFocus($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(6, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_previous_focus = 7;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistPreviousFocus()
    {
        return $this->readOneof(7);
    }

    public function hasPlaylistPreviousFocus()
    {
        return $this->hasOneof(7);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_previous_focus = 7;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistPreviousFocus($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(7, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_focus = 8;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistActiveFocus()
    {
        return $this->readOneof(8);
    }

    public function hasPlaylistActiveFocus()
    {
        return $this->hasOneof(8);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_focus = 8;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistActiveFocus($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(8, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_focus = 9;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistIdFocus()
    {
        return $this->readOneof(9);
    }

    public function hasPlaylistIdFocus()
    {
        return $this->hasOneof(9);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_focus = 9;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistIdFocus($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(9, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_trigger = 10;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistFocusedTrigger()
    {
        return $this->readOneof(10);
    }

    public function hasPlaylistFocusedTrigger()
    {
        return $this->hasOneof(10);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_trigger = 10;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistFocusedTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(10, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_trigger = 11;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistActiveTrigger()
    {
        return $this->readOneof(11);
    }

    public function hasPlaylistActiveTrigger()
    {
        return $this->hasOneof(11);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_trigger = 11;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistActiveTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(11, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_trigger = 12;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistIdTrigger()
    {
        return $this->readOneof(12);
    }

    public function hasPlaylistIdTrigger()
    {
        return $this->hasOneof(12);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_trigger = 12;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistIdTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(12, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_next_trigger = 13;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistFocusedNextTrigger()
    {
        return $this->readOneof(13);
    }

    public function hasPlaylistFocusedNextTrigger()
    {
        return $this->hasOneof(13);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_next_trigger = 13;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistFocusedNextTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(13, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_previous_trigger = 14;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistFocusedPreviousTrigger()
    {
        return $this->readOneof(14);
    }

    public function hasPlaylistFocusedPreviousTrigger()
    {
        return $this->hasOneof(14);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_previous_trigger = 14;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistFocusedPreviousTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(14, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_id_trigger = 15;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistFocusedIdTrigger()
    {
        return $this->readOneof(15);
    }

    public function hasPlaylistFocusedIdTrigger()
    {
        return $this->hasOneof(15);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_focused_id_trigger = 15;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistFocusedIdTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(15, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_next_trigger = 16;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistActiveNextTrigger()
    {
        return $this->readOneof(16);
    }

    public function hasPlaylistActiveNextTrigger()
    {
        return $this->hasOneof(16);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_next_trigger = 16;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistActiveNextTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(16, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_previous_trigger = 17;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistActivePreviousTrigger()
    {
        return $this->readOneof(17);
    }

    public function hasPlaylistActivePreviousTrigger()
    {
        return $this->hasOneof(17);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_previous_trigger = 17;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistActivePreviousTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(17, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_id_trigger = 18;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistActiveIdTrigger()
    {
        return $this->readOneof(18);
    }

    public function hasPlaylistActiveIdTrigger()
    {
        return $this->hasOneof(18);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_active_id_trigger = 18;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistActiveIdTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(18, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_next_trigger = 19;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistIdNextTrigger()
    {
        return $this->readOneof(19);
    }

    public function hasPlaylistIdNextTrigger()
    {
        return $this->hasOneof(19);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_next_trigger = 19;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistIdNextTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(19, $var);

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_previous_trigger = 20;</code>
     * @return \Rv\Data\API_v1_Audio_Response\EmptyMessage|null
     */
    public function getPlaylistIdPreviousTrigger()
    {
        return $this->readOneof(20);
    }

    public function hasPlaylistIdPreviousTrigger()
    {
        return $this->hasOneof(20);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Audio_Response.EmptyMessage playlist_id_previous_trigger = 20;</code>
     * @param \Rv\Data\API_v1_Audio_Response\EmptyMessage $var
     * @return $this
     */
    public function setPlaylistIdPreviousTrigger($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Audio_Response\EmptyMessage::class);
        $this->writeOneof(20, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getResponse()
    {
        return $this->whichOneof("Response");
    }

}

