# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_safe_emergency_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from deviceapis.device.v1 import deviceapis_device_common_v1_pb2 as deviceapis_dot_device_dot_v1_dot_deviceapis__device__common__v1__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n>deviceapis/device/v1/deviceapis_device_safe_emergency_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\"\"\n PostSafeCityEmergencyStopRequest\"#\n!PostSafeCityEmergencyStopResponse\"#\n!GetSafeCityEmergencyStatusRequest\"\xb6\x02\n\"GetSafeCityEmergencyStatusResponse\x12T\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x46.deviceapis.device.v1.GetSafeCityEmergencyStatusResponse.CurrentStatus\x1a\xb9\x01\n\rCurrentStatus\x12\x17\n\nis_running\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12\x61\n\"emergency_scenario_play_order_type\x18\x02 \x01(\x0e\x32\x35.deviceapis.device.v1.EmergencyScenario.PlayOrderType\x12,\n\tfile_name\x18\x03 \x01(\tB\x19\x92\x41\x16J\x14\"Happy_new_year.wav\"\"\xaa\x03\n\x11\x45mergencyScenario\x12/\n\tfile_name\x18\x01 \x01(\tB\x1c\x92\x41\x16J\x14\"Happy_new_year.wav\"\xe0\x41\x02\x12$\n\x0etotal_duration\x18\x02 \x01(\x05\x42\x0c\x92\x41\x06J\x04\x33\x36\x30\x30\xe0\x41\x02\x12$\n\x11playback_per_tick\x18\x03 \x01(\x05\x42\t\x92\x41\x03J\x01\x33\xe0\x41\x02\x12\x1e\n\ntick_count\x18\x04 \x01(\x05\x42\n\x92\x41\x04J\x02\x31\x30\xe0\x41\x02\x12\x66\n\x0fplay_order_type\x18\x05 \x01(\x0e\x32\x35.deviceapis.device.v1.EmergencyScenario.PlayOrderTypeB\x16\x92\x41\x10J\x0e\"SPEAKER_ONLY\"\xe0\x41\x02\"\x8f\x01\n\rPlayOrderType\x12\x1b\n\x17PLAY_ORDER_TYPE_UNKNOWN\x10\x00\x12\x10\n\x0cHANDSET_ONLY\x10\x01\x12\x10\n\x0cSPEAKER_ONLY\x10\x02\x12\x11\n\rHANDSET_FIRST\x10\x03\x12\x11\n\rSPEAKER_FIRST\x10\x04\x12\x17\n\x13HANDSET_AND_SPEAKER\x10\x05\"_\n!PostSafeCityEmergencyStartRequest\x12:\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\'.deviceapis.device.v1.EmergencyScenarioB\x03\xe0\x41\x02\"\xd5\x02\n\"PostSafeCityEmergencyStartResponse\x12O\n\x05\x65rror\x18\x01 \x01(\x0b\x32>.deviceapis.device.v1.PostSafeCityEmergencyStartResponse.ErrorH\x00\x1a\xd5\x01\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x12p\n\x14sound_file_not_found\x18\x02 \x01(\x0b\x32P.deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error.SoundFileNotFoundH\x00\x1a\x13\n\x11SoundFileNotFoundB\x08\n\x06reasonB\x06\n\x04type2\xe9\x04\n\x18SafeCityEmergencyService\x12\xc4\x01\n\x1aPostSafeCityEmergencyStart\x12\x37.deviceapis.device.v1.PostSafeCityEmergencyStartRequest\x1a\x38.deviceapis.device.v1.PostSafeCityEmergencyStartResponse\"3\x82\xd3\xe4\x93\x02-\"(/device/api/v1/safe_city/emergency/start:\x01*\x12\xc0\x01\n\x19PostSafeCityEmergencyStop\x12\x36.deviceapis.device.v1.PostSafeCityEmergencyStopRequest\x1a\x37.deviceapis.device.v1.PostSafeCityEmergencyStopResponse\"2\x82\xd3\xe4\x93\x02,\"\'/device/api/v1/safe_city/emergency/stop:\x01*\x12\xc2\x01\n\x1aGetSafeCityEmergencyStatus\x12\x37.deviceapis.device.v1.GetSafeCityEmergencyStatusRequest\x1a\x38.deviceapis.device.v1.GetSafeCityEmergencyStatusResponse\"1\x82\xd3\xe4\x93\x02+\x12)/device/api/v1/safe_city/emergency/statusB\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')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'deviceapis.device.v1.deviceapis_device_safe_emergency_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\027ru.deviceapis.device.v1B\027DeviceapisDeviceV1ProtoH\003P\000Z\025/deviceapis_device_v1\330\001\001\370\001\001\242\002\022DEVICEAPISDEVICEV1\252\002\024Deviceapis.Device.V1\312\002\024Deviceapis\\Device\\V1\352\002\026Deviceapis::Device::V1'
  _GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS.fields_by_name['is_running']._options = None
  _GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS.fields_by_name['is_running']._serialized_options = b'\340A\002'
  _GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS.fields_by_name['file_name']._options = None
  _GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS.fields_by_name['file_name']._serialized_options = b'\222A\026J\024\"Happy_new_year.wav\"'
  _EMERGENCYSCENARIO.fields_by_name['file_name']._options = None
  _EMERGENCYSCENARIO.fields_by_name['file_name']._serialized_options = b'\222A\026J\024\"Happy_new_year.wav\"\340A\002'
  _EMERGENCYSCENARIO.fields_by_name['total_duration']._options = None
  _EMERGENCYSCENARIO.fields_by_name['total_duration']._serialized_options = b'\222A\006J\0043600\340A\002'
  _EMERGENCYSCENARIO.fields_by_name['playback_per_tick']._options = None
  _EMERGENCYSCENARIO.fields_by_name['playback_per_tick']._serialized_options = b'\222A\003J\0013\340A\002'
  _EMERGENCYSCENARIO.fields_by_name['tick_count']._options = None
  _EMERGENCYSCENARIO.fields_by_name['tick_count']._serialized_options = b'\222A\004J\00210\340A\002'
  _EMERGENCYSCENARIO.fields_by_name['play_order_type']._options = None
  _EMERGENCYSCENARIO.fields_by_name['play_order_type']._serialized_options = b'\222A\020J\016\"SPEAKER_ONLY\"\340A\002'
  _POSTSAFECITYEMERGENCYSTARTREQUEST.fields_by_name['data']._options = None
  _POSTSAFECITYEMERGENCYSTARTREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _SAFECITYEMERGENCYSERVICE.methods_by_name['PostSafeCityEmergencyStart']._options = None
  _SAFECITYEMERGENCYSERVICE.methods_by_name['PostSafeCityEmergencyStart']._serialized_options = b'\202\323\344\223\002-\"(/device/api/v1/safe_city/emergency/start:\001*'
  _SAFECITYEMERGENCYSERVICE.methods_by_name['PostSafeCityEmergencyStop']._options = None
  _SAFECITYEMERGENCYSERVICE.methods_by_name['PostSafeCityEmergencyStop']._serialized_options = b'\202\323\344\223\002,\"\'/device/api/v1/safe_city/emergency/stop:\001*'
  _SAFECITYEMERGENCYSERVICE.methods_by_name['GetSafeCityEmergencyStatus']._options = None
  _SAFECITYEMERGENCYSERVICE.methods_by_name['GetSafeCityEmergencyStatus']._serialized_options = b'\202\323\344\223\002+\022)/device/api/v1/safe_city/emergency/status'
  _globals['_POSTSAFECITYEMERGENCYSTOPREQUEST']._serialized_start=255
  _globals['_POSTSAFECITYEMERGENCYSTOPREQUEST']._serialized_end=289
  _globals['_POSTSAFECITYEMERGENCYSTOPRESPONSE']._serialized_start=291
  _globals['_POSTSAFECITYEMERGENCYSTOPRESPONSE']._serialized_end=326
  _globals['_GETSAFECITYEMERGENCYSTATUSREQUEST']._serialized_start=328
  _globals['_GETSAFECITYEMERGENCYSTATUSREQUEST']._serialized_end=363
  _globals['_GETSAFECITYEMERGENCYSTATUSRESPONSE']._serialized_start=366
  _globals['_GETSAFECITYEMERGENCYSTATUSRESPONSE']._serialized_end=676
  _globals['_GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS']._serialized_start=491
  _globals['_GETSAFECITYEMERGENCYSTATUSRESPONSE_CURRENTSTATUS']._serialized_end=676
  _globals['_EMERGENCYSCENARIO']._serialized_start=679
  _globals['_EMERGENCYSCENARIO']._serialized_end=1105
  _globals['_EMERGENCYSCENARIO_PLAYORDERTYPE']._serialized_start=962
  _globals['_EMERGENCYSCENARIO_PLAYORDERTYPE']._serialized_end=1105
  _globals['_POSTSAFECITYEMERGENCYSTARTREQUEST']._serialized_start=1107
  _globals['_POSTSAFECITYEMERGENCYSTARTREQUEST']._serialized_end=1202
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE']._serialized_start=1205
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE']._serialized_end=1546
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE_ERROR']._serialized_start=1325
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE_ERROR']._serialized_end=1538
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE_ERROR_SOUNDFILENOTFOUND']._serialized_start=1509
  _globals['_POSTSAFECITYEMERGENCYSTARTRESPONSE_ERROR_SOUNDFILENOTFOUND']._serialized_end=1528
  _globals['_SAFECITYEMERGENCYSERVICE']._serialized_start=1549
  _globals['_SAFECITYEMERGENCYSERVICE']._serialized_end=2166
# @@protoc_insertion_point(module_scope)
