<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message;

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




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


    protected $callKey = null;
    


    protected $conversionSource = null;
    


    protected $conversionData = null;
    


    protected $conversionDelaySeconds = null;
    


    protected $ctwaSignals = null;
    


    protected $ctwaPayload = null;
    


    protected $contextInfo = null;
    


    protected $nativeFlowCallButtonPayload = null;
    


    protected $deeplinkPayload = null;

    
















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

    



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

    public function hasCallKey()
    {
        return isset($this->callKey);
    }

    public function clearCallKey()
    {
        unset($this->callKey);
    }

    




    public function setCallKey($var)
    {
        GPBUtil::checkString($var, False);
        $this->callKey = $var;

        return $this;
    }

    



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

    public function hasConversionSource()
    {
        return isset($this->conversionSource);
    }

    public function clearConversionSource()
    {
        unset($this->conversionSource);
    }

    




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

        return $this;
    }

    



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

    public function hasConversionData()
    {
        return isset($this->conversionData);
    }

    public function clearConversionData()
    {
        unset($this->conversionData);
    }

    




    public function setConversionData($var)
    {
        GPBUtil::checkString($var, False);
        $this->conversionData = $var;

        return $this;
    }

    



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

    public function hasConversionDelaySeconds()
    {
        return isset($this->conversionDelaySeconds);
    }

    public function clearConversionDelaySeconds()
    {
        unset($this->conversionDelaySeconds);
    }

    




    public function setConversionDelaySeconds($var)
    {
        GPBUtil::checkUint32($var);
        $this->conversionDelaySeconds = $var;

        return $this;
    }

    



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

    public function hasCtwaSignals()
    {
        return isset($this->ctwaSignals);
    }

    public function clearCtwaSignals()
    {
        unset($this->ctwaSignals);
    }

    




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

        return $this;
    }

    



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

    public function hasCtwaPayload()
    {
        return isset($this->ctwaPayload);
    }

    public function clearCtwaPayload()
    {
        unset($this->ctwaPayload);
    }

    




    public function setCtwaPayload($var)
    {
        GPBUtil::checkString($var, False);
        $this->ctwaPayload = $var;

        return $this;
    }

    



    public function getContextInfo()
    {
        return $this->contextInfo;
    }

    public function hasContextInfo()
    {
        return isset($this->contextInfo);
    }

    public function clearContextInfo()
    {
        unset($this->contextInfo);
    }

    




    public function setContextInfo($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\ContextInfo::class);
        $this->contextInfo = $var;

        return $this;
    }

    



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

    public function hasNativeFlowCallButtonPayload()
    {
        return isset($this->nativeFlowCallButtonPayload);
    }

    public function clearNativeFlowCallButtonPayload()
    {
        unset($this->nativeFlowCallButtonPayload);
    }

    




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

        return $this;
    }

    



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

    public function hasDeeplinkPayload()
    {
        return isset($this->deeplinkPayload);
    }

    public function clearDeeplinkPayload()
    {
        unset($this->deeplinkPayload);
    }

    




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

        return $this;
    }

}

