<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




class BotSuggestedPromptMetadata extends \Google\Protobuf\Internal\Message
{
    


    private $suggestedPrompts;
    


    protected $selectedPromptIndex = null;
    


    protected $promptSuggestions = null;
    


    protected $selectedPromptId = null;

    











    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getSuggestedPrompts()
    {
        return $this->suggestedPrompts;
    }

    




    public function setSuggestedPrompts($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->suggestedPrompts = $arr;

        return $this;
    }

    



    public function getSelectedPromptIndex()
    {
        return isset($this->selectedPromptIndex) ? $this->selectedPromptIndex : 0;
    }

    public function hasSelectedPromptIndex()
    {
        return isset($this->selectedPromptIndex);
    }

    public function clearSelectedPromptIndex()
    {
        unset($this->selectedPromptIndex);
    }

    




    public function setSelectedPromptIndex($var)
    {
        GPBUtil::checkUint32($var);
        $this->selectedPromptIndex = $var;

        return $this;
    }

    



    public function getPromptSuggestions()
    {
        return $this->promptSuggestions;
    }

    public function hasPromptSuggestions()
    {
        return isset($this->promptSuggestions);
    }

    public function clearPromptSuggestions()
    {
        unset($this->promptSuggestions);
    }

    




    public function setPromptSuggestions($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\BotPromptSuggestions::class);
        $this->promptSuggestions = $var;

        return $this;
    }

    



    public function getSelectedPromptId()
    {
        return isset($this->selectedPromptId) ? $this->selectedPromptId : '';
    }

    public function hasSelectedPromptId()
    {
        return isset($this->selectedPromptId);
    }

    public function clearSelectedPromptId()
    {
        unset($this->selectedPromptId);
    }

    




    public function setSelectedPromptId($var)
    {
        GPBUtil::checkString($var, True);
        $this->selectedPromptId = $var;

        return $this;
    }

}

