<?php
 
 
 

namespace PhpWA\Protocol\Proto\Message;

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




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


    protected $localChatState = null;

    








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

    



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

    public function hasLocalChatState()
    {
        return isset($this->localChatState);
    }

    public function clearLocalChatState()
    {
        unset($this->localChatState);
    }

    




    public function setLocalChatState($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\Message\RequestWelcomeMessageMetadata\LocalChatState::class);
        $this->localChatState = $var;

        return $this;
    }

}

