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

namespace Google\Cloud\AutoMl\V1;

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

/**
 * Details of ExportData operation.
 *
 * Generated from protobuf message <code>google.cloud.automl.v1.ExportDataOperationMetadata</code>
 */
class ExportDataOperationMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Information further describing this export data's output.
     *
     * Generated from protobuf field <code>.google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;</code>
     */
    private $output_info = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo $output_info
     *           Output only. Information further describing this export data's output.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Information further describing this export data's output.
     *
     * Generated from protobuf field <code>.google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;</code>
     * @return \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo|null
     */
    public function getOutputInfo()
    {
        return $this->output_info;
    }

    public function hasOutputInfo()
    {
        return isset($this->output_info);
    }

    public function clearOutputInfo()
    {
        unset($this->output_info);
    }

    /**
     * Output only. Information further describing this export data's output.
     *
     * Generated from protobuf field <code>.google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;</code>
     * @param \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo $var
     * @return $this
     */
    public function setOutputInfo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo::class);
        $this->output_info = $var;

        return $this;
    }

}

