<?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.InsightsFeatures</code>
 */
class InsightsFeatures extends \Google\Protobuf\Internal\Message
{
    /**
     * Allow/disallow all insights features for this room
     *
     * Generated from protobuf field <code>bool is_allow = 1;</code>
     */
    protected $is_allow = false;
    /**
     * Generated from protobuf field <code>optional .plugnmeet.InsightsTranscriptionFeatures transcription_features = 2;</code>
     */
    protected $transcription_features = null;
    /**
     * Generated from protobuf field <code>optional .plugnmeet.InsightsChatTranslationFeatures chat_translation_features = 3;</code>
     */
    protected $chat_translation_features = null;
    /**
     * Generated from protobuf field <code>optional .plugnmeet.InsightsAIFeatures ai_features = 4;</code>
     */
    protected $ai_features = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_allow
     *           Allow/disallow all insights features for this room
     *     @type \Mynaparrot\PlugnmeetProto\InsightsTranscriptionFeatures $transcription_features
     *     @type \Mynaparrot\PlugnmeetProto\InsightsChatTranslationFeatures $chat_translation_features
     *     @type \Mynaparrot\PlugnmeetProto\InsightsAIFeatures $ai_features
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetCreateRoom::initOnce();
        parent::__construct($data);
    }

    /**
     * Allow/disallow all insights features for this room
     *
     * Generated from protobuf field <code>bool is_allow = 1;</code>
     * @return bool
     */
    public function getIsAllow()
    {
        return $this->is_allow;
    }

    /**
     * Allow/disallow all insights features for this room
     *
     * 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>optional .plugnmeet.InsightsTranscriptionFeatures transcription_features = 2;</code>
     * @return \Mynaparrot\PlugnmeetProto\InsightsTranscriptionFeatures|null
     */
    public function getTranscriptionFeatures()
    {
        return $this->transcription_features;
    }

    public function hasTranscriptionFeatures()
    {
        return isset($this->transcription_features);
    }

    public function clearTranscriptionFeatures()
    {
        unset($this->transcription_features);
    }

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

        return $this;
    }

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

    public function hasChatTranslationFeatures()
    {
        return isset($this->chat_translation_features);
    }

    public function clearChatTranslationFeatures()
    {
        unset($this->chat_translation_features);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional .plugnmeet.InsightsAIFeatures ai_features = 4;</code>
     * @return \Mynaparrot\PlugnmeetProto\InsightsAIFeatures|null
     */
    public function getAiFeatures()
    {
        return $this->ai_features;
    }

    public function hasAiFeatures()
    {
        return isset($this->ai_features);
    }

    public function clearAiFeatures()
    {
        unset($this->ai_features);
    }

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

        return $this;
    }

}

