<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_safe_emergency_file_v1.proto

namespace Deviceapis\Device\V1;

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

/**
 * Запрос удаления единичной сущности SafeCityEmergencyFile по ключу
 *
 * Generated from protobuf message <code>deviceapis.device.v1.DeleteSafeCityEmergencyFileRequest</code>
 */
class DeleteSafeCityEmergencyFileRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Имя файла
     *
     * Generated from protobuf field <code>string file_name = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {</code>
     */
    protected $file_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $file_name
     *           Имя файла
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Deviceapis\Device\V1\DeviceapisDeviceSafeEmergencyFileV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Имя файла
     *
     * Generated from protobuf field <code>string file_name = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {</code>
     * @return string
     */
    public function getFileName()
    {
        return $this->file_name;
    }

    /**
     * Имя файла
     *
     * Generated from protobuf field <code>string file_name = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {</code>
     * @param string $var
     * @return $this
     */
    public function setFileName($var)
    {
        GPBUtil::checkString($var, True);
        $this->file_name = $var;

        return $this;
    }

}

