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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * TranscodingTask will be the job for the transcoding worker.
 *
 * Generated from protobuf message <code>plugnmeet.TranscodingTask</code>
 */
class TranscodingTask extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string recording_id = 1;</code>
     */
    protected $recording_id = '';
    /**
     * Generated from protobuf field <code>string room_id = 2;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>string room_sid = 3;</code>
     */
    protected $room_sid = '';
    /**
     * directory where raw file is stored
     *
     * Generated from protobuf field <code>string file_path = 4;</code>
     */
    protected $file_path = '';
    /**
     * raw file name e.g. rec-xxx_raw.mp4
     *
     * Generated from protobuf field <code>string file_name = 5;</code>
     */
    protected $file_name = '';
    /**
     * Generated from protobuf field <code>int64 room_table_id = 6;</code>
     */
    protected $room_table_id = 0;
    /**
     * ID of the original recorder that captured the file
     *
     * Generated from protobuf field <code>string recorder_id = 7;</code>
     */
    protected $recorder_id = '';
    /**
     * The variant of the recording
     *
     * Generated from protobuf field <code>.plugnmeet.CloudRecordingVariants recording_variant = 8;</code>
     */
    protected $recording_variant = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $recording_id
     *     @type string $room_id
     *     @type string $room_sid
     *     @type string $file_path
     *           directory where raw file is stored
     *     @type string $file_name
     *           raw file name e.g. rec-xxx_raw.mp4
     *     @type int|string $room_table_id
     *     @type string $recorder_id
     *           ID of the original recorder that captured the file
     *     @type int $recording_variant
     *           The variant of the recording
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetRecorder::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * directory where raw file is stored
     *
     * Generated from protobuf field <code>string file_path = 4;</code>
     * @return string
     */
    public function getFilePath()
    {
        return $this->file_path;
    }

    /**
     * directory where raw file is stored
     *
     * Generated from protobuf field <code>string file_path = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setFilePath($var)
    {
        GPBUtil::checkString($var, True);
        $this->file_path = $var;

        return $this;
    }

    /**
     * raw file name e.g. rec-xxx_raw.mp4
     *
     * Generated from protobuf field <code>string file_name = 5;</code>
     * @return string
     */
    public function getFileName()
    {
        return $this->file_name;
    }

    /**
     * raw file name e.g. rec-xxx_raw.mp4
     *
     * Generated from protobuf field <code>string file_name = 5;</code>
     * @param string $var
     * @return $this
     */
    public function setFileName($var)
    {
        GPBUtil::checkString($var, True);
        $this->file_name = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 room_table_id = 6;</code>
     * @return int|string
     */
    public function getRoomTableId()
    {
        return $this->room_table_id;
    }

    /**
     * Generated from protobuf field <code>int64 room_table_id = 6;</code>
     * @param int|string $var
     * @return $this
     */
    public function setRoomTableId($var)
    {
        GPBUtil::checkInt64($var);
        $this->room_table_id = $var;

        return $this;
    }

    /**
     * ID of the original recorder that captured the file
     *
     * Generated from protobuf field <code>string recorder_id = 7;</code>
     * @return string
     */
    public function getRecorderId()
    {
        return $this->recorder_id;
    }

    /**
     * ID of the original recorder that captured the file
     *
     * Generated from protobuf field <code>string recorder_id = 7;</code>
     * @param string $var
     * @return $this
     */
    public function setRecorderId($var)
    {
        GPBUtil::checkString($var, True);
        $this->recorder_id = $var;

        return $this;
    }

    /**
     * The variant of the recording
     *
     * Generated from protobuf field <code>.plugnmeet.CloudRecordingVariants recording_variant = 8;</code>
     * @return int
     */
    public function getRecordingVariant()
    {
        return $this->recording_variant;
    }

    /**
     * The variant of the recording
     *
     * Generated from protobuf field <code>.plugnmeet.CloudRecordingVariants recording_variant = 8;</code>
     * @param int $var
     * @return $this
     */
    public function setRecordingVariant($var)
    {
        GPBUtil::checkEnum($var, \Mynaparrot\PlugnmeetProto\CloudRecordingVariants::class);
        $this->recording_variant = $var;

        return $this;
    }

}

