<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataplex/v1/logs.proto

namespace Google\Cloud\Dataplex\V1\DiscoveryEvent;

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

/**
 * Details about configuration events.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.DiscoveryEvent.ConfigDetails</code>
 */
class ConfigDetails extends \Google\Protobuf\Internal\Message
{
    /**
     * A list of discovery configuration parameters in effect.
     * The keys are the field paths within DiscoverySpec.
     * Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
     * etc.
     *
     * Generated from protobuf field <code>map<string, string> parameters = 1;</code>
     */
    private $parameters;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array|\Google\Protobuf\Internal\MapField $parameters
     *           A list of discovery configuration parameters in effect.
     *           The keys are the field paths within DiscoverySpec.
     *           Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
     *           etc.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\Logs::initOnce();
        parent::__construct($data);
    }

    /**
     * A list of discovery configuration parameters in effect.
     * The keys are the field paths within DiscoverySpec.
     * Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
     * etc.
     *
     * Generated from protobuf field <code>map<string, string> parameters = 1;</code>
     * @return \Google\Protobuf\Internal\MapField
     */
    public function getParameters()
    {
        return $this->parameters;
    }

    /**
     * A list of discovery configuration parameters in effect.
     * The keys are the field paths within DiscoverySpec.
     * Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference,
     * etc.
     *
     * Generated from protobuf field <code>map<string, string> parameters = 1;</code>
     * @param array|\Google\Protobuf\Internal\MapField $var
     * @return $this
     */
    public function setParameters($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->parameters = $arr;

        return $this;
    }

}


