//
//Сервис считывателей

// 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_reader_v1.proto

package deviceapis_device_v1

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 Reader_DirectionType int32

const (
	// Значение не указано
	Reader_DIRECTION_TYPE_UNKNOWN Reader_DirectionType = 0
	// Вход
	Reader_IN Reader_DirectionType = 1
	// Выход
	Reader_OUT Reader_DirectionType = 2
)

// Enum value maps for Reader_DirectionType.
var (
	Reader_DirectionType_name = map[int32]string{
		0: "DIRECTION_TYPE_UNKNOWN",
		1: "IN",
		2: "OUT",
	}
	Reader_DirectionType_value = map[string]int32{
		"DIRECTION_TYPE_UNKNOWN": 0,
		"IN":                     1,
		"OUT":                    2,
	}
)

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

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

func (Reader_DirectionType) Descriptor() protoreflect.EnumDescriptor {
	return file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_enumTypes[0].Descriptor()
}

func (Reader_DirectionType) Type() protoreflect.EnumType {
	return &file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_enumTypes[0]
}

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

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

// Запрос редактирования считывателя
type EditReaderRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Считыватель
	Data *Reader `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Маска полей обновления
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}

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

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

func (*EditReaderRequest) ProtoMessage() {}

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

func (x *EditReaderRequest) GetData() *Reader {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *EditReaderRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// Ответ на запрос редактирования считывателя
type EditReaderResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*EditReaderResponse_Error_
	Type isEditReaderResponse_Type `protobuf_oneof:"type"`
}

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

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

func (*EditReaderResponse) ProtoMessage() {}

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

func (m *EditReaderResponse) GetType() isEditReaderResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *EditReaderResponse) GetError() *EditReaderResponse_Error {
	if x, ok := x.GetType().(*EditReaderResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isEditReaderResponse_Type interface {
	isEditReaderResponse_Type()
}

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

func (*EditReaderResponse_Error_) isEditReaderResponse_Type() {}

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

	// Идентификатор.
	// id=100 - Считыватель внутренний.
	// id=1 - Считыватель внешний №1.
	// id=2 - Считыватель внешний №2 и тд
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

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

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

func (*GetReaderRequest) ProtoMessage() {}

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

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

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

	// Тип ответа
	//
	// Types that are assignable to Type:
	//
	//	*GetReaderResponse_Data
	Type isGetReaderResponse_Type `protobuf_oneof:"type"`
}

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

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

func (*GetReaderResponse) ProtoMessage() {}

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

func (m *GetReaderResponse) GetType() isGetReaderResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetReaderResponse) GetData() *Reader {
	if x, ok := x.GetType().(*GetReaderResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetReaderResponse_Type interface {
	isGetReaderResponse_Type()
}

type GetReaderResponse_Data struct {
	// Считыватель
	Data *Reader `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetReaderResponse_Data) isGetReaderResponse_Type() {}

// Считыватель
type Reader struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор.
	// id=100 - Считыватель внутренний.
	// id=1 - Считыватель внешний №1.
	// id=2 - Считыватель внешний №2 и тд
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Список идентификаторов профилей шифрования
	EncryptionProfileIds []int32 `protobuf:"varint,2,rep,packed,name=encryption_profile_ids,json=encryptionProfileIds,proto3" json:"encryption_profile_ids,omitempty"`
	// Список идентификаторов реле.
	// Диапазон: 1..64
	RelayIndexes []int32 `protobuf:"varint,3,rep,packed,name=relay_indexes,json=relayIndexes,proto3" json:"relay_indexes,omitempty"`
	// Считыватель работает не в безопасном режиме (по UID)
	IsNoneSecureMode bool `protobuf:"varint,4,opt,name=is_none_secure_mode,json=isNoneSecureMode,proto3" json:"is_none_secure_mode,omitempty"`
	// Направление
	DirectionType Reader_DirectionType `protobuf:"varint,5,opt,name=direction_type,json=directionType,proto3,enum=deviceapis.device.v1.Reader_DirectionType" json:"direction_type,omitempty"`
}

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

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

func (*Reader) ProtoMessage() {}

func (x *Reader) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_reader_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 Reader.ProtoReflect.Descriptor instead.
func (*Reader) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescGZIP(), []int{4}
}

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

func (x *Reader) GetEncryptionProfileIds() []int32 {
	if x != nil {
		return x.EncryptionProfileIds
	}
	return nil
}

func (x *Reader) GetRelayIndexes() []int32 {
	if x != nil {
		return x.RelayIndexes
	}
	return nil
}

func (x *Reader) GetIsNoneSecureMode() bool {
	if x != nil {
		return x.IsNoneSecureMode
	}
	return false
}

func (x *Reader) GetDirectionType() Reader_DirectionType {
	if x != nil {
		return x.DirectionType
	}
	return Reader_DIRECTION_TYPE_UNKNOWN
}

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

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

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

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

func (*EditReaderResponse_Error) ProtoMessage() {}

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

func (m *EditReaderResponse_Error) GetReason() isEditReaderResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

func (x *EditReaderResponse_Error) GetSaving() *Reader_SavingError {
	if x, ok := x.GetReason().(*EditReaderResponse_Error_Saving); ok {
		return x.Saving
	}
	return nil
}

type isEditReaderResponse_Error_Reason interface {
	isEditReaderResponse_Error_Reason()
}

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

type EditReaderResponse_Error_Saving struct {
	// Ошибка сохранения
	Saving *Reader_SavingError `protobuf:"bytes,2,opt,name=saving,proto3,oneof"`
}

func (*EditReaderResponse_Error_Validation) isEditReaderResponse_Error_Reason() {}

func (*EditReaderResponse_Error_Saving) isEditReaderResponse_Error_Reason() {}

// Ошибки сохранения
type Reader_SavingError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*Reader_SavingError_ReaderNotFound_
	//	*Reader_SavingError_ProfileIsNotSupported_
	//	*Reader_SavingError_ProfileNotFound_
	Reason isReader_SavingError_Reason `protobuf_oneof:"reason"`
}

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

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

func (*Reader_SavingError) ProtoMessage() {}

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

func (m *Reader_SavingError) GetReason() isReader_SavingError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *Reader_SavingError) GetReaderNotFound() *Reader_SavingError_ReaderNotFound {
	if x, ok := x.GetReason().(*Reader_SavingError_ReaderNotFound_); ok {
		return x.ReaderNotFound
	}
	return nil
}

func (x *Reader_SavingError) GetProfileIsNotSupported() *Reader_SavingError_ProfileIsNotSupported {
	if x, ok := x.GetReason().(*Reader_SavingError_ProfileIsNotSupported_); ok {
		return x.ProfileIsNotSupported
	}
	return nil
}

func (x *Reader_SavingError) GetProfileNotFound() *Reader_SavingError_ProfileNotFound {
	if x, ok := x.GetReason().(*Reader_SavingError_ProfileNotFound_); ok {
		return x.ProfileNotFound
	}
	return nil
}

type isReader_SavingError_Reason interface {
	isReader_SavingError_Reason()
}

type Reader_SavingError_ReaderNotFound_ struct {
	// Считыватель не найден
	ReaderNotFound *Reader_SavingError_ReaderNotFound `protobuf:"bytes,1,opt,name=reader_not_found,json=readerNotFound,proto3,oneof"`
}

type Reader_SavingError_ProfileIsNotSupported_ struct {
	// Профиль не поддерживается для этого считывателя
	ProfileIsNotSupported *Reader_SavingError_ProfileIsNotSupported `protobuf:"bytes,2,opt,name=profile_is_not_supported,json=profileIsNotSupported,proto3,oneof"`
}

type Reader_SavingError_ProfileNotFound_ struct {
	// Выбранный профиль не найден
	ProfileNotFound *Reader_SavingError_ProfileNotFound `protobuf:"bytes,3,opt,name=profile_not_found,json=profileNotFound,proto3,oneof"`
}

func (*Reader_SavingError_ReaderNotFound_) isReader_SavingError_Reason() {}

func (*Reader_SavingError_ProfileIsNotSupported_) isReader_SavingError_Reason() {}

func (*Reader_SavingError_ProfileNotFound_) isReader_SavingError_Reason() {}

// Профиль не поддерживается для этого считывателя
type Reader_SavingError_ProfileIsNotSupported struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Список идентификаторов профилей, которые не поддерживаются на считывателе
	ProfileIds []int32 `protobuf:"varint,1,rep,packed,name=profile_ids,json=profileIds,proto3" json:"profile_ids,omitempty"`
}

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

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

func (*Reader_SavingError_ProfileIsNotSupported) ProtoMessage() {}

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

func (x *Reader_SavingError_ProfileIsNotSupported) GetProfileIds() []int32 {
	if x != nil {
		return x.ProfileIds
	}
	return nil
}

// Выбранный профиль не найден
type Reader_SavingError_ProfileNotFound struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*Reader_SavingError_ProfileNotFound) ProtoMessage() {}

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

// Считыватель не найден
type Reader_SavingError_ReaderNotFound struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*Reader_SavingError_ReaderNotFound) ProtoMessage() {}

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

var File_deviceapis_device_v1_deviceapis_device_reader_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDesc = []byte{
	0x0a, 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, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 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, 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, 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, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
	0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x11, 0x45, 0x64, 0x69, 0x74,
	0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04,
	0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
	0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
	0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
	0x6b, 0x22, 0x85, 0x02, 0x0a, 0x12, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72,
	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f,
	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45,
	0x64, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
	0x1a, 0x9e, 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, 0x42, 0x0a, 0x06, 0x73, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x65,
	0x72, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52,
	0x06, 0x73, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f,
	0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x27, 0x0a, 0x10, 0x47, 0x65, 0x74,
	0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x13, 0x0a,
	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02,
	0x69, 0x64, 0x22, 0x4f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
	0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61,
	0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74,
	0x79, 0x70, 0x65, 0x22, 0x88, 0x06, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x13,
	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
	0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, 0x16, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20,
	0x03, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70,
	0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x28,
	0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18,
	0x03, 0x20, 0x03, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61,
	0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x6e,
	0x6f, 0x6e, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18,
	0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x69, 0x73, 0x4e, 0x6f,
	0x6e, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x51, 0x0a, 0x0e,
	0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64,
	0x65, 0x72, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
	0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x1a,
	0xbe, 0x03, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12,
	0x63, 0x0a, 0x10, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f,
	0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x2e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72,
	0x72, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75,
	0x6e, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x74, 0x46,
	0x6f, 0x75, 0x6e, 0x64, 0x12, 0x79, 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
	0x69, 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64,
	0x18, 0x02, 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, 0x52, 0x65,
	0x61, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x73, 0x4e, 0x6f, 0x74, 0x53, 0x75, 0x70,
	0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
	0x65, 0x49, 0x73, 0x4e, 0x6f, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12,
	0x66, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66,
	0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x46,
	0x6f, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e,
	0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x38, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x66, 0x69,
	0x6c, 0x65, 0x49, 0x73, 0x4e, 0x6f, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64,
	0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18,
	0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64,
	0x73, 0x1a, 0x11, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x6f, 0x74, 0x46,
	0x6f, 0x75, 0x6e, 0x64, 0x1a, 0x10, 0x0a, 0x0e, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4e, 0x6f,
	0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
	0x22, 0x3c, 0x0a, 0x0d, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
	0x65, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x06, 0x0a,
	0x02, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x32, 0xa3,
	0x02, 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
	0x12, 0x8e, 0x01, 0x0a, 0x0a, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
	0x27, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65,
	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
	0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x04, 0x64, 0x61, 0x74, 0x61,
	0x32, 0x1f, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
	0x2f, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x69, 0x64,
	0x7d, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
	0x26, 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, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 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, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2f,
	0x7b, 0x69, 0x64, 0x7d, 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_reader_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_goTypes = []interface{}{
	(Reader_DirectionType)(0),                        // 0: deviceapis.device.v1.Reader.DirectionType
	(*EditReaderRequest)(nil),                        // 1: deviceapis.device.v1.EditReaderRequest
	(*EditReaderResponse)(nil),                       // 2: deviceapis.device.v1.EditReaderResponse
	(*GetReaderRequest)(nil),                         // 3: deviceapis.device.v1.GetReaderRequest
	(*GetReaderResponse)(nil),                        // 4: deviceapis.device.v1.GetReaderResponse
	(*Reader)(nil),                                   // 5: deviceapis.device.v1.Reader
	(*EditReaderResponse_Error)(nil),                 // 6: deviceapis.device.v1.EditReaderResponse.Error
	(*Reader_SavingError)(nil),                       // 7: deviceapis.device.v1.Reader.SavingError
	(*Reader_SavingError_ProfileIsNotSupported)(nil), // 8: deviceapis.device.v1.Reader.SavingError.ProfileIsNotSupported
	(*Reader_SavingError_ProfileNotFound)(nil),       // 9: deviceapis.device.v1.Reader.SavingError.ProfileNotFound
	(*Reader_SavingError_ReaderNotFound)(nil),        // 10: deviceapis.device.v1.Reader.SavingError.ReaderNotFound
	(*fieldmaskpb.FieldMask)(nil),                    // 11: google.protobuf.FieldMask
	(*ValidationError)(nil),                          // 12: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_depIdxs = []int32{
	5,  // 0: deviceapis.device.v1.EditReaderRequest.data:type_name -> deviceapis.device.v1.Reader
	11, // 1: deviceapis.device.v1.EditReaderRequest.update_mask:type_name -> google.protobuf.FieldMask
	6,  // 2: deviceapis.device.v1.EditReaderResponse.error:type_name -> deviceapis.device.v1.EditReaderResponse.Error
	5,  // 3: deviceapis.device.v1.GetReaderResponse.data:type_name -> deviceapis.device.v1.Reader
	0,  // 4: deviceapis.device.v1.Reader.direction_type:type_name -> deviceapis.device.v1.Reader.DirectionType
	12, // 5: deviceapis.device.v1.EditReaderResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	7,  // 6: deviceapis.device.v1.EditReaderResponse.Error.saving:type_name -> deviceapis.device.v1.Reader.SavingError
	10, // 7: deviceapis.device.v1.Reader.SavingError.reader_not_found:type_name -> deviceapis.device.v1.Reader.SavingError.ReaderNotFound
	8,  // 8: deviceapis.device.v1.Reader.SavingError.profile_is_not_supported:type_name -> deviceapis.device.v1.Reader.SavingError.ProfileIsNotSupported
	9,  // 9: deviceapis.device.v1.Reader.SavingError.profile_not_found:type_name -> deviceapis.device.v1.Reader.SavingError.ProfileNotFound
	1,  // 10: deviceapis.device.v1.ReaderService.EditReader:input_type -> deviceapis.device.v1.EditReaderRequest
	3,  // 11: deviceapis.device.v1.ReaderService.GetReader:input_type -> deviceapis.device.v1.GetReaderRequest
	2,  // 12: deviceapis.device.v1.ReaderService.EditReader:output_type -> deviceapis.device.v1.EditReaderResponse
	4,  // 13: deviceapis.device.v1.ReaderService.GetReader:output_type -> deviceapis.device.v1.GetReaderResponse
	12, // [12:14] is the sub-list for method output_type
	10, // [10:12] is the sub-list for method input_type
	10, // [10:10] is the sub-list for extension type_name
	10, // [10:10] is the sub-list for extension extendee
	0,  // [0:10] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_reader_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditReaderRequest); 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_reader_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditReaderResponse); 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_reader_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetReaderRequest); 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_reader_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetReaderResponse); 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_reader_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Reader); 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_reader_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*EditReaderResponse_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_reader_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Reader_SavingError); 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_reader_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Reader_SavingError_ProfileIsNotSupported); 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_reader_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Reader_SavingError_ProfileNotFound); 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_reader_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Reader_SavingError_ReaderNotFound); 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_reader_v1_proto_msgTypes[1].OneofWrappers = []interface{}{
		(*EditReaderResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*GetReaderResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*EditReaderResponse_Error_Validation)(nil),
		(*EditReaderResponse_Error_Saving)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*Reader_SavingError_ReaderNotFound_)(nil),
		(*Reader_SavingError_ProfileIsNotSupported_)(nil),
		(*Reader_SavingError_ProfileNotFound_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   10,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_depIdxs,
		EnumInfos:         file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_enumTypes,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_reader_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_reader_v1_proto_depIdxs = nil
}
