<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $lid = null;
    


    protected $username = null;
    


    protected $countryCode = null;
    


    protected $isUsernameDeleted = null;

    











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

    



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

    public function hasLid()
    {
        return isset($this->lid);
    }

    public function clearLid()
    {
        unset($this->lid);
    }

    




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

        return $this;
    }

    



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

    public function hasUsername()
    {
        return isset($this->username);
    }

    public function clearUsername()
    {
        unset($this->username);
    }

    




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

        return $this;
    }

    



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

    public function hasCountryCode()
    {
        return isset($this->countryCode);
    }

    public function clearCountryCode()
    {
        unset($this->countryCode);
    }

    




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

        return $this;
    }

    



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

    public function hasIsUsernameDeleted()
    {
        return isset($this->isUsernameDeleted);
    }

    public function clearIsUsernameDeleted()
    {
        unset($this->isUsernameDeleted);
    }

    




    public function setIsUsernameDeleted($var)
    {
        GPBUtil::checkBool($var);
        $this->isUsernameDeleted = $var;

        return $this;
    }

}

