<?php
 
 
 

namespace PhpWA\Protocol\Proto\BotFeedbackMessage;

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




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


    protected $selectedRequestId = null;
    


    protected $surveyId = null;
    


    protected $simonSessionFbid = null;
    


    protected $responseOtid = null;
    


    protected $responseTimestampMsString = null;
    


    protected $isSelectedResponsePrimary = null;
    


    protected $messageIdToEdit = null;
    


    protected $analyticsData = null;
    


    protected $metaAiAnalyticsData = null;

    
















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

    



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

    public function hasSelectedRequestId()
    {
        return isset($this->selectedRequestId);
    }

    public function clearSelectedRequestId()
    {
        unset($this->selectedRequestId);
    }

    




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

        return $this;
    }

    



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

    public function hasSurveyId()
    {
        return isset($this->surveyId);
    }

    public function clearSurveyId()
    {
        unset($this->surveyId);
    }

    




    public function setSurveyId($var)
    {
        GPBUtil::checkUint32($var);
        $this->surveyId = $var;

        return $this;
    }

    



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

    public function hasSimonSessionFbid()
    {
        return isset($this->simonSessionFbid);
    }

    public function clearSimonSessionFbid()
    {
        unset($this->simonSessionFbid);
    }

    




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

        return $this;
    }

    



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

    public function hasResponseOtid()
    {
        return isset($this->responseOtid);
    }

    public function clearResponseOtid()
    {
        unset($this->responseOtid);
    }

    




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

        return $this;
    }

    



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

    public function hasResponseTimestampMsString()
    {
        return isset($this->responseTimestampMsString);
    }

    public function clearResponseTimestampMsString()
    {
        unset($this->responseTimestampMsString);
    }

    




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

        return $this;
    }

    



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

    public function hasIsSelectedResponsePrimary()
    {
        return isset($this->isSelectedResponsePrimary);
    }

    public function clearIsSelectedResponsePrimary()
    {
        unset($this->isSelectedResponsePrimary);
    }

    




    public function setIsSelectedResponsePrimary($var)
    {
        GPBUtil::checkBool($var);
        $this->isSelectedResponsePrimary = $var;

        return $this;
    }

    



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

    public function hasMessageIdToEdit()
    {
        return isset($this->messageIdToEdit);
    }

    public function clearMessageIdToEdit()
    {
        unset($this->messageIdToEdit);
    }

    




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

        return $this;
    }

    



    public function getAnalyticsData()
    {
        return $this->analyticsData;
    }

    public function hasAnalyticsData()
    {
        return isset($this->analyticsData);
    }

    public function clearAnalyticsData()
    {
        unset($this->analyticsData);
    }

    




    public function setAnalyticsData($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\BotFeedbackMessage\SideBySideSurveyMetadata\SideBySideSurveyAnalyticsData::class);
        $this->analyticsData = $var;

        return $this;
    }

    



    public function getMetaAiAnalyticsData()
    {
        return $this->metaAiAnalyticsData;
    }

    public function hasMetaAiAnalyticsData()
    {
        return isset($this->metaAiAnalyticsData);
    }

    public function clearMetaAiAnalyticsData()
    {
        unset($this->metaAiAnalyticsData);
    }

    




    public function setMetaAiAnalyticsData($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\BotFeedbackMessage\SideBySideSurveyMetadata\SidebySideSurveyMetaAiAnalyticsData::class);
        $this->metaAiAnalyticsData = $var;

        return $this;
    }

}

