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

namespace Google\Cloud\Firestore\Admin\V1;

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

/**
 * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
 *
 * Generated from protobuf message <code>google.firestore.admin.v1.ExportDocumentsResponse</code>
 */
class ExportDocumentsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Location of the output files. This can be used to begin an import
     * into Cloud Firestore (this project or another project) after the operation
     * completes successfully.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1;</code>
     */
    private $output_uri_prefix = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $output_uri_prefix
     *           Location of the output files. This can be used to begin an import
     *           into Cloud Firestore (this project or another project) after the operation
     *           completes successfully.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Firestore\Admin\V1\Operation::initOnce();
        parent::__construct($data);
    }

    /**
     * Location of the output files. This can be used to begin an import
     * into Cloud Firestore (this project or another project) after the operation
     * completes successfully.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1;</code>
     * @return string
     */
    public function getOutputUriPrefix()
    {
        return $this->output_uri_prefix;
    }

    /**
     * Location of the output files. This can be used to begin an import
     * into Cloud Firestore (this project or another project) after the operation
     * completes successfully.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setOutputUriPrefix($var)
    {
        GPBUtil::checkString($var, True);
        $this->output_uri_prefix = $var;

        return $this;
    }

}

