<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/asset/v1beta1/asset_service.proto

namespace Google\Cloud\Asset\V1beta1;

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

/**
 * A Google Cloud Storage (GCS) location.
 *
 * Generated from protobuf message <code>google.cloud.asset.v1beta1.GcsDestination</code>
 */
class GcsDestination extends \Google\Protobuf\Internal\Message
{
    /**
     * The path of the GCS objects. It's the same path that is used by gsutil, for
     * example: "gs://bucket_name/object_path". See:
     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
     * information.
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     */
    private $uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $uri
     *           The path of the GCS objects. It's the same path that is used by gsutil, for
     *           example: "gs://bucket_name/object_path". See:
     *           https://cloud.google.com/storage/docs/viewing-editing-metadata for more
     *           information.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Asset\V1Beta1\AssetService::initOnce();
        parent::__construct($data);
    }

    /**
     * The path of the GCS objects. It's the same path that is used by gsutil, for
     * example: "gs://bucket_name/object_path". See:
     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
     * information.
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     * @return string
     */
    public function getUri()
    {
        return $this->uri;
    }

    /**
     * The path of the GCS objects. It's the same path that is used by gsutil, for
     * example: "gs://bucket_name/object_path". See:
     * https://cloud.google.com/storage/docs/viewing-editing-metadata for more
     * information.
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->uri = $var;

        return $this;
    }

}

