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

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

package keyapis_iot_connect_v1

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

// Список ключей команд на изменение статуса устройства
type DeviceCommand_KeyType int32

const (
	// Значение не указано
	DeviceCommand_KEY_TYPE_UNKNOWN DeviceCommand_KeyType = 0
	// Отклонение звонка
	DeviceCommand_REJECT_CALL DeviceCommand_KeyType = 1
	// Открытие замка
	DeviceCommand_UNLOCK DeviceCommand_KeyType = 2
)

// Enum value maps for DeviceCommand_KeyType.
var (
	DeviceCommand_KeyType_name = map[int32]string{
		0: "KEY_TYPE_UNKNOWN",
		1: "REJECT_CALL",
		2: "UNLOCK",
	}
	DeviceCommand_KeyType_value = map[string]int32{
		"KEY_TYPE_UNKNOWN": 0,
		"REJECT_CALL":      1,
		"UNLOCK":           2,
	}
)

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

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

func (DeviceCommand_KeyType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[0].Descriptor()
}

func (DeviceCommand_KeyType) Type() protoreflect.EnumType {
	return &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[0]
}

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

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

// Тип значения команд на изменение статуса устройства
type DeviceCommand_Value_Type int32

const (
	// Значение не указано
	DeviceCommand_Value_TYPE_UNKNOWN DeviceCommand_Value_Type = 0
	// Перечисление
	DeviceCommand_Value_ENUM DeviceCommand_Value_Type = 1
)

// Enum value maps for DeviceCommand_Value_Type.
var (
	DeviceCommand_Value_Type_name = map[int32]string{
		0: "TYPE_UNKNOWN",
		1: "ENUM",
	}
	DeviceCommand_Value_Type_value = map[string]int32{
		"TYPE_UNKNOWN": 0,
		"ENUM":         1,
	}
)

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

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

func (DeviceCommand_Value_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[1].Descriptor()
}

func (DeviceCommand_Value_Type) Type() protoreflect.EnumType {
	return &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[1]
}

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

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

// Значения команд на изменение статуса устройства типа перечисление
type DeviceCommand_Value_ValueEnumType int32

const (
	// Значение не указано
	DeviceCommand_Value_VALUE_ENUM_TYPE_UNKNOWN DeviceCommand_Value_ValueEnumType = 0
	// Отклонение звонка
	DeviceCommand_Value_REJECT DeviceCommand_Value_ValueEnumType = 1
	// Открытие замка
	DeviceCommand_Value_UNLOCK DeviceCommand_Value_ValueEnumType = 2
)

// Enum value maps for DeviceCommand_Value_ValueEnumType.
var (
	DeviceCommand_Value_ValueEnumType_name = map[int32]string{
		0: "VALUE_ENUM_TYPE_UNKNOWN",
		1: "REJECT",
		2: "UNLOCK",
	}
	DeviceCommand_Value_ValueEnumType_value = map[string]int32{
		"VALUE_ENUM_TYPE_UNKNOWN": 0,
		"REJECT":                  1,
		"UNLOCK":                  2,
	}
)

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

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

func (DeviceCommand_Value_ValueEnumType) Descriptor() protoreflect.EnumDescriptor {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[2].Descriptor()
}

func (DeviceCommand_Value_ValueEnumType) Type() protoreflect.EnumType {
	return &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes[2]
}

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

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

// Массив команд на изменение статуса устройства
type DeviceCommandArray struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Команды на изменение статуса устройства
	States []*DeviceCommand `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
}

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

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

func (*DeviceCommandArray) ProtoMessage() {}

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

func (x *DeviceCommandArray) GetStates() []*DeviceCommand {
	if x != nil {
		return x.States
	}
	return nil
}

// Команды на изменение статуса устройства
type DeviceCommand struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип команды на изменение статуса устройства
	CommandKeyType DeviceCommand_KeyType `protobuf:"varint,1,opt,name=command_key_type,json=key,proto3,enum=keyapis.iot_connect_sber.v1.DeviceCommand_KeyType" json:"command_key_type,omitempty"`
	// Значение команды на изменение статуса устройства
	Value *DeviceCommand_Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

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

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

func (*DeviceCommand) ProtoMessage() {}

func (x *DeviceCommand) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_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 DeviceCommand.ProtoReflect.Descriptor instead.
func (*DeviceCommand) Descriptor() ([]byte, []int) {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescGZIP(), []int{1}
}

func (x *DeviceCommand) GetCommandKeyType() DeviceCommand_KeyType {
	if x != nil {
		return x.CommandKeyType
	}
	return DeviceCommand_KEY_TYPE_UNKNOWN
}

func (x *DeviceCommand) GetValue() *DeviceCommand_Value {
	if x != nil {
		return x.Value
	}
	return nil
}

// Запрос на изменение состояния устройства
type PostCommandRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Массив домофонов со статусами
	Devices map[string]*DeviceCommandArray `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

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

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

func (*PostCommandRequest) ProtoMessage() {}

func (x *PostCommandRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_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 PostCommandRequest.ProtoReflect.Descriptor instead.
func (*PostCommandRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescGZIP(), []int{2}
}

func (x *PostCommandRequest) GetDevices() map[string]*DeviceCommandArray {
	if x != nil {
		return x.Devices
	}
	return nil
}

// Ответ на запрос на изменение состояния устройства
type PostCommandResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*PostCommandResponse) ProtoMessage() {}

func (x *PostCommandResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_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 PostCommandResponse.ProtoReflect.Descriptor instead.
func (*PostCommandResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescGZIP(), []int{3}
}

// Значение команды на изменение статуса устройства
type DeviceCommand_Value struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип значения команды на изменение статуса устройства
	Type DeviceCommand_Value_Type `protobuf:"varint,1,opt,name=type,proto3,enum=keyapis.iot_connect_sber.v1.DeviceCommand_Value_Type" json:"type,omitempty"`
	// Значение команды на изменение статуса устройства
	//
	// Types that are assignable to Value:
	//
	//	*DeviceCommand_Value_ValueEnumType_
	Value isDeviceCommand_Value_Value `protobuf_oneof:"value"`
}

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

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

func (*DeviceCommand_Value) ProtoMessage() {}

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

func (x *DeviceCommand_Value) GetType() DeviceCommand_Value_Type {
	if x != nil {
		return x.Type
	}
	return DeviceCommand_Value_TYPE_UNKNOWN
}

func (m *DeviceCommand_Value) GetValue() isDeviceCommand_Value_Value {
	if m != nil {
		return m.Value
	}
	return nil
}

func (x *DeviceCommand_Value) GetValueEnumType() DeviceCommand_Value_ValueEnumType {
	if x, ok := x.GetValue().(*DeviceCommand_Value_ValueEnumType_); ok {
		return x.ValueEnumType
	}
	return DeviceCommand_Value_VALUE_ENUM_TYPE_UNKNOWN
}

type isDeviceCommand_Value_Value interface {
	isDeviceCommand_Value_Value()
}

type DeviceCommand_Value_ValueEnumType_ struct {
	// Значения команды на изменение статуса устройства типа перечисление
	ValueEnumType DeviceCommand_Value_ValueEnumType `protobuf:"varint,2,opt,name=value_enum_type,json=enum_value,proto3,enum=keyapis.iot_connect_sber.v1.DeviceCommand_Value_ValueEnumType,oneof"`
}

func (*DeviceCommand_Value_ValueEnumType_) isDeviceCommand_Value_Value() {}

var File_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto protoreflect.FileDescriptor

var file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDesc = []byte{
	0x0a, 0x40, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f,
	0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
	0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f,
	0x74, 0x6f, 0x12, 0x1b, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f,
	0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 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, 0x22, 0x58, 0x0a,
	0x12, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x41, 0x72,
	0x72, 0x61, 0x79, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20,
	0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f,
	0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76,
	0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52,
	0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x97, 0x04, 0x0a, 0x0d, 0x44, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x51, 0x0a, 0x10, 0x63, 0x6f, 0x6d,
	0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f,
	0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76,
	0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
	0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x05,
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
	0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
	0x61, 0x6c, 0x75, 0x65, 0x1a, 0xac, 0x02, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49,
	0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
	0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x54,
	0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0f, 0x76, 0x61, 0x6c,
	0x75, 0x65, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74,
	0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31,
	0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x56,
	0x61, 0x6c, 0x75, 0x65, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79,
	0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
	0x22, 0x22, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45,
	0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x45, 0x4e,
	0x55, 0x4d, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x75,
	0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x45,
	0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
	0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x0a,
	0x0a, 0x06, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61,
	0x6c, 0x75, 0x65, 0x22, 0x3c, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
	0x0a, 0x10, 0x4b, 0x45, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
	0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x43,
	0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x10,
	0x02, 0x22, 0xd9, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
	0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x07, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f,
	0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d,
	0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
	0x1a, 0x6b, 0x0a, 0x0c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
	0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f,
	0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
	0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x41, 0x72, 0x72,
	0x61, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x15, 0x0a,
	0x13, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb0, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9d, 0x01, 0x0a, 0x0b, 0x50, 0x6f, 0x73, 0x74,
	0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x2f, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x62,
	0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
	0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x73,
	0x62, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
	0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93,
	0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e,
	0x65, 0x63, 0x74, 0x5f, 0x73, 0x62, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f,
	0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0xb8, 0x01, 0x0a, 0x19, 0x72, 0x75, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
	0x63, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x49, 0x6f,
	0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x56, 0x31, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48,
	0x03, 0x50, 0x00, 0x5a, 0x17, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x6f,
	0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x76, 0x31, 0xd8, 0x01, 0x01, 0xf8,
	0x01, 0x01, 0xa2, 0x02, 0x13, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x49, 0x4f, 0x54, 0x43,
	0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x56, 0x31, 0xaa, 0x02, 0x15, 0x4b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x49, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x31,
	0xca, 0x02, 0x15, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x49, 0x6f, 0x74, 0x43, 0x6f,
	0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x17, 0x4b, 0x65, 0x79, 0x61, 0x70,
	0x69, 0x73, 0x3a, 0x3a, 0x49, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x3a, 0x3a,
	0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescOnce sync.Once
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescData = file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDesc
)

func file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescGZIP() []byte {
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescData)
	})
	return file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDescData
}

var file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_goTypes = []interface{}{
	(DeviceCommand_KeyType)(0),             // 0: keyapis.iot_connect_sber.v1.DeviceCommand.KeyType
	(DeviceCommand_Value_Type)(0),          // 1: keyapis.iot_connect_sber.v1.DeviceCommand.Value.Type
	(DeviceCommand_Value_ValueEnumType)(0), // 2: keyapis.iot_connect_sber.v1.DeviceCommand.Value.ValueEnumType
	(*DeviceCommandArray)(nil),             // 3: keyapis.iot_connect_sber.v1.DeviceCommandArray
	(*DeviceCommand)(nil),                  // 4: keyapis.iot_connect_sber.v1.DeviceCommand
	(*PostCommandRequest)(nil),             // 5: keyapis.iot_connect_sber.v1.PostCommandRequest
	(*PostCommandResponse)(nil),            // 6: keyapis.iot_connect_sber.v1.PostCommandResponse
	(*DeviceCommand_Value)(nil),            // 7: keyapis.iot_connect_sber.v1.DeviceCommand.Value
	nil,                                    // 8: keyapis.iot_connect_sber.v1.PostCommandRequest.DevicesEntry
}
var file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_depIdxs = []int32{
	4, // 0: keyapis.iot_connect_sber.v1.DeviceCommandArray.states:type_name -> keyapis.iot_connect_sber.v1.DeviceCommand
	0, // 1: keyapis.iot_connect_sber.v1.DeviceCommand.command_key_type:type_name -> keyapis.iot_connect_sber.v1.DeviceCommand.KeyType
	7, // 2: keyapis.iot_connect_sber.v1.DeviceCommand.value:type_name -> keyapis.iot_connect_sber.v1.DeviceCommand.Value
	8, // 3: keyapis.iot_connect_sber.v1.PostCommandRequest.devices:type_name -> keyapis.iot_connect_sber.v1.PostCommandRequest.DevicesEntry
	1, // 4: keyapis.iot_connect_sber.v1.DeviceCommand.Value.type:type_name -> keyapis.iot_connect_sber.v1.DeviceCommand.Value.Type
	2, // 5: keyapis.iot_connect_sber.v1.DeviceCommand.Value.value_enum_type:type_name -> keyapis.iot_connect_sber.v1.DeviceCommand.Value.ValueEnumType
	3, // 6: keyapis.iot_connect_sber.v1.PostCommandRequest.DevicesEntry.value:type_name -> keyapis.iot_connect_sber.v1.DeviceCommandArray
	5, // 7: keyapis.iot_connect_sber.v1.CommandService.PostCommand:input_type -> keyapis.iot_connect_sber.v1.PostCommandRequest
	6, // 8: keyapis.iot_connect_sber.v1.CommandService.PostCommand:output_type -> keyapis.iot_connect_sber.v1.PostCommandResponse
	8, // [8:9] is the sub-list for method output_type
	7, // [7:8] 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_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_init() }
func file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_init() {
	if File_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeviceCommandArray); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeviceCommand); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCommandRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostCommandResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeviceCommand_Value); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*DeviceCommand_Value_ValueEnumType_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDesc,
			NumEnums:      3,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_depIdxs,
		EnumInfos:         file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_enumTypes,
		MessageInfos:      file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_msgTypes,
	}.Build()
	File_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto = out.File
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_rawDesc = nil
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_goTypes = nil
	file_keyapis_iot_connect_sber_v1_keyapis_iot_connect_command_v1_proto_depIdxs = nil
}
