<?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;

/**
 * Generated from protobuf message <code>plugnmeet.TranscodingTaskPostRecording</code>
 */
class TranscodingTaskPostRecording extends \Google\Protobuf\Internal\Message
{
    /**
     * directory where raw file is stored
     *
     * Generated from protobuf field <code>string file_path = 1;</code>
     */
    protected $file_path = '';
    /**
     * raw file name e.g. rec-xxx_raw.mp4
     *
     * Generated from protobuf field <code>string file_name = 2;</code>
     */
    protected $file_name = '';
    /**
     * The variant of the recording
     *
     * Generated from protobuf field <code>.plugnmeet.CloudRecordingVariants recording_variant = 3;</code>
     */
    protected $recording_variant = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @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 $recording_variant
     *           The variant of the recording
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetRecorder::initOnce();
        parent::__construct($data);
    }

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

    /**
     * directory where raw file is stored
     *
     * Generated from protobuf field <code>string file_path = 1;</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 = 2;</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 = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setFileName($var)
    {
        GPBUtil::checkString($var, True);
        $this->file_name = $var;

        return $this;
    }

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

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

        return $this;
    }

}

