<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message;

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




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


    protected $namespace = null;
    


    protected $elementName = null;
    


    private $params;
    


    protected $fallbackLg = null;
    


    protected $fallbackLc = null;
    


    private $localizableParams;
    


    protected $deterministicLg = null;
    


    protected $deterministicLc = null;
    


    protected $hydratedHsm = null;

    
















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

    



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

    public function hasNamespace()
    {
        return isset($this->namespace);
    }

    public function clearNamespace()
    {
        unset($this->namespace);
    }

    




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

        return $this;
    }

    



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

    public function hasElementName()
    {
        return isset($this->elementName);
    }

    public function clearElementName()
    {
        unset($this->elementName);
    }

    




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

        return $this;
    }

    



    public function getParams()
    {
        return $this->params;
    }

    




    public function setParams($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->params = $arr;

        return $this;
    }

    



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

    public function hasFallbackLg()
    {
        return isset($this->fallbackLg);
    }

    public function clearFallbackLg()
    {
        unset($this->fallbackLg);
    }

    




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

        return $this;
    }

    



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

    public function hasFallbackLc()
    {
        return isset($this->fallbackLc);
    }

    public function clearFallbackLc()
    {
        unset($this->fallbackLc);
    }

    




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

        return $this;
    }

    



    public function getLocalizableParams()
    {
        return $this->localizableParams;
    }

    




    public function setLocalizableParams($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \PhpWA\Protocol\Proto\Message\HighlyStructuredMessage\HSMLocalizableParameter::class);
        $this->localizableParams = $arr;

        return $this;
    }

    



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

    public function hasDeterministicLg()
    {
        return isset($this->deterministicLg);
    }

    public function clearDeterministicLg()
    {
        unset($this->deterministicLg);
    }

    




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

        return $this;
    }

    



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

    public function hasDeterministicLc()
    {
        return isset($this->deterministicLc);
    }

    public function clearDeterministicLc()
    {
        unset($this->deterministicLc);
    }

    




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

        return $this;
    }

    



    public function getHydratedHsm()
    {
        return $this->hydratedHsm;
    }

    public function hasHydratedHsm()
    {
        return isset($this->hydratedHsm);
    }

    public function clearHydratedHsm()
    {
        unset($this->hydratedHsm);
    }

    




    public function setHydratedHsm($var)
    {
        GPBUtil::checkMessage($var, \PhpWA\Protocol\Proto\Message\TemplateMessage::class);
        $this->hydratedHsm = $var;

        return $this;
    }

}

