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

// 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_code_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)
)

// Код доступа
type Code struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Код доступа
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// Описание
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Идентификаторы реле.
	// Диапазон: 1..64
	RelayIndexes []int32 `protobuf:"varint,3,rep,packed,name=relay_indexes,json=relayIndexes,proto3" json:"relay_indexes,omitempty"`
}

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

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

func (*Code) ProtoMessage() {}

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

func (x *Code) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (x *Code) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

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

// Постраничный вывод
type CodePaging struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Количество записей на страницу.
	// Если значение 0 (не передано), то будет взято значение по умолчанию.
	// # Диапазон: 0..100.
	// # По умолчанию: 20
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Сдвиг.
	// # Диапазон: 0..2147483647
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
}

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

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

func (*CodePaging) ProtoMessage() {}

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

func (x *CodePaging) GetLimit() int32 {
	if x != nil {
		return x.Limit
	}
	return 0
}

func (x *CodePaging) GetOffset() int32 {
	if x != nil {
		return x.Offset
	}
	return 0
}

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

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

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

func (*DeleteCodeListRequest) ProtoMessage() {}

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

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

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

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

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

func (*DeleteCodeListResponse) ProtoMessage() {}

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

func (m *DeleteCodeListResponse) GetType() isDeleteCodeListResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *DeleteCodeListResponse) GetData() int32 {
	if x, ok := x.GetType().(*DeleteCodeListResponse_Data); ok {
		return x.Data
	}
	return 0
}

type isDeleteCodeListResponse_Type interface {
	isDeleteCodeListResponse_Type()
}

type DeleteCodeListResponse_Data struct {
	// Всего количество удаленных
	Data int32 `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

func (*DeleteCodeListResponse_Data) isDeleteCodeListResponse_Type() {}

// Запрос удаления одного кода доступа
type DeleteCodeRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Код доступа
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
}

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

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

func (*DeleteCodeRequest) ProtoMessage() {}

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

func (x *DeleteCodeRequest) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

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

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

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

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

func (*DeleteCodeResponse) ProtoMessage() {}

func (x *DeleteCodeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_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 DeleteCodeResponse.ProtoReflect.Descriptor instead.
func (*DeleteCodeResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{5}
}

func (m *DeleteCodeResponse) GetType() isDeleteCodeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *DeleteCodeResponse) GetError() *DeleteCodeResponse_Error {
	if x, ok := x.GetType().(*DeleteCodeResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isDeleteCodeResponse_Type interface {
	isDeleteCodeResponse_Type()
}

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

func (*DeleteCodeResponse_Error_) isDeleteCodeResponse_Type() {}

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

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

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

func (*GetCodeCountRequest) ProtoMessage() {}

func (x *GetCodeCountRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_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 GetCodeCountRequest.ProtoReflect.Descriptor instead.
func (*GetCodeCountRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{6}
}

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

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

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

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

func (*GetCodeCountResponse) ProtoMessage() {}

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

func (m *GetCodeCountResponse) GetType() isGetCodeCountResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetCodeCountResponse) GetData() int32 {
	if x, ok := x.GetType().(*GetCodeCountResponse_Data); ok {
		return x.Data
	}
	return 0
}

type isGetCodeCountResponse_Type interface {
	isGetCodeCountResponse_Type()
}

type GetCodeCountResponse_Data struct {
	// Всего количество
	Data int32 `protobuf:"varint,1,opt,name=data,proto3,oneof"`
}

func (*GetCodeCountResponse_Data) isGetCodeCountResponse_Type() {}

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

	// Вариант разбиения на страницы
	//
	// Types that are assignable to Pagination:
	//
	//	*GetCodeListRequest_Paging
	Pagination isGetCodeListRequest_Pagination `protobuf_oneof:"pagination"`
}

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

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

func (*GetCodeListRequest) ProtoMessage() {}

func (x *GetCodeListRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_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 GetCodeListRequest.ProtoReflect.Descriptor instead.
func (*GetCodeListRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{8}
}

func (m *GetCodeListRequest) GetPagination() isGetCodeListRequest_Pagination {
	if m != nil {
		return m.Pagination
	}
	return nil
}

func (x *GetCodeListRequest) GetPaging() *CodePaging {
	if x, ok := x.GetPagination().(*GetCodeListRequest_Paging); ok {
		return x.Paging
	}
	return nil
}

type isGetCodeListRequest_Pagination interface {
	isGetCodeListRequest_Pagination()
}

type GetCodeListRequest_Paging struct {
	// Постраничный вывод
	Paging *CodePaging `protobuf:"bytes,1,opt,name=paging,proto3,oneof"`
}

func (*GetCodeListRequest_Paging) isGetCodeListRequest_Pagination() {}

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

	// Список Code
	Data []*Code `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

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

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

func (*GetCodeListResponse) ProtoMessage() {}

func (x *GetCodeListResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_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 GetCodeListResponse.ProtoReflect.Descriptor instead.
func (*GetCodeListResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{9}
}

func (x *GetCodeListResponse) GetData() []*Code {
	if x != nil {
		return x.Data
	}
	return nil
}

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

	// Код доступа
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
}

func (x *GetCodeRequest) Reset() {
	*x = GetCodeRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetCodeRequest) ProtoMessage() {}

func (x *GetCodeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[10]
	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 GetCodeRequest.ProtoReflect.Descriptor instead.
func (*GetCodeRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{10}
}

func (x *GetCodeRequest) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

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

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

func (x *GetCodeResponse) Reset() {
	*x = GetCodeResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[11]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*GetCodeResponse) ProtoMessage() {}

func (x *GetCodeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[11]
	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 GetCodeResponse.ProtoReflect.Descriptor instead.
func (*GetCodeResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{11}
}

func (m *GetCodeResponse) GetType() isGetCodeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetCodeResponse) GetData() *Code {
	if x, ok := x.GetType().(*GetCodeResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetCodeResponse_Type interface {
	isGetCodeResponse_Type()
}

type GetCodeResponse_Data struct {
	// Код доступа
	Data *Code `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetCodeResponse_Data) isGetCodeResponse_Type() {}

// Запрос на создание списка кодов доступа
type SaveCodeListRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Список Code
	Data []*Code `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}

func (x *SaveCodeListRequest) Reset() {
	*x = SaveCodeListRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[12]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeListRequest) ProtoMessage() {}

func (x *SaveCodeListRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[12]
	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 SaveCodeListRequest.ProtoReflect.Descriptor instead.
func (*SaveCodeListRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{12}
}

func (x *SaveCodeListRequest) GetData() []*Code {
	if x != nil {
		return x.Data
	}
	return nil
}

// Ответ на создание списка кодов доступа
type SaveCodeListResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Список Code
	Data []*Code `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// Список ошибок
	Errors []*SaveCodeListResponse_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
}

func (x *SaveCodeListResponse) Reset() {
	*x = SaveCodeListResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[13]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeListResponse) ProtoMessage() {}

func (x *SaveCodeListResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[13]
	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 SaveCodeListResponse.ProtoReflect.Descriptor instead.
func (*SaveCodeListResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{13}
}

func (x *SaveCodeListResponse) GetData() []*Code {
	if x != nil {
		return x.Data
	}
	return nil
}

func (x *SaveCodeListResponse) GetErrors() []*SaveCodeListResponse_Error {
	if x != nil {
		return x.Errors
	}
	return nil
}

// Запрос создания кода доступа
type SaveCodeRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Код доступа
	Data *Code `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (x *SaveCodeRequest) Reset() {
	*x = SaveCodeRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[14]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeRequest) ProtoMessage() {}

func (x *SaveCodeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[14]
	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 SaveCodeRequest.ProtoReflect.Descriptor instead.
func (*SaveCodeRequest) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{14}
}

func (x *SaveCodeRequest) GetData() *Code {
	if x != nil {
		return x.Data
	}
	return nil
}

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

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

func (x *SaveCodeResponse) Reset() {
	*x = SaveCodeResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[15]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeResponse) ProtoMessage() {}

func (x *SaveCodeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[15]
	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 SaveCodeResponse.ProtoReflect.Descriptor instead.
func (*SaveCodeResponse) Descriptor() ([]byte, []int) {
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP(), []int{15}
}

func (m *SaveCodeResponse) GetType() isSaveCodeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *SaveCodeResponse) GetData() *Code {
	if x, ok := x.GetType().(*SaveCodeResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *SaveCodeResponse) GetError() *SaveCodeResponse_Error {
	if x, ok := x.GetType().(*SaveCodeResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isSaveCodeResponse_Type interface {
	isSaveCodeResponse_Type()
}

type SaveCodeResponse_Data struct {
	// Код доступа
	Data *Code `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*SaveCodeResponse_Data) isSaveCodeResponse_Type() {}

func (*SaveCodeResponse_Error_) isSaveCodeResponse_Type() {}

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

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

func (x *Code_SavingError) Reset() {
	*x = Code_SavingError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[16]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*Code_SavingError) ProtoMessage() {}

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

func (m *Code_SavingError) GetReason() isCode_SavingError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *Code_SavingError) GetRelayNotFound() *Code_SavingError_RelayNotFound {
	if x, ok := x.GetReason().(*Code_SavingError_RelayNotFound_); ok {
		return x.RelayNotFound
	}
	return nil
}

type isCode_SavingError_Reason interface {
	isCode_SavingError_Reason()
}

type Code_SavingError_RelayNotFound_ struct {
	// Реле не найдено
	RelayNotFound *Code_SavingError_RelayNotFound `protobuf:"bytes,1,opt,name=relay_not_found,json=relayNotFound,proto3,oneof"`
}

func (*Code_SavingError_RelayNotFound_) isCode_SavingError_Reason() {}

// Реле не найдено
type Code_SavingError_RelayNotFound struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *Code_SavingError_RelayNotFound) Reset() {
	*x = Code_SavingError_RelayNotFound{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[17]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*Code_SavingError_RelayNotFound) ProtoMessage() {}

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

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

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

func (x *DeleteCodeResponse_Error) Reset() {
	*x = DeleteCodeResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[18]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*DeleteCodeResponse_Error) ProtoMessage() {}

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

func (m *DeleteCodeResponse_Error) GetReason() isDeleteCodeResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

type isDeleteCodeResponse_Error_Reason interface {
	isDeleteCodeResponse_Error_Reason()
}

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

func (*DeleteCodeResponse_Error_Validation) isDeleteCodeResponse_Error_Reason() {}

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

	// Код доступа
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*SaveCodeListResponse_Error_Validation
	//	*SaveCodeListResponse_Error_Saving
	Reason isSaveCodeListResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *SaveCodeListResponse_Error) Reset() {
	*x = SaveCodeListResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[19]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeListResponse_Error) ProtoMessage() {}

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

func (x *SaveCodeListResponse_Error) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (m *SaveCodeListResponse_Error) GetReason() isSaveCodeListResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

func (x *SaveCodeListResponse_Error) GetSaving() *Code_SavingError {
	if x, ok := x.GetReason().(*SaveCodeListResponse_Error_Saving); ok {
		return x.Saving
	}
	return nil
}

type isSaveCodeListResponse_Error_Reason interface {
	isSaveCodeListResponse_Error_Reason()
}

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

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

func (*SaveCodeListResponse_Error_Validation) isSaveCodeListResponse_Error_Reason() {}

func (*SaveCodeListResponse_Error_Saving) isSaveCodeListResponse_Error_Reason() {}

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

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

func (x *SaveCodeResponse_Error) Reset() {
	*x = SaveCodeResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[20]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*SaveCodeResponse_Error) ProtoMessage() {}

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

func (m *SaveCodeResponse_Error) GetReason() isSaveCodeResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

func (x *SaveCodeResponse_Error) GetSaving() *Code_SavingError {
	if x, ok := x.GetReason().(*SaveCodeResponse_Error_Saving); ok {
		return x.Saving
	}
	return nil
}

type isSaveCodeResponse_Error_Reason interface {
	isSaveCodeResponse_Error_Reason()
}

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

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

func (*SaveCodeResponse_Error_Validation) isSaveCodeResponse_Error_Reason() {}

func (*SaveCodeResponse_Error_Saving) isSaveCodeResponse_Error_Reason() {}

var File_deviceapis_device_v1_deviceapis_device_code_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDesc = []byte{
	0x0a, 0x34, 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, 0x64, 0x65, 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, 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, 0x22, 0x96, 0x02, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x04,
	0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0x92, 0x41, 0x0a, 0x4a,
	0x06, 0x34, 0x35, 0x36, 0x37, 0x37, 0x38, 0x78, 0x64, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63, 0x6f,
	0x64, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
	0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0x92, 0x41, 0x13, 0x4a, 0x0f, 0x22, 0xd0,
	0x9d, 0xd0, 0xbe, 0xd0, 0xbc, 0xd0, 0xb5, 0xd1, 0x80, 0x20, 0x34, 0x35, 0x22, 0x78, 0x64, 0x52,
	0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d,
	0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x03, 0x20,
	0x03, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65,
	0x73, 0x1a, 0x88, 0x01, 0x0a, 0x0b, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x12, 0x5e, 0x0a, 0x0f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66,
	0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x2e, 0x53, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72,
	0x6f, 0x72, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64,
	0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e,
	0x64, 0x1a, 0x0f, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75,
	0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x3a, 0x0a, 0x0a,
	0x43, 0x6f, 0x64, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
	0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
	0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
	0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65,
	0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x22, 0x36, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64,
	0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74,
	0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x39, 0x0a, 0x11, 0x44, 0x65, 0x6c,
	0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24,
	0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0x92, 0x41,
	0x0a, 0x4a, 0x06, 0x34, 0x35, 0x36, 0x37, 0x37, 0x38, 0x78, 0x64, 0xe0, 0x41, 0x02, 0x52, 0x04,
	0x63, 0x6f, 0x64, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
	0x6f, 0x64, 0x65, 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, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70,
	0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72,
	0x72, 0x6f, 0x72, 0x1a, 0x5a, 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, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42,
	0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f,
	0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x34,
	0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04,
	0x74, 0x79, 0x70, 0x65, 0x22, 0x5e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61,
	0x67, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x06,
	0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
	0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x4c,
	0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x64,
	0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31,
	0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x36, 0x0a, 0x0e, 0x47,
	0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a,
	0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0x92, 0x41, 0x0a,
	0x4a, 0x06, 0x34, 0x35, 0x36, 0x37, 0x37, 0x38, 0x78, 0x64, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63,
	0x6f, 0x64, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65,
	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65,
	0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
	0x22, 0x45, 0x0a, 0x13, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70,
	0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64,
	0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd5, 0x02, 0x0a, 0x14, 0x53, 0x61, 0x76, 0x65,
	0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
	0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
	0x12, 0x48, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
	0x32, 0x30, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65,
	0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72,
	0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0xc2, 0x01, 0x0a, 0x05, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x10, 0x92, 0x41, 0x0a, 0x4a, 0x06, 0x34, 0x35, 0x36, 0x37, 0x37, 0x38, 0x78,
	0x64, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x76, 0x61,
	0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 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, 0x40, 0x0a, 0x06, 0x73, 0x61, 0x76, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 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, 0x22,
	0x46, 0x0a, 0x0f, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41,
	0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb1, 0x02, 0x0a, 0x10, 0x53, 0x61, 0x76, 0x65,
	0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04,
	0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x44,
	0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65,
	0x72, 0x72, 0x6f, 0x72, 0x1a, 0x9c, 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, 0x40, 0x0a, 0x06, 0x73, 0x61, 0x76, 0x69, 0x6e,
	0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
	0x6f, 0x64, 0x65, 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, 0x32, 0xb9, 0x07, 0x0a, 0x0b,
	0x43, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0a,
	0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x2e, 0x64, 0x65, 0x76,
	0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76,
	0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 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, 0x44, 0x65, 0x6c, 0x65, 0x74,
	0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82,
	0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x2a, 0x1a, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x7b, 0x63, 0x6f, 0x64, 0x65,
	0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65,
	0x4c, 0x69, 0x73, 0x74, 0x12, 0x2b, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
	0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
	0x74, 0x1a, 0x2c, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
	0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
	0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x2a, 0x18, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6c, 0x69, 0x73,
	0x74, 0x12, 0x7a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 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, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x25, 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, 0x43, 0x6f, 0x64,
	0x65, 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, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x7b, 0x63, 0x6f, 0x64, 0x65, 0x7d, 0x12, 0x88, 0x01,
	0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29,
	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, 0x43, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75,
	0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 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, 0x43, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
	0x64, 0x65, 0x2f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x84, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74,
	0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 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, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x29, 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, 0x43, 0x6f, 0x64,
	0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82,
	0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12,
	0x79, 0x0a, 0x08, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
	0x73, 0x74, 0x1a, 0x26, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f,
	0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93,
	0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61,
	0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x0c, 0x53,
	0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x29, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x53, 0x61, 0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x61,
	0x76, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
	0x64, 0x65, 0x2f, 0x6c, 0x69, 0x73, 0x74, 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_code_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_deviceapis_device_v1_deviceapis_device_code_v1_proto_goTypes = []interface{}{
	(*Code)(nil),                           // 0: deviceapis.device.v1.Code
	(*CodePaging)(nil),                     // 1: deviceapis.device.v1.CodePaging
	(*DeleteCodeListRequest)(nil),          // 2: deviceapis.device.v1.DeleteCodeListRequest
	(*DeleteCodeListResponse)(nil),         // 3: deviceapis.device.v1.DeleteCodeListResponse
	(*DeleteCodeRequest)(nil),              // 4: deviceapis.device.v1.DeleteCodeRequest
	(*DeleteCodeResponse)(nil),             // 5: deviceapis.device.v1.DeleteCodeResponse
	(*GetCodeCountRequest)(nil),            // 6: deviceapis.device.v1.GetCodeCountRequest
	(*GetCodeCountResponse)(nil),           // 7: deviceapis.device.v1.GetCodeCountResponse
	(*GetCodeListRequest)(nil),             // 8: deviceapis.device.v1.GetCodeListRequest
	(*GetCodeListResponse)(nil),            // 9: deviceapis.device.v1.GetCodeListResponse
	(*GetCodeRequest)(nil),                 // 10: deviceapis.device.v1.GetCodeRequest
	(*GetCodeResponse)(nil),                // 11: deviceapis.device.v1.GetCodeResponse
	(*SaveCodeListRequest)(nil),            // 12: deviceapis.device.v1.SaveCodeListRequest
	(*SaveCodeListResponse)(nil),           // 13: deviceapis.device.v1.SaveCodeListResponse
	(*SaveCodeRequest)(nil),                // 14: deviceapis.device.v1.SaveCodeRequest
	(*SaveCodeResponse)(nil),               // 15: deviceapis.device.v1.SaveCodeResponse
	(*Code_SavingError)(nil),               // 16: deviceapis.device.v1.Code.SavingError
	(*Code_SavingError_RelayNotFound)(nil), // 17: deviceapis.device.v1.Code.SavingError.RelayNotFound
	(*DeleteCodeResponse_Error)(nil),       // 18: deviceapis.device.v1.DeleteCodeResponse.Error
	(*SaveCodeListResponse_Error)(nil),     // 19: deviceapis.device.v1.SaveCodeListResponse.Error
	(*SaveCodeResponse_Error)(nil),         // 20: deviceapis.device.v1.SaveCodeResponse.Error
	(*ValidationError)(nil),                // 21: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_code_v1_proto_depIdxs = []int32{
	18, // 0: deviceapis.device.v1.DeleteCodeResponse.error:type_name -> deviceapis.device.v1.DeleteCodeResponse.Error
	1,  // 1: deviceapis.device.v1.GetCodeListRequest.paging:type_name -> deviceapis.device.v1.CodePaging
	0,  // 2: deviceapis.device.v1.GetCodeListResponse.data:type_name -> deviceapis.device.v1.Code
	0,  // 3: deviceapis.device.v1.GetCodeResponse.data:type_name -> deviceapis.device.v1.Code
	0,  // 4: deviceapis.device.v1.SaveCodeListRequest.data:type_name -> deviceapis.device.v1.Code
	0,  // 5: deviceapis.device.v1.SaveCodeListResponse.data:type_name -> deviceapis.device.v1.Code
	19, // 6: deviceapis.device.v1.SaveCodeListResponse.errors:type_name -> deviceapis.device.v1.SaveCodeListResponse.Error
	0,  // 7: deviceapis.device.v1.SaveCodeRequest.data:type_name -> deviceapis.device.v1.Code
	0,  // 8: deviceapis.device.v1.SaveCodeResponse.data:type_name -> deviceapis.device.v1.Code
	20, // 9: deviceapis.device.v1.SaveCodeResponse.error:type_name -> deviceapis.device.v1.SaveCodeResponse.Error
	17, // 10: deviceapis.device.v1.Code.SavingError.relay_not_found:type_name -> deviceapis.device.v1.Code.SavingError.RelayNotFound
	21, // 11: deviceapis.device.v1.DeleteCodeResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	21, // 12: deviceapis.device.v1.SaveCodeListResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	16, // 13: deviceapis.device.v1.SaveCodeListResponse.Error.saving:type_name -> deviceapis.device.v1.Code.SavingError
	21, // 14: deviceapis.device.v1.SaveCodeResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	16, // 15: deviceapis.device.v1.SaveCodeResponse.Error.saving:type_name -> deviceapis.device.v1.Code.SavingError
	4,  // 16: deviceapis.device.v1.CodeService.DeleteCode:input_type -> deviceapis.device.v1.DeleteCodeRequest
	2,  // 17: deviceapis.device.v1.CodeService.DeleteCodeList:input_type -> deviceapis.device.v1.DeleteCodeListRequest
	10, // 18: deviceapis.device.v1.CodeService.GetCode:input_type -> deviceapis.device.v1.GetCodeRequest
	6,  // 19: deviceapis.device.v1.CodeService.GetCodeCount:input_type -> deviceapis.device.v1.GetCodeCountRequest
	8,  // 20: deviceapis.device.v1.CodeService.GetCodeList:input_type -> deviceapis.device.v1.GetCodeListRequest
	14, // 21: deviceapis.device.v1.CodeService.SaveCode:input_type -> deviceapis.device.v1.SaveCodeRequest
	12, // 22: deviceapis.device.v1.CodeService.SaveCodeList:input_type -> deviceapis.device.v1.SaveCodeListRequest
	5,  // 23: deviceapis.device.v1.CodeService.DeleteCode:output_type -> deviceapis.device.v1.DeleteCodeResponse
	3,  // 24: deviceapis.device.v1.CodeService.DeleteCodeList:output_type -> deviceapis.device.v1.DeleteCodeListResponse
	11, // 25: deviceapis.device.v1.CodeService.GetCode:output_type -> deviceapis.device.v1.GetCodeResponse
	7,  // 26: deviceapis.device.v1.CodeService.GetCodeCount:output_type -> deviceapis.device.v1.GetCodeCountResponse
	9,  // 27: deviceapis.device.v1.CodeService.GetCodeList:output_type -> deviceapis.device.v1.GetCodeListResponse
	15, // 28: deviceapis.device.v1.CodeService.SaveCode:output_type -> deviceapis.device.v1.SaveCodeResponse
	13, // 29: deviceapis.device.v1.CodeService.SaveCodeList:output_type -> deviceapis.device.v1.SaveCodeListResponse
	23, // [23:30] is the sub-list for method output_type
	16, // [16:23] is the sub-list for method input_type
	16, // [16:16] is the sub-list for extension type_name
	16, // [16:16] is the sub-list for extension extendee
	0,  // [0:16] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_code_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_code_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_code_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Code); 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_code_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*CodePaging); 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_code_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteCodeListRequest); 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_code_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteCodeListResponse); 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_code_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteCodeRequest); 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_code_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteCodeResponse); 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_code_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeCountRequest); 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_code_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeCountResponse); 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_code_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeListRequest); 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_code_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeListResponse); 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_code_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeRequest); 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_code_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetCodeResponse); 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_code_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeListRequest); 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_code_v1_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeListResponse); 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_code_v1_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeRequest); 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_code_v1_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeResponse); 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_code_v1_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Code_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_code_v1_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*Code_SavingError_RelayNotFound); 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_code_v1_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*DeleteCodeResponse_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_code_v1_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeListResponse_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_code_v1_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveCodeResponse_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_code_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*DeleteCodeListResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*DeleteCodeResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[7].OneofWrappers = []interface{}{
		(*GetCodeCountResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*GetCodeListRequest_Paging)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[11].OneofWrappers = []interface{}{
		(*GetCodeResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[15].OneofWrappers = []interface{}{
		(*SaveCodeResponse_Data)(nil),
		(*SaveCodeResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[16].OneofWrappers = []interface{}{
		(*Code_SavingError_RelayNotFound_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[18].OneofWrappers = []interface{}{
		(*DeleteCodeResponse_Error_Validation)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[19].OneofWrappers = []interface{}{
		(*SaveCodeListResponse_Error_Validation)(nil),
		(*SaveCodeListResponse_Error_Saving)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes[20].OneofWrappers = []interface{}{
		(*SaveCodeResponse_Error_Validation)(nil),
		(*SaveCodeResponse_Error_Saving)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   21,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_code_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_code_v1_proto_depIdxs,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_code_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_code_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_code_v1_proto_depIdxs = nil
}
