<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: plugnmeet_auth_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.ActiveRoomInfo</code>
 */
class ActiveRoomInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string room_title = 1;</code>
     */
    protected $room_title = '';
    /**
     * Generated from protobuf field <code>string room_id = 2;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>string sid = 3;</code>
     */
    protected $sid = '';
    /**
     * Generated from protobuf field <code>int64 joined_participants = 4;</code>
     */
    protected $joined_participants = 0;
    /**
     * Generated from protobuf field <code>int32 is_running = 5;</code>
     */
    protected $is_running = 0;
    /**
     * Generated from protobuf field <code>int32 is_recording = 6;</code>
     */
    protected $is_recording = 0;
    /**
     * Generated from protobuf field <code>int32 is_active_rtmp = 7;</code>
     */
    protected $is_active_rtmp = 0;
    /**
     * Generated from protobuf field <code>string webhook_url = 8;</code>
     */
    protected $webhook_url = '';
    /**
     * Generated from protobuf field <code>int32 is_breakout_room = 9;</code>
     */
    protected $is_breakout_room = 0;
    /**
     * Generated from protobuf field <code>string parent_room_id = 10;</code>
     */
    protected $parent_room_id = '';
    /**
     * Generated from protobuf field <code>int64 creation_time = 11;</code>
     */
    protected $creation_time = 0;
    /**
     * Generated from protobuf field <code>string metadata = 12;</code>
     */
    protected $metadata = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_title
     *     @type string $room_id
     *     @type string $sid
     *     @type int|string $joined_participants
     *     @type int $is_running
     *     @type int $is_recording
     *     @type int $is_active_rtmp
     *     @type string $webhook_url
     *     @type int $is_breakout_room
     *     @type string $parent_room_id
     *     @type int|string $creation_time
     *     @type string $metadata
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetAuthRoom::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>string room_id = 2;</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>string sid = 3;</code>
     * @return string
     */
    public function getSid()
    {
        return $this->sid;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 joined_participants = 4;</code>
     * @return int|string
     */
    public function getJoinedParticipants()
    {
        return $this->joined_participants;
    }

    /**
     * Generated from protobuf field <code>int64 joined_participants = 4;</code>
     * @param int|string $var
     * @return $this
     */
    public function setJoinedParticipants($var)
    {
        GPBUtil::checkInt64($var);
        $this->joined_participants = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 is_running = 5;</code>
     * @return int
     */
    public function getIsRunning()
    {
        return $this->is_running;
    }

    /**
     * Generated from protobuf field <code>int32 is_running = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setIsRunning($var)
    {
        GPBUtil::checkInt32($var);
        $this->is_running = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 is_recording = 6;</code>
     * @return int
     */
    public function getIsRecording()
    {
        return $this->is_recording;
    }

    /**
     * Generated from protobuf field <code>int32 is_recording = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setIsRecording($var)
    {
        GPBUtil::checkInt32($var);
        $this->is_recording = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 is_active_rtmp = 7;</code>
     * @return int
     */
    public function getIsActiveRtmp()
    {
        return $this->is_active_rtmp;
    }

    /**
     * Generated from protobuf field <code>int32 is_active_rtmp = 7;</code>
     * @param int $var
     * @return $this
     */
    public function setIsActiveRtmp($var)
    {
        GPBUtil::checkInt32($var);
        $this->is_active_rtmp = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string webhook_url = 8;</code>
     * @return string
     */
    public function getWebhookUrl()
    {
        return $this->webhook_url;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 is_breakout_room = 9;</code>
     * @return int
     */
    public function getIsBreakoutRoom()
    {
        return $this->is_breakout_room;
    }

    /**
     * Generated from protobuf field <code>int32 is_breakout_room = 9;</code>
     * @param int $var
     * @return $this
     */
    public function setIsBreakoutRoom($var)
    {
        GPBUtil::checkInt32($var);
        $this->is_breakout_room = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string parent_room_id = 10;</code>
     * @return string
     */
    public function getParentRoomId()
    {
        return $this->parent_room_id;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 creation_time = 11;</code>
     * @return int|string
     */
    public function getCreationTime()
    {
        return $this->creation_time;
    }

    /**
     * Generated from protobuf field <code>int64 creation_time = 11;</code>
     * @param int|string $var
     * @return $this
     */
    public function setCreationTime($var)
    {
        GPBUtil::checkInt64($var);
        $this->creation_time = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string metadata = 12;</code>
     * @return string
     */
    public function getMetadata()
    {
        return $this->metadata;
    }

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

        return $this;
    }

}

