<?php
 
 
 

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

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




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


    protected $collectionSnapshot = null;
    


    protected $isCompressed = null;

    









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

    



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

    public function hasCollectionSnapshot()
    {
        return isset($this->collectionSnapshot);
    }

    public function clearCollectionSnapshot()
    {
        unset($this->collectionSnapshot);
    }

    




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

        return $this;
    }

    



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

    public function hasIsCompressed()
    {
        return isset($this->isCompressed);
    }

    public function clearIsCompressed()
    {
        unset($this->isCompressed);
    }

    




    public function setIsCompressed($var)
    {
        GPBUtil::checkBool($var);
        $this->isCompressed = $var;

        return $this;
    }

}

