<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: livekit_egress.proto

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.UpdateEgressRequest</code>
 */
class UpdateEgressRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string egress_id = 1 [(.logger.name) = "egressID"];</code>
     */
    protected $egress_id = '';
    /**
     * Generated from protobuf field <code>string url = 2;</code>
     */
    protected $url = '';
    /**
     * Generated from protobuf field <code>string layout = 3;</code>
     */
    protected $layout = '';
    /**
     * Generated from protobuf field <code>repeated string add_stream_urls = 4;</code>
     */
    private $add_stream_urls;
    /**
     * Generated from protobuf field <code>repeated string remove_stream_urls = 5;</code>
     */
    private $remove_stream_urls;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $egress_id
     *     @type string $url
     *     @type string $layout
     *     @type string[] $add_stream_urls
     *     @type string[] $remove_stream_urls
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitEgress::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string egress_id = 1 [(.logger.name) = "egressID"];</code>
     * @return string
     */
    public function getEgressId()
    {
        return $this->egress_id;
    }

    /**
     * Generated from protobuf field <code>string egress_id = 1 [(.logger.name) = "egressID"];</code>
     * @param string $var
     * @return $this
     */
    public function setEgressId($var)
    {
        GPBUtil::checkString($var, True);
        $this->egress_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string url = 2;</code>
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Generated from protobuf field <code>string url = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->url = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string layout = 3;</code>
     * @return string
     */
    public function getLayout()
    {
        return $this->layout;
    }

    /**
     * Generated from protobuf field <code>string layout = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setLayout($var)
    {
        GPBUtil::checkString($var, True);
        $this->layout = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string add_stream_urls = 4;</code>
     * @return RepeatedField<string>
     */
    public function getAddStreamUrls()
    {
        return $this->add_stream_urls;
    }

    /**
     * Generated from protobuf field <code>repeated string add_stream_urls = 4;</code>
     * @param string[] $var
     * @return $this
     */
    public function setAddStreamUrls($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->add_stream_urls = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated string remove_stream_urls = 5;</code>
     * @return RepeatedField<string>
     */
    public function getRemoveStreamUrls()
    {
        return $this->remove_stream_urls;
    }

    /**
     * Generated from protobuf field <code>repeated string remove_stream_urls = 5;</code>
     * @param string[] $var
     * @return $this
     */
    public function setRemoveStreamUrls($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->remove_stream_urls = $arr;

        return $this;
    }

}

