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

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.MediaSectionsRequirement</code>
 */
class MediaSectionsRequirement extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 num_audios = 1;</code>
     */
    protected $num_audios = 0;
    /**
     * Generated from protobuf field <code>uint32 num_videos = 2;</code>
     */
    protected $num_videos = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $num_audios
     *     @type int $num_videos
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitRtc::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint32 num_audios = 1;</code>
     * @return int
     */
    public function getNumAudios()
    {
        return $this->num_audios;
    }

    /**
     * Generated from protobuf field <code>uint32 num_audios = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setNumAudios($var)
    {
        GPBUtil::checkUint32($var);
        $this->num_audios = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 num_videos = 2;</code>
     * @return int
     */
    public function getNumVideos()
    {
        return $this->num_videos;
    }

    /**
     * Generated from protobuf field <code>uint32 num_videos = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setNumVideos($var)
    {
        GPBUtil::checkUint32($var);
        $this->num_videos = $var;

        return $this;
    }

}

