<?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.RecordingFeatures</code>
 */
class RecordingFeatures 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_cloud = 2;</code>
     */
    protected $is_allow_cloud = false;
    /**
     * Generated from protobuf field <code>bool enable_auto_cloud_recording = 3;</code>
     */
    protected $enable_auto_cloud_recording = false;
    /**
     * Generated from protobuf field <code>bool is_allow_local = 4;</code>
     */
    protected $is_allow_local = false;
    /**
     * Generated from protobuf field <code>bool only_record_admin_webcams = 5;</code>
     */
    protected $only_record_admin_webcams = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_allow
     *     @type bool $is_allow_cloud
     *     @type bool $enable_auto_cloud_recording
     *     @type bool $is_allow_local
     *     @type bool $only_record_admin_webcams
     * }
     */
    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_cloud = 2;</code>
     * @return bool
     */
    public function getIsAllowCloud()
    {
        return $this->is_allow_cloud;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool enable_auto_cloud_recording = 3;</code>
     * @return bool
     */
    public function getEnableAutoCloudRecording()
    {
        return $this->enable_auto_cloud_recording;
    }

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool only_record_admin_webcams = 5;</code>
     * @return bool
     */
    public function getOnlyRecordAdminWebcams()
    {
        return $this->only_record_admin_webcams;
    }

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

        return $this;
    }

}

