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

namespace Google\Cloud\Dataplex\V1\DataProfileResult\PostScanActionsResult;

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

/**
 * The result of BigQuery export post scan action.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult</code>
 */
class BigQueryExportResult extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Execution state for the BigQuery exporting.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $state = 0;
    /**
     * Output only. Additional information about the BigQuery exporting.
     *
     * Generated from protobuf field <code>string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $message = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $state
     *           Output only. Execution state for the BigQuery exporting.
     *     @type string $message
     *           Output only. Additional information about the BigQuery exporting.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\DataProfile::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Execution state for the BigQuery exporting.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int
     */
    public function getState()
    {
        return $this->state;
    }

    /**
     * Output only. Execution state for the BigQuery exporting.
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int $var
     * @return $this
     */
    public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\DataProfileResult\PostScanActionsResult\BigQueryExportResult\State::class);
        $this->state = $var;

        return $this;
    }

    /**
     * Output only. Additional information about the BigQuery exporting.
     *
     * Generated from protobuf field <code>string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Output only. Additional information about the BigQuery exporting.
     *
     * Generated from protobuf field <code>string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setMessage($var)
    {
        GPBUtil::checkString($var, True);
        $this->message = $var;

        return $this;
    }

}


