<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: WAProto.proto

namespace PhpWA\Protocol\Proto;

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

/**
 * Generated from protobuf message <code>proto.NotificationSettings</code>
 */
class NotificationSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional string messageVibrate = 1;</code>
     */
    protected $messageVibrate = null;
    /**
     * Generated from protobuf field <code>optional string messagePopup = 2;</code>
     */
    protected $messagePopup = null;
    /**
     * Generated from protobuf field <code>optional string messageLight = 3;</code>
     */
    protected $messageLight = null;
    /**
     * Generated from protobuf field <code>optional bool lowPriorityNotifications = 4;</code>
     */
    protected $lowPriorityNotifications = null;
    /**
     * Generated from protobuf field <code>optional bool reactionsMuted = 5;</code>
     */
    protected $reactionsMuted = null;
    /**
     * Generated from protobuf field <code>optional string callVibrate = 6;</code>
     */
    protected $callVibrate = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $messageVibrate
     *     @type string $messagePopup
     *     @type string $messageLight
     *     @type bool $lowPriorityNotifications
     *     @type bool $reactionsMuted
     *     @type string $callVibrate
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>optional string messageVibrate = 1;</code>
     * @return string
     */
    public function getMessageVibrate()
    {
        return isset($this->messageVibrate) ? $this->messageVibrate : '';
    }

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

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

    /**
     * Generated from protobuf field <code>optional string messageVibrate = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setMessageVibrate($var)
    {
        GPBUtil::checkString($var, True);
        $this->messageVibrate = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string messagePopup = 2;</code>
     * @return string
     */
    public function getMessagePopup()
    {
        return isset($this->messagePopup) ? $this->messagePopup : '';
    }

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

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

    /**
     * Generated from protobuf field <code>optional string messagePopup = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setMessagePopup($var)
    {
        GPBUtil::checkString($var, True);
        $this->messagePopup = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string messageLight = 3;</code>
     * @return string
     */
    public function getMessageLight()
    {
        return isset($this->messageLight) ? $this->messageLight : '';
    }

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

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

    /**
     * Generated from protobuf field <code>optional string messageLight = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setMessageLight($var)
    {
        GPBUtil::checkString($var, True);
        $this->messageLight = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool lowPriorityNotifications = 4;</code>
     * @return bool
     */
    public function getLowPriorityNotifications()
    {
        return isset($this->lowPriorityNotifications) ? $this->lowPriorityNotifications : false;
    }

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

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

    /**
     * Generated from protobuf field <code>optional bool lowPriorityNotifications = 4;</code>
     * @param bool $var
     * @return $this
     */
    public function setLowPriorityNotifications($var)
    {
        GPBUtil::checkBool($var);
        $this->lowPriorityNotifications = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional bool reactionsMuted = 5;</code>
     * @return bool
     */
    public function getReactionsMuted()
    {
        return isset($this->reactionsMuted) ? $this->reactionsMuted : false;
    }

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

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

    /**
     * Generated from protobuf field <code>optional bool reactionsMuted = 5;</code>
     * @param bool $var
     * @return $this
     */
    public function setReactionsMuted($var)
    {
        GPBUtil::checkBool($var);
        $this->reactionsMuted = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string callVibrate = 6;</code>
     * @return string
     */
    public function getCallVibrate()
    {
        return isset($this->callVibrate) ? $this->callVibrate : '';
    }

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

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

    /**
     * Generated from protobuf field <code>optional string callVibrate = 6;</code>
     * @param string $var
     * @return $this
     */
    public function setCallVibrate($var)
    {
        GPBUtil::checkString($var, True);
        $this->callVibrate = $var;

        return $this;
    }

}

