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

namespace Rv\Analytics\Startup;

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

/**
 * Generated from protobuf message <code>rv.analytics.Startup.KeyMapping</code>
 */
class KeyMapping extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 total_mapped = 1;</code>
     */
    protected $total_mapped = 0;
    /**
     * Generated from protobuf field <code>int32 clear_groups = 2;</code>
     */
    protected $clear_groups = 0;
    /**
     * Generated from protobuf field <code>int32 groups = 3;</code>
     */
    protected $groups = 0;
    /**
     * Generated from protobuf field <code>int32 macros = 4;</code>
     */
    protected $macros = 0;
    /**
     * Generated from protobuf field <code>int32 props = 5;</code>
     */
    protected $props = 0;
    /**
     * Generated from protobuf field <code>int32 menus = 6;</code>
     */
    protected $menus = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $total_mapped
     *     @type int $clear_groups
     *     @type int $groups
     *     @type int $macros
     *     @type int $props
     *     @type int $menus
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsStartup::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>int32 total_mapped = 1;</code>
     * @return int
     */
    public function getTotalMapped()
    {
        return $this->total_mapped;
    }

    /**
     * Generated from protobuf field <code>int32 total_mapped = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setTotalMapped($var)
    {
        GPBUtil::checkInt32($var);
        $this->total_mapped = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 clear_groups = 2;</code>
     * @return int
     */
    public function getClearGroups()
    {
        return $this->clear_groups;
    }

    /**
     * Generated from protobuf field <code>int32 clear_groups = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setClearGroups($var)
    {
        GPBUtil::checkInt32($var);
        $this->clear_groups = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 groups = 3;</code>
     * @return int
     */
    public function getGroups()
    {
        return $this->groups;
    }

    /**
     * Generated from protobuf field <code>int32 groups = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setGroups($var)
    {
        GPBUtil::checkInt32($var);
        $this->groups = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 macros = 4;</code>
     * @return int
     */
    public function getMacros()
    {
        return $this->macros;
    }

    /**
     * Generated from protobuf field <code>int32 macros = 4;</code>
     * @param int $var
     * @return $this
     */
    public function setMacros($var)
    {
        GPBUtil::checkInt32($var);
        $this->macros = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 props = 5;</code>
     * @return int
     */
    public function getProps()
    {
        return $this->props;
    }

    /**
     * Generated from protobuf field <code>int32 props = 5;</code>
     * @param int $var
     * @return $this
     */
    public function setProps($var)
    {
        GPBUtil::checkInt32($var);
        $this->props = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 menus = 6;</code>
     * @return int
     */
    public function getMenus()
    {
        return $this->menus;
    }

    /**
     * Generated from protobuf field <code>int32 menus = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setMenus($var)
    {
        GPBUtil::checkInt32($var);
        $this->menus = $var;

        return $this;
    }

}

