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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.UploadedFileMergeReq</code>
 */
class UploadedFileMergeReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string room_sid = 1;</code>
     */
    protected $room_sid = '';
    /**
     * Generated from protobuf field <code>string room_id = 2;</code>
     */
    protected $room_id = '';
    /**
     * Generated from protobuf field <code>.plugnmeet.RoomUploadedFileType file_type = 3;</code>
     */
    protected $file_type = 0;
    /**
     * Generated from protobuf field <code>string resumable_identifier = 4;</code>
     */
    protected $resumable_identifier = '';
    /**
     * Generated from protobuf field <code>string resumable_filename = 5;</code>
     */
    protected $resumable_filename = '';
    /**
     * Generated from protobuf field <code>int32 resumable_total_chunks = 6;</code>
     */
    protected $resumable_total_chunks = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $room_sid
     *     @type string $room_id
     *     @type int $file_type
     *     @type string $resumable_identifier
     *     @type string $resumable_filename
     *     @type int $resumable_total_chunks
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetCommonApi::initOnce();
        parent::__construct($data);
    }

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

    /**
     * Generated from protobuf field <code>string room_sid = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRoomSid($var)
    {
        GPBUtil::checkString($var, True);
        $this->room_sid = $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>.plugnmeet.RoomUploadedFileType file_type = 3;</code>
     * @return int
     */
    public function getFileType()
    {
        return $this->file_type;
    }

    /**
     * Generated from protobuf field <code>.plugnmeet.RoomUploadedFileType file_type = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setFileType($var)
    {
        GPBUtil::checkEnum($var, \Mynaparrot\PlugnmeetProto\RoomUploadedFileType::class);
        $this->file_type = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string resumable_identifier = 4;</code>
     * @return string
     */
    public function getResumableIdentifier()
    {
        return $this->resumable_identifier;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string resumable_filename = 5;</code>
     * @return string
     */
    public function getResumableFilename()
    {
        return $this->resumable_filename;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int32 resumable_total_chunks = 6;</code>
     * @return int
     */
    public function getResumableTotalChunks()
    {
        return $this->resumable_total_chunks;
    }

    /**
     * Generated from protobuf field <code>int32 resumable_total_chunks = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setResumableTotalChunks($var)
    {
        GPBUtil::checkInt32($var);
        $this->resumable_total_chunks = $var;

        return $this;
    }

}

