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

namespace Google\Cloud\Video\Transcoder\V1beta1;

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

/**
 * Location of output file(s) in a Cloud Storage bucket.
 *
 * Generated from protobuf message <code>google.cloud.video.transcoder.v1beta1.Output</code>
 */
class Output extends \Google\Protobuf\Internal\Message
{
    /**
     * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
     * If empty the value is populated from `Job.output_uri`.
     *
     * 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
     *           URI for the output file(s). For example, `gs://my-bucket/outputs/`.
     *           If empty the value is populated from `Job.output_uri`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Video\Transcoder\V1Beta1\Resources::initOnce();
        parent::__construct($data);
    }

    /**
     * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
     * If empty the value is populated from `Job.output_uri`.
     *
     * Generated from protobuf field <code>string uri = 1;</code>
     * @return string
     */
    public function getUri()
    {
        return $this->uri;
    }

    /**
     * URI for the output file(s). For example, `gs://my-bucket/outputs/`.
     * If empty the value is populated from `Job.output_uri`.
     *
     * 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;
    }

}

