<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proCore.proto

namespace Rv\Data\ControlTransport;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.ControlTransport.SetAudioPropertiesType</code>
 */
class SetAudioPropertiesType extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Media.AudioProperties audio_properties = 1;</code>
     */
    protected $audio_properties = null;
    /**
     * Generated from protobuf field <code>repeated bool solo = 2;</code>
     */
    private $solo;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Media\AudioProperties $audio_properties
     *     @type array<bool>|\Google\Protobuf\Internal\RepeatedField $solo
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Media.AudioProperties audio_properties = 1;</code>
     * @return \Rv\Data\Media\AudioProperties|null
     */
    public function getAudioProperties()
    {
        return $this->audio_properties;
    }

    public function hasAudioProperties()
    {
        return isset($this->audio_properties);
    }

    public function clearAudioProperties()
    {
        unset($this->audio_properties);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Media.AudioProperties audio_properties = 1;</code>
     * @param \Rv\Data\Media\AudioProperties $var
     * @return $this
     */
    public function setAudioProperties($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Media\AudioProperties::class);
        $this->audio_properties = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated bool solo = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getSolo()
    {
        return $this->solo;
    }

    /**
     * Generated from protobuf field <code>repeated bool solo = 2;</code>
     * @param array<bool>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setSolo($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL);
        $this->solo = $arr;

        return $this;
    }

}

