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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * FileInfo contains details about a generated file artifact.
 *
 * Generated from protobuf message <code>plugnmeet.RoomArtifactFileInfo</code>
 */
class RoomArtifactFileInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string file_path = 1;</code>
     */
    protected $file_path = '';
    /**
     * Generated from protobuf field <code>int64 file_size = 2;</code>
     */
    protected $file_size = 0;
    /**
     * Generated from protobuf field <code>string mime_type = 3;</code>
     */
    protected $mime_type = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $file_path
     *     @type int|string $file_size
     *     @type string $mime_type
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetRoomArtifacts::initOnce();
        parent::__construct($data);
    }

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

    /**
     * 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;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

