<?php
 
 
 

namespace PhpWA\Protocol\Proto\BotUnifiedResponseMutation;

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




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


    protected $primaryResponseId = null;
    


    protected $surveyCtaHasRendered = null;

    









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

    



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

    public function hasPrimaryResponseId()
    {
        return isset($this->primaryResponseId);
    }

    public function clearPrimaryResponseId()
    {
        unset($this->primaryResponseId);
    }

    




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

        return $this;
    }

    



    public function getSurveyCtaHasRendered()
    {
        return isset($this->surveyCtaHasRendered) ? $this->surveyCtaHasRendered : false;
    }

    public function hasSurveyCtaHasRendered()
    {
        return isset($this->surveyCtaHasRendered);
    }

    public function clearSurveyCtaHasRendered()
    {
        unset($this->surveyCtaHasRendered);
    }

    




    public function setSurveyCtaHasRendered($var)
    {
        GPBUtil::checkBool($var);
        $this->surveyCtaHasRendered = $var;

        return $this;
    }

}

