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

namespace Google\Cloud\DataCatalog\V1;

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

/**
 * Specification that applies to a fileset. Valid only for entries with the
 * 'FILESET' type.
 *
 * Generated from protobuf message <code>google.cloud.datacatalog.v1.FilesetSpec</code>
 */
class FilesetSpec extends \Google\Protobuf\Internal\Message
{
    /**
     * Fields specific to a Dataplex fileset and present only in the Dataplex
     * fileset entries.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;</code>
     */
    private $dataplex_fileset = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\DataCatalog\V1\DataplexFilesetSpec $dataplex_fileset
     *           Fields specific to a Dataplex fileset and present only in the Dataplex
     *           fileset entries.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Datacatalog\V1\Datacatalog::initOnce();
        parent::__construct($data);
    }

    /**
     * Fields specific to a Dataplex fileset and present only in the Dataplex
     * fileset entries.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;</code>
     * @return \Google\Cloud\DataCatalog\V1\DataplexFilesetSpec|null
     */
    public function getDataplexFileset()
    {
        return $this->dataplex_fileset;
    }

    public function hasDataplexFileset()
    {
        return isset($this->dataplex_fileset);
    }

    public function clearDataplexFileset()
    {
        unset($this->dataplex_fileset);
    }

    /**
     * Fields specific to a Dataplex fileset and present only in the Dataplex
     * fileset entries.
     *
     * Generated from protobuf field <code>.google.cloud.datacatalog.v1.DataplexFilesetSpec dataplex_fileset = 1;</code>
     * @param \Google\Cloud\DataCatalog\V1\DataplexFilesetSpec $var
     * @return $this
     */
    public function setDataplexFileset($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\DataplexFilesetSpec::class);
        $this->dataplex_fileset = $var;

        return $this;
    }

}

