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

namespace Google\Cloud\Dataplex\V1\DataProfileSpec;

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

/**
 * The configuration of post scan actions of DataProfileScan job.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.DataProfileSpec.PostScanActions</code>
 */
class PostScanActions extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. If set, results will be exported to the provided BigQuery
     * table.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $bigquery_export = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Dataplex\V1\DataProfileSpec\PostScanActions\BigQueryExport $bigquery_export
     *           Optional. If set, results will be exported to the provided BigQuery
     *           table.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\DataProfile::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. If set, results will be exported to the provided BigQuery
     * table.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\Dataplex\V1\DataProfileSpec\PostScanActions\BigQueryExport|null
     */
    public function getBigqueryExport()
    {
        return $this->bigquery_export;
    }

    public function hasBigqueryExport()
    {
        return isset($this->bigquery_export);
    }

    public function clearBigqueryExport()
    {
        unset($this->bigquery_export);
    }

    /**
     * Optional. If set, results will be exported to the provided BigQuery
     * table.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport bigquery_export = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\Dataplex\V1\DataProfileSpec\PostScanActions\BigQueryExport $var
     * @return $this
     */
    public function setBigqueryExport($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\DataProfileSpec\PostScanActions\BigQueryExport::class);
        $this->bigquery_export = $var;

        return $this;
    }

}

