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

namespace Google\Cloud\Video\Transcoder\V1beta1\Job;

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

/**
 * The origin URI.
 *
 * Generated from protobuf message <code>google.cloud.video.transcoder.v1beta1.Job.OriginUri</code>
 */
class OriginUri extends \Google\Protobuf\Internal\Message
{
    /**
     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
     * If multiple HLS manifests are created, only the first one is listed.
     *
     * Generated from protobuf field <code>string hls = 1;</code>
     */
    private $hls = '';
    /**
     * Dash manifest URI. If multiple Dash manifests are created, only the first
     * one is listed.
     *
     * Generated from protobuf field <code>string dash = 2;</code>
     */
    private $dash = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $hls
     *           HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
     *           If multiple HLS manifests are created, only the first one is listed.
     *     @type string $dash
     *           Dash manifest URI. If multiple Dash manifests are created, only the first
     *           one is listed.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Video\Transcoder\V1Beta1\Resources::initOnce();
        parent::__construct($data);
    }

    /**
     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
     * If multiple HLS manifests are created, only the first one is listed.
     *
     * Generated from protobuf field <code>string hls = 1;</code>
     * @return string
     */
    public function getHls()
    {
        return $this->hls;
    }

    /**
     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
     * If multiple HLS manifests are created, only the first one is listed.
     *
     * Generated from protobuf field <code>string hls = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setHls($var)
    {
        GPBUtil::checkString($var, True);
        $this->hls = $var;

        return $this;
    }

    /**
     * Dash manifest URI. If multiple Dash manifests are created, only the first
     * one is listed.
     *
     * Generated from protobuf field <code>string dash = 2;</code>
     * @return string
     */
    public function getDash()
    {
        return $this->dash;
    }

    /**
     * Dash manifest URI. If multiple Dash manifests are created, only the first
     * one is listed.
     *
     * Generated from protobuf field <code>string dash = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setDash($var)
    {
        GPBUtil::checkString($var, True);
        $this->dash = $var;

        return $this;
    }

}


