//
//Сервис управления оповещением

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: deviceapis/device/v1/deviceapis_device_safe_emergency_v1.proto

package deviceapis_device_v1

import (
	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Тип проигрывания.
// # Тип: byte
type EmergencyScenario_PlayOrderType int32

const (
	// Значение не указано
	EmergencyScenario_PLAY_ORDER_TYPE_UNKNOWN EmergencyScenario_PlayOrderType = 0
	// Только на аналоговые трубки
	EmergencyScenario_HANDSET_ONLY EmergencyScenario_PlayOrderType = 1
	// Tолько на динамик домофона
	EmergencyScenario_SPEAKER_ONLY EmergencyScenario_PlayOrderType = 2
	// Сначала на аналоговые трубки проигрываем заданное количество тактов, затем на динамик домофона
	EmergencyScenario_HANDSET_FIRST EmergencyScenario_PlayOrderType = 3
	// Сначала на динамик домофона проигрываем заданное количество тактов, затем на аналоговые трубки
	EmergencyScenario_SPEAKER_FIRST EmergencyScenario_PlayOrderType = 4
	// Одновременно на аналоговые трубки проигрываем заданное количество тактов, затем на динамик домофона
	EmergencyScenario_HANDSET_AND_SPEAKER EmergencyScenario_PlayOrderType = 5
)

// Enum value maps for EmergencyScenario_PlayOrderType.
var (
	EmergencyScenario_PlayOrderType_name = map[int32]string{
		0: "PLAY_ORDER_TYPE_UNKNOWN",
		1: "HANDSET_ONLY",
		2: "SPEAKER_ONLY",
		3: "HANDSET_FIRST",
		4: "SPEAKER_FIRST",
		5: "HANDSET_AND_SPEAKER",
	}
	EmergencyScenario_PlayOrderType_value = map[string]int32{
		"PLAY_ORDER_TYPE_UNKNOWN": 0,
		"HANDSET_ONLY":            1,
		"SPEAKER_ONLY":            2,
		"HANDSET_FIRST":           3,
		"SPEAKER_FIRST":           4,
		"HANDSET_AND_SPEAKER":     5,
	}
)

func (x EmergencyScenario_PlayOrderType) Enum() *EmergencyScenario_PlayOrderType {
	p := new(EmergencyScenario_PlayOrderType)
	*p = x
	return p
}

func (x EmergencyScenario_PlayOrderType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EmergencyScenario_PlayOrderType) Descriptor() protoreflect.EnumDescriptor {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_enumTypes[0].Descriptor()
}

func (EmergencyScenario_PlayOrderType) Type() protoreflect.EnumType {
	return &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_enumTypes[0]
}

func (x EmergencyScenario_PlayOrderType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EmergencyScenario_PlayOrderType.Descriptor instead.
func (EmergencyScenario_PlayOrderType) EnumDescriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{4, 0}
}

// Запрос на прекращение оповещения через домофон
type PostSafeCityEmergencyStopRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostSafeCityEmergencyStopRequest) Reset() {
	*x = PostSafeCityEmergencyStopRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStopRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStopRequest) ProtoMessage() {}

func (x *PostSafeCityEmergencyStopRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStopRequest.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStopRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{0}
}

// Ответ на запрос на прекращение оповещения через домофон
type PostSafeCityEmergencyStopResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostSafeCityEmergencyStopResponse) Reset() {
	*x = PostSafeCityEmergencyStopResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStopResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStopResponse) ProtoMessage() {}

func (x *PostSafeCityEmergencyStopResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStopResponse.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStopResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{1}
}

// Запрос на получение статуса оповещения
type GetSafeCityEmergencyStatusRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *GetSafeCityEmergencyStatusRequest) Reset() {
	*x = GetSafeCityEmergencyStatusRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetSafeCityEmergencyStatusRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSafeCityEmergencyStatusRequest) ProtoMessage() {}

func (x *GetSafeCityEmergencyStatusRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSafeCityEmergencyStatusRequest.ProtoReflect.Descriptor instead.
func (*GetSafeCityEmergencyStatusRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{2}
}

// Ответ на запрос на получение статуса оповещения
type GetSafeCityEmergencyStatusResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Статус оповещения
	Data *GetSafeCityEmergencyStatusResponse_CurrentStatus `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *GetSafeCityEmergencyStatusResponse) Reset() {
	*x = GetSafeCityEmergencyStatusResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetSafeCityEmergencyStatusResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSafeCityEmergencyStatusResponse) ProtoMessage() {}

func (x *GetSafeCityEmergencyStatusResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSafeCityEmergencyStatusResponse.ProtoReflect.Descriptor instead.
func (*GetSafeCityEmergencyStatusResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{3}
}

func (x *GetSafeCityEmergencyStatusResponse) GetData() *GetSafeCityEmergencyStatusResponse_CurrentStatus {
	if x != nil {
		return x.Data
	}
	return nil
}

// Сценарий оповещения
type EmergencyScenario struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Имя файла
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// Максимальная общая длительность оповещения, в секундах.
	// # Диапазон: 0..65536
	TotalDuration int32 `protobuf:"varint,2,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"`
	// Количество воспроизведений файла в каждом цикле оповещения на одном направлении (трубка или динамик).
	// # Диапазон: 0..65536
	PlaybackPerTick int32 `protobuf:"varint,3,opt,name=playback_per_tick,json=playbackPerTick,proto3" json:"playback_per_tick,omitempty"`
	// Количество воспроизведений циклов оповещения.
	// # Диапазон: 0..65536
	TickCount int32 `protobuf:"varint,4,opt,name=tick_count,json=tickCount,proto3" json:"tick_count,omitempty"`
	// Тип проигрывания
	PlayOrderType EmergencyScenario_PlayOrderType `protobuf:"varint,5,opt,name=play_order_type,json=playOrderType,proto3,enum=deviceapis.device.v1.EmergencyScenario_PlayOrderType" json:"play_order_type,omitempty"`
}

func (x *EmergencyScenario) Reset() {
	*x = EmergencyScenario{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *EmergencyScenario) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EmergencyScenario) ProtoMessage() {}

func (x *EmergencyScenario) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[4]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EmergencyScenario.ProtoReflect.Descriptor instead.
func (*EmergencyScenario) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{4}
}

func (x *EmergencyScenario) GetFileName() string {
	if x != nil {
		return x.FileName
	}
	return ""
}

func (x *EmergencyScenario) GetTotalDuration() int32 {
	if x != nil {
		return x.TotalDuration
	}
	return 0
}

func (x *EmergencyScenario) GetPlaybackPerTick() int32 {
	if x != nil {
		return x.PlaybackPerTick
	}
	return 0
}

func (x *EmergencyScenario) GetTickCount() int32 {
	if x != nil {
		return x.TickCount
	}
	return 0
}

func (x *EmergencyScenario) GetPlayOrderType() EmergencyScenario_PlayOrderType {
	if x != nil {
		return x.PlayOrderType
	}
	return EmergencyScenario_PLAY_ORDER_TYPE_UNKNOWN
}

// Запрос на старт оповещения
type PostSafeCityEmergencyStartRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Сценарий оповещения
	Data *EmergencyScenario `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *PostSafeCityEmergencyStartRequest) Reset() {
	*x = PostSafeCityEmergencyStartRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStartRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStartRequest) ProtoMessage() {}

func (x *PostSafeCityEmergencyStartRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStartRequest.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStartRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{5}
}

func (x *PostSafeCityEmergencyStartRequest) GetData() *EmergencyScenario {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на запрос на старт оповещения
type PostSafeCityEmergencyStartResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*PostSafeCityEmergencyStartResponse_Error_
	Type isPostSafeCityEmergencyStartResponse_Type `protobuf_oneof:"type"`
}

func (x *PostSafeCityEmergencyStartResponse) Reset() {
	*x = PostSafeCityEmergencyStartResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStartResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStartResponse) ProtoMessage() {}

func (x *PostSafeCityEmergencyStartResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[6]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStartResponse.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStartResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{6}
}

func (m *PostSafeCityEmergencyStartResponse) GetType() isPostSafeCityEmergencyStartResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostSafeCityEmergencyStartResponse) GetError() *PostSafeCityEmergencyStartResponse_Error {
	if x, ok := x.GetType().(*PostSafeCityEmergencyStartResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostSafeCityEmergencyStartResponse_Type interface {
	isPostSafeCityEmergencyStartResponse_Type()
}

type PostSafeCityEmergencyStartResponse_Error_ struct {
	// Ошибка
	Error *PostSafeCityEmergencyStartResponse_Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*PostSafeCityEmergencyStartResponse_Error_) isPostSafeCityEmergencyStartResponse_Type() {}

// Статус оповещения
type GetSafeCityEmergencyStatusResponse_CurrentStatus struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Признак работающего оповещения в текущий момент
	IsRunning bool `protobuf:"varint,1,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
	// Тип проигрывания
	EmergencyScenarioPlayOrderType EmergencyScenario_PlayOrderType `protobuf:"varint,2,opt,name=emergency_scenario_play_order_type,json=emergencyScenarioPlayOrderType,proto3,enum=deviceapis.device.v1.EmergencyScenario_PlayOrderType" json:"emergency_scenario_play_order_type,omitempty"`
	// Имя файла
	FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) Reset() {
	*x = GetSafeCityEmergencyStatusResponse_CurrentStatus{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetSafeCityEmergencyStatusResponse_CurrentStatus) ProtoMessage() {}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[7]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetSafeCityEmergencyStatusResponse_CurrentStatus.ProtoReflect.Descriptor instead.
func (*GetSafeCityEmergencyStatusResponse_CurrentStatus) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{3, 0}
}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) GetIsRunning() bool {
	if x != nil {
		return x.IsRunning
	}
	return false
}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) GetEmergencyScenarioPlayOrderType() EmergencyScenario_PlayOrderType {
	if x != nil {
		return x.EmergencyScenarioPlayOrderType
	}
	return EmergencyScenario_PLAY_ORDER_TYPE_UNKNOWN
}

func (x *GetSafeCityEmergencyStatusResponse_CurrentStatus) GetFileName() string {
	if x != nil {
		return x.FileName
	}
	return ""
}

// Ошибка запроса
type PostSafeCityEmergencyStartResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostSafeCityEmergencyStartResponse_Error_Validation
	//	*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound_
	Reason isPostSafeCityEmergencyStartResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *PostSafeCityEmergencyStartResponse_Error) Reset() {
	*x = PostSafeCityEmergencyStartResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStartResponse_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStartResponse_Error) ProtoMessage() {}

func (x *PostSafeCityEmergencyStartResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[8]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStartResponse_Error.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStartResponse_Error) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{6, 0}
}

func (m *PostSafeCityEmergencyStartResponse_Error) GetReason() isPostSafeCityEmergencyStartResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostSafeCityEmergencyStartResponse_Error) GetValidation() *ValidationError {
	if x, ok := x.GetReason().(*PostSafeCityEmergencyStartResponse_Error_Validation); ok {
		return x.Validation
	}
	return nil
}

func (x *PostSafeCityEmergencyStartResponse_Error) GetSoundFileNotFound() *PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound {
	if x, ok := x.GetReason().(*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound_); ok {
		return x.SoundFileNotFound
	}
	return nil
}

type isPostSafeCityEmergencyStartResponse_Error_Reason interface {
	isPostSafeCityEmergencyStartResponse_Error_Reason()
}

type PostSafeCityEmergencyStartResponse_Error_Validation struct {
	// Ошибка валидации
	Validation *ValidationError `protobuf:"bytes,1,opt,name=validation,proto3,oneof"`
}

type PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound_ struct {
	// Звуковой файл не найден
	SoundFileNotFound *PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound `protobuf:"bytes,2,opt,name=sound_file_not_found,json=soundFileNotFound,proto3,oneof"`
}

func (*PostSafeCityEmergencyStartResponse_Error_Validation) isPostSafeCityEmergencyStartResponse_Error_Reason() {
}

func (*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound_) isPostSafeCityEmergencyStartResponse_Error_Reason() {
}

// Звуковой файл не найден
type PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound) Reset() {
	*x = PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound) ProtoMessage() {}

func (x *PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[9]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound.ProtoReflect.Descriptor instead.
func (*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP(), []int{6, 0, 0}
}

var File_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDesc = []byte{
	0x0a, 0x3e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x65, 0x6d,
	0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
	0x12, 0x14, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67,
	0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74,
	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
	0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6f,
	0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a,
	0x20, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65,
	0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x22, 0x23, 0x0a, 0x21, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74,
	0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x53, 0x61, 0x66,
	0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74,
	0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf2, 0x02, 0x0a, 0x22,
	0x47, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67,
	0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x12, 0x5a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x46, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43,
	0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74,
	0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65,
	0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xef,
	0x01, 0x0a, 0x0d, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
	0x12, 0x22, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x73, 0x52, 0x75, 0x6e,
	0x6e, 0x69, 0x6e, 0x67, 0x12, 0x81, 0x01, 0x0a, 0x22, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e,
	0x63, 0x79, 0x5f, 0x73, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x5f, 0x70, 0x6c, 0x61, 0x79,
	0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x0e, 0x32, 0x35, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e,
	0x63, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x4f,
	0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x1e, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65,
	0x6e, 0x63, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x50, 0x6c, 0x61, 0x79, 0x4f,
	0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65,
	0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16,
	0x4a, 0x14, 0x22, 0x48, 0x61, 0x70, 0x70, 0x79, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x79, 0x65, 0x61,
	0x72, 0x2e, 0x77, 0x61, 0x76, 0x22, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
	0x22, 0xee, 0x03, 0x0a, 0x11, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x63,
	0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x12, 0x39, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e,
	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x92, 0x41, 0x16, 0x4a, 0x14,
	0x22, 0x48, 0x61, 0x70, 0x70, 0x79, 0x5f, 0x6e, 0x65, 0x77, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x2e,
	0x77, 0x61, 0x76, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
	0x65, 0x12, 0x33, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74,
	0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x0c, 0x92, 0x41, 0x06, 0x4a, 0x04,
	0x33, 0x36, 0x30, 0x30, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x75,
	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x79, 0x62, 0x61,
	0x63, 0x6b, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,
	0x05, 0x42, 0x09, 0x92, 0x41, 0x03, 0x4a, 0x01, 0x33, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x70, 0x6c,
	0x61, 0x79, 0x62, 0x61, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x54, 0x69, 0x63, 0x6b, 0x12, 0x29, 0x0a,
	0x0a, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
	0x05, 0x42, 0x0a, 0x92, 0x41, 0x04, 0x4a, 0x02, 0x31, 0x30, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x74,
	0x69, 0x63, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x75, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79,
	0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
	0x0e, 0x32, 0x35, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e,
	0x63, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x4f,
	0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x16, 0x92, 0x41, 0x10, 0x4a, 0x0e, 0x22,
	0x53, 0x50, 0x45, 0x41, 0x4b, 0x45, 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x22, 0xe0, 0x41, 0x02,
	0x52, 0x0d, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22,
	0x8f, 0x01, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70,
	0x65, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f,
	0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x10,
	0x0a, 0x0c, 0x48, 0x41, 0x4e, 0x44, 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01,
	0x12, 0x10, 0x0a, 0x0c, 0x53, 0x50, 0x45, 0x41, 0x4b, 0x45, 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x59,
	0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x41, 0x4e, 0x44, 0x53, 0x45, 0x54, 0x5f, 0x46, 0x49,
	0x52, 0x53, 0x54, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x50, 0x45, 0x41, 0x4b, 0x45, 0x52,
	0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x48, 0x41, 0x4e, 0x44,
	0x53, 0x45, 0x54, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x53, 0x50, 0x45, 0x41, 0x4b, 0x45, 0x52, 0x10,
	0x05, 0x22, 0x65, 0x0a, 0x21, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74,
	0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x65, 0x72,
	0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x63, 0x65, 0x6e, 0x61, 0x72, 0x69, 0x6f, 0x42, 0x03, 0xe0,
	0x41, 0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfc, 0x02, 0x0a, 0x22, 0x50, 0x6f, 0x73,
	0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e,
	0x63, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
	0x56, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69,
	0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
	0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xf5, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c,
	0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0a,
	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x83, 0x01, 0x0a, 0x14, 0x73,
	0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f,
	0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65,
	0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
	0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x46,
	0x69, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x11, 0x73,
	0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64,
	0x1a, 0x13, 0x0a, 0x11, 0x53, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x6f, 0x74,
	0x46, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42,
	0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32, 0xe9, 0x04, 0x0a, 0x18, 0x53, 0x61, 0x66, 0x65,
	0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x65, 0x72,
	0x76, 0x69, 0x63, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x1a, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66,
	0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74,
	0x61, 0x72, 0x74, 0x12, 0x37, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53,
	0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79,
	0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79,
	0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01,
	0x2a, 0x22, 0x28, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
	0x31, 0x2f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x63, 0x69, 0x74, 0x79, 0x2f, 0x65, 0x6d, 0x65, 0x72,
	0x67, 0x65, 0x6e, 0x63, 0x79, 0x2f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0xc0, 0x01, 0x0a, 0x19,
	0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72,
	0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x36, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65,
	0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x1a, 0x37, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x53, 0x61, 0x66,
	0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74,
	0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93,
	0x02, 0x2c, 0x3a, 0x01, 0x2a, 0x22, 0x27, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x63, 0x69, 0x74, 0x79, 0x2f,
	0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x70, 0x12, 0xc2,
	0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d,
	0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x37, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79,
	0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
	0x74, 0x53, 0x61, 0x66, 0x65, 0x43, 0x69, 0x74, 0x79, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e,
	0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x63, 0x69,
	0x74, 0x79, 0x2f, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x2f, 0x73, 0x74, 0x61,
	0x74, 0x75, 0x73, 0x42, 0xaf, 0x01, 0x0a, 0x17, 0x72, 0x75, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42,
	0x17, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x44, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x15, 0x2f, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x12, 0x44, 0x45, 0x56, 0x49,
	0x43, 0x45, 0x41, 0x50, 0x49, 0x53, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x56, 0x31, 0xaa, 0x02,
	0x14, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x16, 0x44,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_goTypes = []interface{}{
	(EmergencyScenario_PlayOrderType)(0),                               // 0: deviceapis.device.v1.EmergencyScenario.PlayOrderType
	(*PostSafeCityEmergencyStopRequest)(nil),                           // 1: deviceapis.device.v1.PostSafeCityEmergencyStopRequest
	(*PostSafeCityEmergencyStopResponse)(nil),                          // 2: deviceapis.device.v1.PostSafeCityEmergencyStopResponse
	(*GetSafeCityEmergencyStatusRequest)(nil),                          // 3: deviceapis.device.v1.GetSafeCityEmergencyStatusRequest
	(*GetSafeCityEmergencyStatusResponse)(nil),                         // 4: deviceapis.device.v1.GetSafeCityEmergencyStatusResponse
	(*EmergencyScenario)(nil),                                          // 5: deviceapis.device.v1.EmergencyScenario
	(*PostSafeCityEmergencyStartRequest)(nil),                          // 6: deviceapis.device.v1.PostSafeCityEmergencyStartRequest
	(*PostSafeCityEmergencyStartResponse)(nil),                         // 7: deviceapis.device.v1.PostSafeCityEmergencyStartResponse
	(*GetSafeCityEmergencyStatusResponse_CurrentStatus)(nil),           // 8: deviceapis.device.v1.GetSafeCityEmergencyStatusResponse.CurrentStatus
	(*PostSafeCityEmergencyStartResponse_Error)(nil),                   // 9: deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error
	(*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound)(nil), // 10: deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error.SoundFileNotFound
	(*ValidationError)(nil),                                            // 11: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_depIdxs = []int32{
	8,  // 0: deviceapis.device.v1.GetSafeCityEmergencyStatusResponse.data:type_name -> deviceapis.device.v1.GetSafeCityEmergencyStatusResponse.CurrentStatus
	0,  // 1: deviceapis.device.v1.EmergencyScenario.play_order_type:type_name -> deviceapis.device.v1.EmergencyScenario.PlayOrderType
	5,  // 2: deviceapis.device.v1.PostSafeCityEmergencyStartRequest.data:type_name -> deviceapis.device.v1.EmergencyScenario
	9,  // 3: deviceapis.device.v1.PostSafeCityEmergencyStartResponse.error:type_name -> deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error
	0,  // 4: deviceapis.device.v1.GetSafeCityEmergencyStatusResponse.CurrentStatus.emergency_scenario_play_order_type:type_name -> deviceapis.device.v1.EmergencyScenario.PlayOrderType
	11, // 5: deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	10, // 6: deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error.sound_file_not_found:type_name -> deviceapis.device.v1.PostSafeCityEmergencyStartResponse.Error.SoundFileNotFound
	6,  // 7: deviceapis.device.v1.SafeCityEmergencyService.PostSafeCityEmergencyStart:input_type -> deviceapis.device.v1.PostSafeCityEmergencyStartRequest
	1,  // 8: deviceapis.device.v1.SafeCityEmergencyService.PostSafeCityEmergencyStop:input_type -> deviceapis.device.v1.PostSafeCityEmergencyStopRequest
	3,  // 9: deviceapis.device.v1.SafeCityEmergencyService.GetSafeCityEmergencyStatus:input_type -> deviceapis.device.v1.GetSafeCityEmergencyStatusRequest
	7,  // 10: deviceapis.device.v1.SafeCityEmergencyService.PostSafeCityEmergencyStart:output_type -> deviceapis.device.v1.PostSafeCityEmergencyStartResponse
	2,  // 11: deviceapis.device.v1.SafeCityEmergencyService.PostSafeCityEmergencyStop:output_type -> deviceapis.device.v1.PostSafeCityEmergencyStopResponse
	4,  // 12: deviceapis.device.v1.SafeCityEmergencyService.GetSafeCityEmergencyStatus:output_type -> deviceapis.device.v1.GetSafeCityEmergencyStatusResponse
	10, // [10:13] is the sub-list for method output_type
	7,  // [7:10] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStopRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStopResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetSafeCityEmergencyStatusRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetSafeCityEmergencyStatusResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EmergencyScenario); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStartRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStartResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetSafeCityEmergencyStatusResponse_CurrentStatus); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStartResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*PostSafeCityEmergencyStartResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*PostSafeCityEmergencyStartResponse_Error_Validation)(nil),
		(*PostSafeCityEmergencyStartResponse_Error_SoundFileNotFound_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   10,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_depIdxs,
		EnumInfos:         file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_enumTypes,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_safe_emergency_v1_proto_depIdxs = nil
}
