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

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.MacroIcons</code>
 */
class MacroIcons extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>repeated .rv.data.MacroIcons.MacroIcon icons = 1;</code>
     */
    private $icons;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Rv\Data\MacroIcons\MacroIcon>|\Google\Protobuf\Internal\RepeatedField $icons
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.MacroIcons.MacroIcon icons = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getIcons()
    {
        return $this->icons;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.MacroIcons.MacroIcon icons = 1;</code>
     * @param array<\Rv\Data\MacroIcons\MacroIcon>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setIcons($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\MacroIcons\MacroIcon::class);
        $this->icons = $arr;

        return $this;
    }

}

