<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $isStale = null;

    








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

    



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

    public function hasIsStale()
    {
        return isset($this->isStale);
    }

    public function clearIsStale()
    {
        unset($this->isStale);
    }

    




    public function setIsStale($var)
    {
        GPBUtil::checkBool($var);
        $this->isStale = $var;

        return $this;
    }

}

