<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message\PeerDataOperationRequestResponseMessage\PeerDataOperationResult;

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




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


    protected $nonce = null;
    


    protected $waFbid = null;
    


    protected $forceRefresh = null;

    










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

    



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

    public function hasNonce()
    {
        return isset($this->nonce);
    }

    public function clearNonce()
    {
        unset($this->nonce);
    }

    




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

        return $this;
    }

    



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

    public function hasWaFbid()
    {
        return isset($this->waFbid);
    }

    public function clearWaFbid()
    {
        unset($this->waFbid);
    }

    




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

        return $this;
    }

    



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

    public function hasForceRefresh()
    {
        return isset($this->forceRefresh);
    }

    public function clearForceRefresh()
    {
        unset($this->forceRefresh);
    }

    




    public function setForceRefresh($var)
    {
        GPBUtil::checkBool($var);
        $this->forceRefresh = $var;

        return $this;
    }

}

