<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message\PeerDataOperationRequestMessage;

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




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


    protected $url = null;
    


    protected $includeHqThumbnail = null;

    









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

    



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

    public function hasUrl()
    {
        return isset($this->url);
    }

    public function clearUrl()
    {
        unset($this->url);
    }

    




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

        return $this;
    }

    



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

    public function hasIncludeHqThumbnail()
    {
        return isset($this->includeHqThumbnail);
    }

    public function clearIncludeHqThumbnail()
    {
        unset($this->includeHqThumbnail);
    }

    




    public function setIncludeHqThumbnail($var)
    {
        GPBUtil::checkBool($var);
        $this->includeHqThumbnail = $var;

        return $this;
    }

}

