<?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.CoreDataStateDump</code>
 */
class CoreDataStateDump extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.MacrosDocument macros = 1;</code>
     */
    protected $macros = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\MacrosDocument $macros
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.MacrosDocument macros = 1;</code>
     * @return \Rv\Data\MacrosDocument|null
     */
    public function getMacros()
    {
        return $this->macros;
    }

    public function hasMacros()
    {
        return isset($this->macros);
    }

    public function clearMacros()
    {
        unset($this->macros);
    }

    /**
     * Generated from protobuf field <code>.rv.data.MacrosDocument macros = 1;</code>
     * @param \Rv\Data\MacrosDocument $var
     * @return $this
     */
    public function setMacros($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\MacrosDocument::class);
        $this->macros = $var;

        return $this;
    }

}

