<?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.ExternalBroadcastingFeatures</code>
 */
class ExternalBroadcastingFeatures 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_allow_rtmp = 2;</code>
     */
    protected $is_allow_rtmp = false;
    /**
     * Generated from protobuf field <code>optional .plugnmeet.RecorderBotOptions recorder_bot_options = 3;</code>
     */
    protected $recorder_bot_options = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_allow
     *     @type bool $is_allow_rtmp
     *     @type \Mynaparrot\PlugnmeetProto\RecorderBotOptions $recorder_bot_options
     * }
     */
    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_allow_rtmp = 2;</code>
     * @return bool
     */
    public function getIsAllowRtmp()
    {
        return $this->is_allow_rtmp;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional .plugnmeet.RecorderBotOptions recorder_bot_options = 3;</code>
     * @return \Mynaparrot\PlugnmeetProto\RecorderBotOptions|null
     */
    public function getRecorderBotOptions()
    {
        return $this->recorder_bot_options;
    }

    public function hasRecorderBotOptions()
    {
        return isset($this->recorder_bot_options);
    }

    public function clearRecorderBotOptions()
    {
        unset($this->recorder_bot_options);
    }

    /**
     * Generated from protobuf field <code>optional .plugnmeet.RecorderBotOptions recorder_bot_options = 3;</code>
     * @param \Mynaparrot\PlugnmeetProto\RecorderBotOptions $var
     * @return $this
     */
    public function setRecorderBotOptions($var)
    {
        GPBUtil::checkMessage($var, \Mynaparrot\PlugnmeetProto\RecorderBotOptions::class);
        $this->recorder_bot_options = $var;

        return $this;
    }

}

