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

namespace Google\Cloud\DataCatalog\V1;

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

/**
 * Entry specyfication for a Dataplex fileset.
 *
 * Generated from protobuf message <code>google.cloud.datacatalog.v1.DataplexFilesetSpec</code>
 */
class DataplexFilesetSpec extends \Google\Protobuf\Internal\Message
{
    /**
     * Common Dataplex fields.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1;</code>
     */
    private $dataplex_spec = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\DataCatalog\V1\DataplexSpec $dataplex_spec
     *           Common Dataplex fields.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Datacatalog\V1\DataplexSpec::initOnce();
        parent::__construct($data);
    }

    /**
     * Common Dataplex fields.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1;</code>
     * @return \Google\Cloud\DataCatalog\V1\DataplexSpec|null
     */
    public function getDataplexSpec()
    {
        return $this->dataplex_spec;
    }

    public function hasDataplexSpec()
    {
        return isset($this->dataplex_spec);
    }

    public function clearDataplexSpec()
    {
        unset($this->dataplex_spec);
    }

    /**
     * Common Dataplex fields.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 1;</code>
     * @param \Google\Cloud\DataCatalog\V1\DataplexSpec $var
     * @return $this
     */
    public function setDataplexSpec($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\DataplexSpec::class);
        $this->dataplex_spec = $var;

        return $this;
    }

}

