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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.BreakoutRoomFeatures</code>
 */
class BreakoutRoomFeatures extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool is_allow = 1;</code>
     */
    protected $is_allow = false;
    /**
     * Generated from protobuf field <code>bool is_active = 2 [(.buf.validate.field) = {</code>
     */
    protected $is_active = false;
    /**
     * Generated from protobuf field <code>uint32 allowed_number_rooms = 3;</code>
     */
    protected $allowed_number_rooms = 0;

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

    /**
     * Generated from protobuf field <code>bool is_allow = 1;</code>
     * @return bool
     */
    public function getIsAllow()
    {
        return $this->is_allow;
    }

    /**
     * Generated from protobuf field <code>bool is_allow = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsAllow($var)
    {
        GPBUtil::checkBool($var);
        $this->is_allow = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_active = 2 [(.buf.validate.field) = {</code>
     * @return bool
     */
    public function getIsActive()
    {
        return $this->is_active;
    }

    /**
     * Generated from protobuf field <code>bool is_active = 2 [(.buf.validate.field) = {</code>
     * @param bool $var
     * @return $this
     */
    public function setIsActive($var)
    {
        GPBUtil::checkBool($var);
        $this->is_active = $var;

        return $this;
    }

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

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

        return $this;
    }

}

