<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $progressDescription = null;
    


    private $stepsMetadata;

    









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

    



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

    public function hasProgressDescription()
    {
        return isset($this->progressDescription);
    }

    public function clearProgressDescription()
    {
        unset($this->progressDescription);
    }

    




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

        return $this;
    }

    



    public function getStepsMetadata()
    {
        return $this->stepsMetadata;
    }

    




    public function setStepsMetadata($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \PhpWA\Protocol\Proto\BotProgressIndicatorMetadata\BotPlanningStepMetadata::class);
        $this->stepsMetadata = $arr;

        return $this;
    }

}

