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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.LockSettings</code>
 */
class LockSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional bool lock_microphone = 1;</code>
     */
    protected $lock_microphone = null;
    /**
     * Generated from protobuf field <code>optional bool lock_webcam = 2;</code>
     */
    protected $lock_webcam = null;
    /**
     * Generated from protobuf field <code>optional bool lock_screen_sharing = 3;</code>
     */
    protected $lock_screen_sharing = null;
    /**
     * Generated from protobuf field <code>optional bool lock_chat = 4;</code>
     */
    protected $lock_chat = null;
    /**
     * Generated from protobuf field <code>optional bool lock_chat_send_message = 5;</code>
     */
    protected $lock_chat_send_message = null;
    /**
     * Generated from protobuf field <code>optional bool lock_chat_file_share = 6;</code>
     */
    protected $lock_chat_file_share = null;
    /**
     * Generated from protobuf field <code>optional bool lock_private_chat = 7;</code>
     */
    protected $lock_private_chat = null;
    /**
     * Generated from protobuf field <code>optional bool lock_whiteboard = 8;</code>
     */
    protected $lock_whiteboard = null;
    /**
     * Generated from protobuf field <code>optional bool lock_shared_notepad = 9;</code>
     */
    protected $lock_shared_notepad = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $lock_microphone
     *     @type bool $lock_webcam
     *     @type bool $lock_screen_sharing
     *     @type bool $lock_chat
     *     @type bool $lock_chat_send_message
     *     @type bool $lock_chat_file_share
     *     @type bool $lock_private_chat
     *     @type bool $lock_whiteboard
     *     @type bool $lock_shared_notepad
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetGenToken::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional bool lock_microphone = 1;</code>
     * @return bool
     */
    public function getLockMicrophone()
    {
        return isset($this->lock_microphone) ? $this->lock_microphone : false;
    }

    public function hasLockMicrophone()
    {
        return isset($this->lock_microphone);
    }

    public function clearLockMicrophone()
    {
        unset($this->lock_microphone);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_webcam = 2;</code>
     * @return bool
     */
    public function getLockWebcam()
    {
        return isset($this->lock_webcam) ? $this->lock_webcam : false;
    }

    public function hasLockWebcam()
    {
        return isset($this->lock_webcam);
    }

    public function clearLockWebcam()
    {
        unset($this->lock_webcam);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_screen_sharing = 3;</code>
     * @return bool
     */
    public function getLockScreenSharing()
    {
        return isset($this->lock_screen_sharing) ? $this->lock_screen_sharing : false;
    }

    public function hasLockScreenSharing()
    {
        return isset($this->lock_screen_sharing);
    }

    public function clearLockScreenSharing()
    {
        unset($this->lock_screen_sharing);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_chat = 4;</code>
     * @return bool
     */
    public function getLockChat()
    {
        return isset($this->lock_chat) ? $this->lock_chat : false;
    }

    public function hasLockChat()
    {
        return isset($this->lock_chat);
    }

    public function clearLockChat()
    {
        unset($this->lock_chat);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_chat_send_message = 5;</code>
     * @return bool
     */
    public function getLockChatSendMessage()
    {
        return isset($this->lock_chat_send_message) ? $this->lock_chat_send_message : false;
    }

    public function hasLockChatSendMessage()
    {
        return isset($this->lock_chat_send_message);
    }

    public function clearLockChatSendMessage()
    {
        unset($this->lock_chat_send_message);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_chat_file_share = 6;</code>
     * @return bool
     */
    public function getLockChatFileShare()
    {
        return isset($this->lock_chat_file_share) ? $this->lock_chat_file_share : false;
    }

    public function hasLockChatFileShare()
    {
        return isset($this->lock_chat_file_share);
    }

    public function clearLockChatFileShare()
    {
        unset($this->lock_chat_file_share);
    }

    /**
     * Generated from protobuf field <code>optional bool lock_chat_file_share = 6;</code>
     * @param bool $var
     * @return $this
     */
    public function setLockChatFileShare($var)
    {
        GPBUtil::checkBool($var);
        $this->lock_chat_file_share = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_private_chat = 7;</code>
     * @return bool
     */
    public function getLockPrivateChat()
    {
        return isset($this->lock_private_chat) ? $this->lock_private_chat : false;
    }

    public function hasLockPrivateChat()
    {
        return isset($this->lock_private_chat);
    }

    public function clearLockPrivateChat()
    {
        unset($this->lock_private_chat);
    }

    /**
     * Generated from protobuf field <code>optional bool lock_private_chat = 7;</code>
     * @param bool $var
     * @return $this
     */
    public function setLockPrivateChat($var)
    {
        GPBUtil::checkBool($var);
        $this->lock_private_chat = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_whiteboard = 8;</code>
     * @return bool
     */
    public function getLockWhiteboard()
    {
        return isset($this->lock_whiteboard) ? $this->lock_whiteboard : false;
    }

    public function hasLockWhiteboard()
    {
        return isset($this->lock_whiteboard);
    }

    public function clearLockWhiteboard()
    {
        unset($this->lock_whiteboard);
    }

    /**
     * Generated from protobuf field <code>optional bool lock_whiteboard = 8;</code>
     * @param bool $var
     * @return $this
     */
    public function setLockWhiteboard($var)
    {
        GPBUtil::checkBool($var);
        $this->lock_whiteboard = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lock_shared_notepad = 9;</code>
     * @return bool
     */
    public function getLockSharedNotepad()
    {
        return isset($this->lock_shared_notepad) ? $this->lock_shared_notepad : false;
    }

    public function hasLockSharedNotepad()
    {
        return isset($this->lock_shared_notepad);
    }

    public function clearLockSharedNotepad()
    {
        unset($this->lock_shared_notepad);
    }

    /**
     * Generated from protobuf field <code>optional bool lock_shared_notepad = 9;</code>
     * @param bool $var
     * @return $this
     */
    public function setLockSharedNotepad($var)
    {
        GPBUtil::checkBool($var);
        $this->lock_shared_notepad = $var;

        return $this;
    }

}

