<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: livekit_egress.proto

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.UpdateOutputsRequest</code>
 */
class UpdateOutputsRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string egress_id = 1;</code>
     */
    protected $egress_id = '';
    /**
     * Generated from protobuf field <code>repeated .livekit.ImageOutput add_image_outputs = 2;</code>
     */
    private $add_image_outputs;
    /**
     * Generated from protobuf field <code>repeated .livekit.ImageOutput remove_image_outputs = 3;</code>
     */
    private $remove_image_outputs;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $egress_id
     *     @type \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $add_image_outputs
     *     @type \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $remove_image_outputs
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitEgress::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string egress_id = 1;</code>
     * @return string
     */
    public function getEgressId()
    {
        return $this->egress_id;
    }

    /**
     * Generated from protobuf field <code>string egress_id = 1;</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>repeated .livekit.ImageOutput add_image_outputs = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getAddImageOutputs()
    {
        return $this->add_image_outputs;
    }

    /**
     * Generated from protobuf field <code>repeated .livekit.ImageOutput add_image_outputs = 2;</code>
     * @param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setAddImageOutputs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class);
        $this->add_image_outputs = $arr;

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .livekit.ImageOutput remove_image_outputs = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getRemoveImageOutputs()
    {
        return $this->remove_image_outputs;
    }

    /**
     * Generated from protobuf field <code>repeated .livekit.ImageOutput remove_image_outputs = 3;</code>
     * @param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setRemoveImageOutputs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class);
        $this->remove_image_outputs = $arr;

        return $this;
    }

}

