<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $vlevel = null;
    


    protected $vnameCert = null;
    


    protected $signed = null;
    


    protected $revoked = null;
    


    protected $hostStorage = null;
    


    protected $actualActors = null;
    


    protected $privacyModeTs = null;
    


    protected $featureControls = null;

    















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

    



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

    public function hasVlevel()
    {
        return isset($this->vlevel);
    }

    public function clearVlevel()
    {
        unset($this->vlevel);
    }

    




    public function setVlevel($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\BizIdentityInfo\VerifiedLevelValue::class);
        $this->vlevel = $var;

        return $this;
    }

    



    public function getVnameCert()
    {
        return $this->vnameCert;
    }

    public function hasVnameCert()
    {
        return isset($this->vnameCert);
    }

    public function clearVnameCert()
    {
        unset($this->vnameCert);
    }

    




    public function setVnameCert($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\VerifiedNameCertificate::class);
        $this->vnameCert = $var;

        return $this;
    }

    



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

    public function hasSigned()
    {
        return isset($this->signed);
    }

    public function clearSigned()
    {
        unset($this->signed);
    }

    




    public function setSigned($var)
    {
        GPBUtil::checkBool($var);
        $this->signed = $var;

        return $this;
    }

    



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

    public function hasRevoked()
    {
        return isset($this->revoked);
    }

    public function clearRevoked()
    {
        unset($this->revoked);
    }

    




    public function setRevoked($var)
    {
        GPBUtil::checkBool($var);
        $this->revoked = $var;

        return $this;
    }

    



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

    public function hasHostStorage()
    {
        return isset($this->hostStorage);
    }

    public function clearHostStorage()
    {
        unset($this->hostStorage);
    }

    




    public function setHostStorage($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\BizIdentityInfo\HostStorageType::class);
        $this->hostStorage = $var;

        return $this;
    }

    



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

    public function hasActualActors()
    {
        return isset($this->actualActors);
    }

    public function clearActualActors()
    {
        unset($this->actualActors);
    }

    




    public function setActualActors($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\BizIdentityInfo\ActualActorsType::class);
        $this->actualActors = $var;

        return $this;
    }

    



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

    public function hasPrivacyModeTs()
    {
        return isset($this->privacyModeTs);
    }

    public function clearPrivacyModeTs()
    {
        unset($this->privacyModeTs);
    }

    




    public function setPrivacyModeTs($var)
    {
        GPBUtil::checkUint64($var);
        $this->privacyModeTs = $var;

        return $this;
    }

    



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

    public function hasFeatureControls()
    {
        return isset($this->featureControls);
    }

    public function clearFeatureControls()
    {
        unset($this->featureControls);
    }

    




    public function setFeatureControls($var)
    {
        GPBUtil::checkUint64($var);
        $this->featureControls = $var;

        return $this;
    }

}

