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

namespace Rv\Analytics\UI\ClearGroups\Group;

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

/**
 * Generated from protobuf message <code>rv.analytics.UI.ClearGroups.Group.ChangeIcon</code>
 */
class ChangeIcon extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1;</code>
     */
    protected $icon_type = 0;
    /**
     * Generated from protobuf field <code>bool is_tinted = 2;</code>
     */
    protected $is_tinted = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $icon_type
     *     @type bool $is_tinted
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsUI::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1;</code>
     * @return int
     */
    public function getIconType()
    {
        return $this->icon_type;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setIconType($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\UI\ClearGroups\Group\ChangeIcon\IconType::class);
        $this->icon_type = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_tinted = 2;</code>
     * @return bool
     */
    public function getIsTinted()
    {
        return $this->is_tinted;
    }

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

        return $this;
    }

}

