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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.MergeRecordingsByRoomSession</code>
 */
class MergeRecordingsByRoomSession extends \Google\Protobuf\Internal\Message
{
    /**
     * Merge all recordings from a single room session.
     *
     * Generated from protobuf field <code>string room_sid = 1 [(.buf.validate.field) = {</code>
     */
    protected $room_sid = '';
    /**
     * Optionally exclude some recordings from the merge.
     *
     * Generated from protobuf field <code>repeated string exclude_recording_ids = 2;</code>
     */
    private $exclude_recording_ids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_sid
     *           Merge all recordings from a single room session.
     *     @type string[] $exclude_recording_ids
     *           Optionally exclude some recordings from the merge.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetAuthRecording::initOnce();
        parent::__construct($data);
    }

    /**
     * Merge all recordings from a single room session.
     *
     * Generated from protobuf field <code>string room_sid = 1 [(.buf.validate.field) = {</code>
     * @return string
     */
    public function getRoomSid()
    {
        return $this->room_sid;
    }

    /**
     * Merge all recordings from a single room session.
     *
     * Generated from protobuf field <code>string room_sid = 1 [(.buf.validate.field) = {</code>
     * @param string $var
     * @return $this
     */
    public function setRoomSid($var)
    {
        GPBUtil::checkString($var, True);
        $this->room_sid = $var;

        return $this;
    }

    /**
     * Optionally exclude some recordings from the merge.
     *
     * Generated from protobuf field <code>repeated string exclude_recording_ids = 2;</code>
     * @return RepeatedField<string>
     */
    public function getExcludeRecordingIds()
    {
        return $this->exclude_recording_ids;
    }

    /**
     * Optionally exclude some recordings from the merge.
     *
     * Generated from protobuf field <code>repeated string exclude_recording_ids = 2;</code>
     * @param string[] $var
     * @return $this
     */
    public function setExcludeRecordingIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->exclude_recording_ids = $arr;

        return $this;
    }

}

