//
//Сервис реализует функционал управления моделями устройства

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

package keyapis_device_v1

import (
	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)
)

// Список возможностей
type Model_CapabilityType int32

const (
	// Значение не указано
	Model_CAPABILITY_TYPE_UNKNOWN Model_CapabilityType = 0
	// Возможность смены пароля
	Model_CHANGE_PASSWORD Model_CapabilityType = 1
	// DTMF коды
	Model_DTMF_CODE Model_CapabilityType = 2
	// Поддержка квартирного автосбора
	Model_FLAT_AUTOCOLLECT Model_CapabilityType = 3
	// Поддержка звонков
	Model_SIP_CALL Model_CapabilityType = 4
	// Поддержка реконфигурирования устройства
	Model_REINSTALL Model_CapabilityType = 5
	// Аварийное открытие двери
	Model_EMERGENCY_DOOR Model_CapabilityType = 6
	// Поддержка бегущей строки
	Model_TICKER Model_CapabilityType = 7
	// Вызов на номер консьержа
	Model_CONCIERGE_CALL Model_CapabilityType = 8
	// Поддержка умного автосбора
	Model_AUTOCOLLECT Model_CapabilityType = 9
	// Временные ключи
	Model_TEMPORARY_KEY Model_CapabilityType = 10
	// Открытие двери
	Model_OPEN_DOOR Model_CapabilityType = 11
	// Поддержка калитки
	Model_GATE Model_CapabilityType = 12
	// SIP видео вызов
	Model_SIP_VIDEO Model_CapabilityType = 13
	// Постоянные ключи
	Model_CONSTANT_KEY Model_CapabilityType = 14
	// Поддержка аналоговых трубок
	Model_CMS_PHONES Model_CapabilityType = 15
	// Поддержка шифрования ключей SL3
	Model_SL3 Model_CapabilityType = 16
	// Поддержка стандарта Syslog
	Model_SYSLOG Model_CapabilityType = 17
	// Поддержка протокола NTP
	Model_NTP Model_CapabilityType = 18
	// Распознавание лиц
	Model_FACE_RECOGNITION Model_CapabilityType = 19
	// Видеокамера
	Model_CAMERA Model_CapabilityType = 20
	// Вызов экстренной службы
	Model_EMERGENCY_CALL Model_CapabilityType = 21
)

// Enum value maps for Model_CapabilityType.
var (
	Model_CapabilityType_name = map[int32]string{
		0:  "CAPABILITY_TYPE_UNKNOWN",
		1:  "CHANGE_PASSWORD",
		2:  "DTMF_CODE",
		3:  "FLAT_AUTOCOLLECT",
		4:  "SIP_CALL",
		5:  "REINSTALL",
		6:  "EMERGENCY_DOOR",
		7:  "TICKER",
		8:  "CONCIERGE_CALL",
		9:  "AUTOCOLLECT",
		10: "TEMPORARY_KEY",
		11: "OPEN_DOOR",
		12: "GATE",
		13: "SIP_VIDEO",
		14: "CONSTANT_KEY",
		15: "CMS_PHONES",
		16: "SL3",
		17: "SYSLOG",
		18: "NTP",
		19: "FACE_RECOGNITION",
		20: "CAMERA",
		21: "EMERGENCY_CALL",
	}
	Model_CapabilityType_value = map[string]int32{
		"CAPABILITY_TYPE_UNKNOWN": 0,
		"CHANGE_PASSWORD":         1,
		"DTMF_CODE":               2,
		"FLAT_AUTOCOLLECT":        3,
		"SIP_CALL":                4,
		"REINSTALL":               5,
		"EMERGENCY_DOOR":          6,
		"TICKER":                  7,
		"CONCIERGE_CALL":          8,
		"AUTOCOLLECT":             9,
		"TEMPORARY_KEY":           10,
		"OPEN_DOOR":               11,
		"GATE":                    12,
		"SIP_VIDEO":               13,
		"CONSTANT_KEY":            14,
		"CMS_PHONES":              15,
		"SL3":                     16,
		"SYSLOG":                  17,
		"NTP":                     18,
		"FACE_RECOGNITION":        19,
		"CAMERA":                  20,
		"EMERGENCY_CALL":          21,
	}
)

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

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

func (Model_CapabilityType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_device_v1_keyapis_device_model_v1_proto_enumTypes[0].Descriptor()
}

func (Model_CapabilityType) Type() protoreflect.EnumType {
	return &file_keyapis_device_v1_keyapis_device_model_v1_proto_enumTypes[0]
}

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

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

// Модель устройства
type Model struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*Model) ProtoMessage() {}

func (x *Model) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_device_v1_keyapis_device_model_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 Model.ProtoReflect.Descriptor instead.
func (*Model) Descriptor() ([]byte, []int) {
	return file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescGZIP(), []int{0}
}

func (x *Model) GetId() int32 {
	if x != nil {
		return x.Id
	}
	return 0
}

var File_keyapis_device_v1_keyapis_device_model_v1_proto protoreflect.FileDescriptor

var file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDesc = []byte{
	0x0a, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x12, 0x11, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x22, 0x94, 0x03, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x0e,
	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0xfa,
	0x02, 0x0a, 0x0e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70,
	0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x41, 0x50, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f,
	0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13,
	0x0a, 0x0f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52,
	0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x54, 0x4d, 0x46, 0x5f, 0x43, 0x4f, 0x44, 0x45,
	0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x4c, 0x41, 0x54, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x43,
	0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x50, 0x5f,
	0x43, 0x41, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x49, 0x4e, 0x53, 0x54,
	0x41, 0x4c, 0x4c, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x4e,
	0x43, 0x59, 0x5f, 0x44, 0x4f, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x49, 0x43,
	0x4b, 0x45, 0x52, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4e, 0x43, 0x49, 0x45, 0x52,
	0x47, 0x45, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x55, 0x54,
	0x4f, 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x45,
	0x4d, 0x50, 0x4f, 0x52, 0x41, 0x52, 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x0a, 0x12, 0x0d, 0x0a,
	0x09, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x44, 0x4f, 0x4f, 0x52, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04,
	0x47, 0x41, 0x54, 0x45, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x49, 0x50, 0x5f, 0x56, 0x49,
	0x44, 0x45, 0x4f, 0x10, 0x0d, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x41, 0x4e,
	0x54, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4d, 0x53, 0x5f, 0x50,
	0x48, 0x4f, 0x4e, 0x45, 0x53, 0x10, 0x0f, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x4c, 0x33, 0x10, 0x10,
	0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x4c, 0x4f, 0x47, 0x10, 0x11, 0x12, 0x07, 0x0a, 0x03,
	0x4e, 0x54, 0x50, 0x10, 0x12, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x52, 0x45,
	0x43, 0x4f, 0x47, 0x4e, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x43,
	0x41, 0x4d, 0x45, 0x52, 0x41, 0x10, 0x14, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x4d, 0x45, 0x52, 0x47,
	0x45, 0x4e, 0x43, 0x59, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x15, 0x42, 0x9a, 0x01, 0x0a, 0x14,
	0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x44, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x12,
	0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f,
	0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x0f, 0x4b, 0x45, 0x59, 0x41, 0x50,
	0x49, 0x53, 0x44, 0x45, 0x56, 0x49, 0x43, 0x45, 0x56, 0x31, 0xaa, 0x02, 0x11, 0x4b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02,
	0x11, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5c,
	0x56, 0x31, 0xea, 0x02, 0x13, 0x4b, 0x65, 0x79, 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_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescOnce sync.Once
	file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescData = file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDesc
)

func file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescGZIP() []byte {
	file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescData)
	})
	return file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDescData
}

var file_keyapis_device_v1_keyapis_device_model_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_keyapis_device_v1_keyapis_device_model_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_keyapis_device_v1_keyapis_device_model_v1_proto_goTypes = []interface{}{
	(Model_CapabilityType)(0), // 0: keyapis.device.v1.Model.CapabilityType
	(*Model)(nil),             // 1: keyapis.device.v1.Model
}
var file_keyapis_device_v1_keyapis_device_model_v1_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_keyapis_device_v1_keyapis_device_model_v1_proto_init() }
func file_keyapis_device_v1_keyapis_device_model_v1_proto_init() {
	if File_keyapis_device_v1_keyapis_device_model_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_device_v1_keyapis_device_model_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Model); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_keyapis_device_v1_keyapis_device_model_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_device_v1_keyapis_device_model_v1_proto_depIdxs,
		EnumInfos:         file_keyapis_device_v1_keyapis_device_model_v1_proto_enumTypes,
		MessageInfos:      file_keyapis_device_v1_keyapis_device_model_v1_proto_msgTypes,
	}.Build()
	File_keyapis_device_v1_keyapis_device_model_v1_proto = out.File
	file_keyapis_device_v1_keyapis_device_model_v1_proto_rawDesc = nil
	file_keyapis_device_v1_keyapis_device_model_v1_proto_goTypes = nil
	file_keyapis_device_v1_keyapis_device_model_v1_proto_depIdxs = nil
}
