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

namespace PhpWA\Protocol\Proto\ContextInfo;

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

/**
 * Generated from protobuf message <code>proto.ContextInfo.FeatureEligibilities</code>
 */
class FeatureEligibilities extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>optional bool cannotBeReactedTo = 1;</code>
     */
    protected $cannotBeReactedTo = null;
    /**
     * Generated from protobuf field <code>optional bool cannotBeRanked = 2;</code>
     */
    protected $cannotBeRanked = null;
    /**
     * Generated from protobuf field <code>optional bool canRequestFeedback = 3;</code>
     */
    protected $canRequestFeedback = null;
    /**
     * Generated from protobuf field <code>optional bool canBeReshared = 4;</code>
     */
    protected $canBeReshared = null;
    /**
     * Generated from protobuf field <code>optional bool canReceiveMultiReact = 5;</code>
     */
    protected $canReceiveMultiReact = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $cannotBeReactedTo
     *     @type bool $cannotBeRanked
     *     @type bool $canRequestFeedback
     *     @type bool $canBeReshared
     *     @type bool $canReceiveMultiReact
     * }
     */
    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

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

    public function hasCannotBeReactedTo()
    {
        return isset($this->cannotBeReactedTo);
    }

    public function clearCannotBeReactedTo()
    {
        unset($this->cannotBeReactedTo);
    }

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

        return $this;
    }

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

    public function hasCannotBeRanked()
    {
        return isset($this->cannotBeRanked);
    }

    public function clearCannotBeRanked()
    {
        unset($this->cannotBeRanked);
    }

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

        return $this;
    }

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

    public function hasCanRequestFeedback()
    {
        return isset($this->canRequestFeedback);
    }

    public function clearCanRequestFeedback()
    {
        unset($this->canRequestFeedback);
    }

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

        return $this;
    }

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

    public function hasCanBeReshared()
    {
        return isset($this->canBeReshared);
    }

    public function clearCanBeReshared()
    {
        unset($this->canBeReshared);
    }

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

        return $this;
    }

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

    public function hasCanReceiveMultiReact()
    {
        return isset($this->canReceiveMultiReact);
    }

    public function clearCanReceiveMultiReact()
    {
        unset($this->canReceiveMultiReact);
    }

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

        return $this;
    }

}

