<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message\PeerDataOperationRequestMessage;

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




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


    protected $collectionName = null;
    


    protected $timestamp = null;

    









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

    



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

    public function hasCollectionName()
    {
        return isset($this->collectionName);
    }

    public function clearCollectionName()
    {
        unset($this->collectionName);
    }

    




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

        return $this;
    }

    



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

    public function hasTimestamp()
    {
        return isset($this->timestamp);
    }

    public function clearTimestamp()
    {
        unset($this->timestamp);
    }

    




    public function setTimestamp($var)
    {
        GPBUtil::checkInt64($var);
        $this->timestamp = $var;

        return $this;
    }

}

