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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.InsightsAITextChatConfigReq</code>
 */
class InsightsAITextChatConfigReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool is_enabled = 1;</code>
     */
    protected $is_enabled = false;
    /**
     * Generated from protobuf field <code>bool is_allowed_everyone = 3;</code>
     */
    protected $is_allowed_everyone = false;
    /**
     * Generated from protobuf field <code>repeated string allowed_user_ids = 4;</code>
     */
    private $allowed_user_ids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_enabled
     *     @type bool $is_allowed_everyone
     *     @type string[] $allowed_user_ids
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetInsights::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool is_enabled = 1;</code>
     * @return bool
     */
    public function getIsEnabled()
    {
        return $this->is_enabled;
    }

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string allowed_user_ids = 4;</code>
     * @return RepeatedField<string>
     */
    public function getAllowedUserIds()
    {
        return $this->allowed_user_ids;
    }

    /**
     * Generated from protobuf field <code>repeated string allowed_user_ids = 4;</code>
     * @param string[] $var
     * @return $this
     */
    public function setAllowedUserIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->allowed_user_ids = $arr;

        return $this;
    }

}

