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

require 'google/protobuf'

require 'deviceapis/device/v1/deviceapis_device_common_v1_pb'
require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'protoc-gen-openapiv2/options/annotations_pb'


descriptor_data = "\nCdeviceapis/device/v1/deviceapis_device_safe_emergency_file_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"U\n\"DeleteSafeCityEmergencyFileRequest\x12/\n\tfile_name\x18\x01 \x01(\tB\x1c\xe0\x41\x02\x92\x41\x16J\x14\"Happy_new_year.wav\"\"\xcf\x01\n#DeleteSafeCityEmergencyFileResponse\x12P\n\x05\x65rror\x18\x01 \x01(\x0b\x32?.deviceapis.device.v1.DeleteSafeCityEmergencyFileResponse.ErrorH\x00\x1aN\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"%\n#GetSafeCityEmergencyFileListRequest\"\xae\x01\n$GetSafeCityEmergencyFileListResponse\x12\x85\x01\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32+.deviceapis.device.v1.SafeCityEmergencyFileBJ\x92\x41GJE[{\"file_name\":\"Happy_new_year.wav\"},{\"file_name\":\"Jingle_Bells.wav\"}]\"u\n\x15SafeCityEmergencyFile\x12/\n\tfile_name\x18\x01 \x01(\tB\x1c\xe0\x41\x02\x92\x41\x16J\x14\"Happy_new_year.wav\"\x12+\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x1a\xe0\x41\x04\x92\x41\x14J\x12\"SGVsbG8gV29ybGQh\"\"b\n SaveSafeCityEmergencyFileRequest\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.deviceapis.device.v1.SafeCityEmergencyFileB\x03\xe0\x41\x02\"#\n!SaveSafeCityEmergencyFileResponse2\x81\x05\n\x1cSafeCityEmergencyFileService\x12\xcf\x01\n\x1b\x44\x65leteSafeCityEmergencyFile\x12\x38.deviceapis.device.v1.DeleteSafeCityEmergencyFileRequest\x1a\x39.deviceapis.device.v1.DeleteSafeCityEmergencyFileResponse\";\x82\xd3\xe4\x93\x02\x35*3/device/api/v1/safe_city/emergency_file/{file_name}\x12\xcb\x01\n\x1cGetSafeCityEmergencyFileList\x12\x39.deviceapis.device.v1.GetSafeCityEmergencyFileListRequest\x1a:.deviceapis.device.v1.GetSafeCityEmergencyFileListResponse\"4\x82\xd3\xe4\x93\x02.\x12,/device/api/v1/safe_city/emergency_file/list\x12\xc0\x01\n\x19SaveSafeCityEmergencyFile\x12\x36.deviceapis.device.v1.SaveSafeCityEmergencyFileRequest\x1a\x37.deviceapis.device.v1.SaveSafeCityEmergencyFileResponse\"2\x82\xd3\xe4\x93\x02,\"\'/device/api/v1/safe_city/emergency_file:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::Device::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError => e
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["deviceapis.device.v1.ValidationError", "deviceapis/device/v1/deviceapis_device_common_v1.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Deviceapis
  module Device
    module V1
      DeleteSafeCityEmergencyFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteSafeCityEmergencyFileRequest").msgclass
      DeleteSafeCityEmergencyFileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteSafeCityEmergencyFileResponse").msgclass
      DeleteSafeCityEmergencyFileResponse::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.DeleteSafeCityEmergencyFileResponse.Error").msgclass
      GetSafeCityEmergencyFileListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetSafeCityEmergencyFileListRequest").msgclass
      GetSafeCityEmergencyFileListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.GetSafeCityEmergencyFileListResponse").msgclass
      SafeCityEmergencyFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SafeCityEmergencyFile").msgclass
      SaveSafeCityEmergencyFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveSafeCityEmergencyFileRequest").msgclass
      SaveSafeCityEmergencyFileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("deviceapis.device.v1.SaveSafeCityEmergencyFileResponse").msgclass
    end
  end
end
