<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $disclaimerText = null;
    


    protected $hcaId = null;
    


    protected $sessionTransparencyType = null;

    










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

    



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

    public function hasDisclaimerText()
    {
        return isset($this->disclaimerText);
    }

    public function clearDisclaimerText()
    {
        unset($this->disclaimerText);
    }

    




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

        return $this;
    }

    



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

    public function hasHcaId()
    {
        return isset($this->hcaId);
    }

    public function clearHcaId()
    {
        unset($this->hcaId);
    }

    




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

        return $this;
    }

    



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

    public function hasSessionTransparencyType()
    {
        return isset($this->sessionTransparencyType);
    }

    public function clearSessionTransparencyType()
    {
        unset($this->sessionTransparencyType);
    }

    




    public function setSessionTransparencyType($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\SessionTransparencyType::class);
        $this->sessionTransparencyType = $var;

        return $this;
    }

}

