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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Generated from protobuf message <code>plugnmeet.RecordingInfoEvent</code>
 */
class RecordingInfoEvent extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string record_id = 1;</code>
     */
    protected $record_id = '';
    /**
     * Generated from protobuf field <code>string recorder_id = 2;</code>
     */
    protected $recorder_id = '';
    /**
     * Generated from protobuf field <code>string recorder_msg = 3;</code>
     */
    protected $recorder_msg = '';
    /**
     * Generated from protobuf field <code>optional string file_path = 4;</code>
     */
    protected $file_path = null;
    /**
     * Generated from protobuf field <code>optional float file_size = 5;</code>
     */
    protected $file_size = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $record_id
     *     @type string $recorder_id
     *     @type string $recorder_msg
     *     @type string $file_path
     *     @type float $file_size
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetCommon::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>optional string file_path = 4;</code>
     * @return string
     */
    public function getFilePath()
    {
        return isset($this->file_path) ? $this->file_path : '';
    }

    public function hasFilePath()
    {
        return isset($this->file_path);
    }

    public function clearFilePath()
    {
        unset($this->file_path);
    }

    /**
     * Generated from protobuf field <code>optional string file_path = 4;</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>optional float file_size = 5;</code>
     * @return float
     */
    public function getFileSize()
    {
        return isset($this->file_size) ? $this->file_size : 0.0;
    }

    public function hasFileSize()
    {
        return isset($this->file_size);
    }

    public function clearFileSize()
    {
        unset($this->file_size);
    }

    /**
     * Generated from protobuf field <code>optional float file_size = 5;</code>
     * @param float $var
     * @return $this
     */
    public function setFileSize($var)
    {
        GPBUtil::checkFloat($var);
        $this->file_size = $var;

        return $this;
    }

}

