<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: plugnmeet_breakout_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.JoinBreakoutRoomReq</code>
 */
class JoinBreakoutRoomReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string breakout_room_id = 1;</code>
     */
    protected $breakout_room_id = '';
    /**
     * Generated from protobuf field <code>string user_id = 2;</code>
     */
    protected $user_id = '';
    /**
     * Generated from protobuf field <code>string room_id = 3;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>bool is_admin = 4;</code>
     */
    protected $is_admin = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $breakout_room_id
     *     @type string $user_id
     *     @type string $room_id
     *     @type bool $is_admin
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetBreakoutRoom::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string breakout_room_id = 1;</code>
     * @return string
     */
    public function getBreakoutRoomId()
    {
        return $this->breakout_room_id;
    }

    /**
     * Generated from protobuf field <code>string breakout_room_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setBreakoutRoomId($var)
    {
        GPBUtil::checkString($var, True);
        $this->breakout_room_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string user_id = 2;</code>
     * @return string
     */
    public function getUserId()
    {
        return $this->user_id;
    }

    /**
     * Generated from protobuf field <code>string user_id = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setUserId($var)
    {
        GPBUtil::checkString($var, True);
        $this->user_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string room_id = 3;</code>
     * @return string
     */
    public function getRoomId()
    {
        return $this->room_id;
    }

    /**
     * Generated from protobuf field <code>string room_id = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setRoomId($var)
    {
        GPBUtil::checkString($var, True);
        $this->room_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_admin = 4;</code>
     * @return bool
     */
    public function getIsAdmin()
    {
        return $this->is_admin;
    }

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

        return $this;
    }

}

