<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




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


    protected $messageVibrate = null;
    


    protected $messagePopup = null;
    


    protected $messageLight = null;
    


    protected $lowPriorityNotifications = null;
    


    protected $reactionsMuted = null;
    


    protected $callVibrate = null;

    













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

    



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

    public function hasMessageVibrate()
    {
        return isset($this->messageVibrate);
    }

    public function clearMessageVibrate()
    {
        unset($this->messageVibrate);
    }

    




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

        return $this;
    }

    



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

    public function hasMessagePopup()
    {
        return isset($this->messagePopup);
    }

    public function clearMessagePopup()
    {
        unset($this->messagePopup);
    }

    




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

        return $this;
    }

    



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

    public function hasMessageLight()
    {
        return isset($this->messageLight);
    }

    public function clearMessageLight()
    {
        unset($this->messageLight);
    }

    




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

        return $this;
    }

    



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

    public function hasLowPriorityNotifications()
    {
        return isset($this->lowPriorityNotifications);
    }

    public function clearLowPriorityNotifications()
    {
        unset($this->lowPriorityNotifications);
    }

    




    public function setLowPriorityNotifications($var)
    {
        GPBUtil::checkBool($var);
        $this->lowPriorityNotifications = $var;

        return $this;
    }

    



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

    public function hasReactionsMuted()
    {
        return isset($this->reactionsMuted);
    }

    public function clearReactionsMuted()
    {
        unset($this->reactionsMuted);
    }

    




    public function setReactionsMuted($var)
    {
        GPBUtil::checkBool($var);
        $this->reactionsMuted = $var;

        return $this;
    }

    



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

    public function hasCallVibrate()
    {
        return isset($this->callVibrate);
    }

    public function clearCallVibrate()
    {
        unset($this->callVibrate);
    }

    




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

        return $this;
    }

}

