<?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.MergeRecordingsByIds</code>
 */
class MergeRecordingsByIds extends \Google\Protobuf\Internal\Message
{
    /**
     * The room_id that all recording_ids belong to.
     *
     * Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
     */
    protected $room_id = '';
    /**
     * A list of recording IDs to merge.
     * All recordings must belong to the specified room_id, but can be from different sessions.
     * The final video will be generated by appending recordings in the order they are provided here.
     *
     * Generated from protobuf field <code>repeated string recording_ids = 2 [(.buf.validate.field) = {</code>
     */
    private $recording_ids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_id
     *           The room_id that all recording_ids belong to.
     *     @type string[] $recording_ids
     *           A list of recording IDs to merge.
     *           All recordings must belong to the specified room_id, but can be from different sessions.
     *           The final video will be generated by appending recordings in the order they are provided here.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetAuthRecording::initOnce();
        parent::__construct($data);
    }

    /**
     * The room_id that all recording_ids belong to.
     *
     * Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
     * @return string
     */
    public function getRoomId()
    {
        return $this->room_id;
    }

    /**
     * The room_id that all recording_ids belong to.
     *
     * Generated from protobuf field <code>string room_id = 1 [(.buf.validate.field) = {</code>
     * @param string $var
     * @return $this
     */
    public function setRoomId($var)
    {
        GPBUtil::checkString($var, True);
        $this->room_id = $var;

        return $this;
    }

    /**
     * A list of recording IDs to merge.
     * All recordings must belong to the specified room_id, but can be from different sessions.
     * The final video will be generated by appending recordings in the order they are provided here.
     *
     * Generated from protobuf field <code>repeated string recording_ids = 2 [(.buf.validate.field) = {</code>
     * @return RepeatedField<string>
     */
    public function getRecordingIds()
    {
        return $this->recording_ids;
    }

    /**
     * A list of recording IDs to merge.
     * All recordings must belong to the specified room_id, but can be from different sessions.
     * The final video will be generated by appending recordings in the order they are provided here.
     *
     * Generated from protobuf field <code>repeated string recording_ids = 2 [(.buf.validate.field) = {</code>
     * @param string[] $var
     * @return $this
     */
    public function setRecordingIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->recording_ids = $arr;

        return $this;
    }

}

