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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * The Google Cloud Storage location where the output is to be written to.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.GcsDestination</code>
 */
class GcsDestination extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Google Cloud Storage URI to output directory. If the uri doesn't
     * end with
     * '/', a '/' will be automatically appended. The directory is created if it
     * doesn't exist.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $output_uri_prefix = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $output_uri_prefix
     *           Required. Google Cloud Storage URI to output directory. If the uri doesn't
     *           end with
     *           '/', a '/' will be automatically appended. The directory is created if it
     *           doesn't exist.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. Google Cloud Storage URI to output directory. If the uri doesn't
     * end with
     * '/', a '/' will be automatically appended. The directory is created if it
     * doesn't exist.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getOutputUriPrefix()
    {
        return $this->output_uri_prefix;
    }

    /**
     * Required. Google Cloud Storage URI to output directory. If the uri doesn't
     * end with
     * '/', a '/' will be automatically appended. The directory is created if it
     * doesn't exist.
     *
     * Generated from protobuf field <code>string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setOutputUriPrefix($var)
    {
        GPBUtil::checkString($var, True);
        $this->output_uri_prefix = $var;

        return $this;
    }

}

