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

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

// Варианты подстановки номера дома и квартиры в SIP Invite
type House_InviteTemplateType int32

const (
	// Значение не указано
	House_INVITE_TEMPLATE_TYPE_UNKNOWN House_InviteTemplateType = 0
	// 4 символа для номера дома с лидирующими нулями, 4 символа для номера квартиры с лидирующими нулями.
	// Номера дома и квартиры при звонке подставляются в виде: 00120123@sip.acme.io
	House_H4LZ_F4LZ House_InviteTemplateType = 1
	// 4 символа для номера дома с лидирующими нулями, 4 или меньше символа для номера квартиры.
	// Номера дома и квартиры при звонке подставляются в виде: 0012123@sip.acme.io
	House_H4LZ_F4 House_InviteTemplateType = 2
	// 4 или меньше символа для номера дома, 4 символа для номера квартиры с лидирующими нулями.
	// Номера дома и квартиры при звонке подставляются в виде: 120123@sip.acme.io
	House_H4_F4LZ House_InviteTemplateType = 3
)

// Enum value maps for House_InviteTemplateType.
var (
	House_InviteTemplateType_name = map[int32]string{
		0: "INVITE_TEMPLATE_TYPE_UNKNOWN",
		1: "H4LZ_F4LZ",
		2: "H4LZ_F4",
		3: "H4_F4LZ",
	}
	House_InviteTemplateType_value = map[string]int32{
		"INVITE_TEMPLATE_TYPE_UNKNOWN": 0,
		"H4LZ_F4LZ":                    1,
		"H4LZ_F4":                      2,
		"H4_F4LZ":                      3,
	}
)

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

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

func (House_InviteTemplateType) Descriptor() protoreflect.EnumDescriptor {
	return file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_enumTypes[0].Descriptor()
}

func (House_InviteTemplateType) Type() protoreflect.EnumType {
	return &file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_enumTypes[0]
}

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

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

// Настройки Gate режима
type GateMode struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Флаг включения Gate режима.
	// true=gate; false=ordinary
	IsGateModeOn bool `protobuf:"varint,1,opt,name=is_gate_mode_on,json=isGateModeOn,proto3" json:"is_gate_mode_on,omitempty"`
	// Дома Gate режима.
	// При редактировании массив полностью заменяется на отправленный
	Houses []*House `protobuf:"bytes,2,rep,name=houses,proto3" json:"houses,omitempty"`
}

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

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

func (*GateMode) ProtoMessage() {}

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

func (x *GateMode) GetIsGateModeOn() bool {
	if x != nil {
		return x.IsGateModeOn
	}
	return false
}

func (x *GateMode) GetHouses() []*House {
	if x != nil {
		return x.Houses
	}
	return nil
}

// Запрос получения Gate режима
type GetGateModeRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

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

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

func (*GetGateModeRequest) ProtoMessage() {}

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

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

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

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

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

func (*GetGateModeResponse) ProtoMessage() {}

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

func (m *GetGateModeResponse) GetType() isGetGateModeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetGateModeResponse) GetData() *GateMode {
	if x, ok := x.GetType().(*GetGateModeResponse_Data); ok {
		return x.Data
	}
	return nil
}

type isGetGateModeResponse_Type interface {
	isGetGateModeResponse_Type()
}

type GetGateModeResponse_Data struct {
	// Настройки Gate режима
	Data *GateMode `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

func (*GetGateModeResponse_Data) isGetGateModeResponse_Type() {}

// Дом Gate режима
type House struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Адрес дома
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Номер дома (подъезда)
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Диапазон квартир.
	// Если не задан, то устройство позволяет набор любой квартиры
	RoomRange *House_RoomRange `protobuf:"bytes,3,opt,name=room_range,json=roomRange,proto3" json:"room_range,omitempty"`
	// Адрес Sip сервера.
	// При пустом sip_server будет использован сервер SIP регистрации
	SipServer string `protobuf:"bytes,4,opt,name=sip_server,json=sipServer,proto3" json:"sip_server,omitempty"`
	// Вариант подстановки номера дома и квартиры в SIP Invite.
	// При отсутствии значения используется вариант H4LZ_F4LZ
	InviteTemplateType House_InviteTemplateType `protobuf:"varint,5,opt,name=invite_template_type,json=inviteTemplateType,proto3,enum=deviceapis.device.v1.House_InviteTemplateType" json:"invite_template_type,omitempty"`
}

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

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

func (*House) ProtoMessage() {}

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

func (x *House) GetAddress() string {
	if x != nil {
		return x.Address
	}
	return ""
}

func (x *House) GetPrefix() string {
	if x != nil {
		return x.Prefix
	}
	return ""
}

func (x *House) GetRoomRange() *House_RoomRange {
	if x != nil {
		return x.RoomRange
	}
	return nil
}

func (x *House) GetSipServer() string {
	if x != nil {
		return x.SipServer
	}
	return ""
}

func (x *House) GetInviteTemplateType() House_InviteTemplateType {
	if x != nil {
		return x.InviteTemplateType
	}
	return House_INVITE_TEMPLATE_TYPE_UNKNOWN
}

// Запрос редактирования Gate режима
type SaveGateModeRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Настройки Gate режима
	Data *GateMode `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

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

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

func (*SaveGateModeRequest) ProtoMessage() {}

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

func (x *SaveGateModeRequest) GetData() *GateMode {
	if x != nil {
		return x.Data
	}
	return nil
}

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

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

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

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

func (*SaveGateModeResponse) ProtoMessage() {}

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

func (m *SaveGateModeResponse) GetType() isSaveGateModeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *SaveGateModeResponse) GetData() *GateMode {
	if x, ok := x.GetType().(*SaveGateModeResponse_Data); ok {
		return x.Data
	}
	return nil
}

func (x *SaveGateModeResponse) GetError() *SaveGateModeResponse_Error {
	if x, ok := x.GetType().(*SaveGateModeResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isSaveGateModeResponse_Type interface {
	isSaveGateModeResponse_Type()
}

type SaveGateModeResponse_Data struct {
	// Настройки Gate режима
	Data *GateMode `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

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

func (*SaveGateModeResponse_Data) isSaveGateModeResponse_Type() {}

func (*SaveGateModeResponse_Error_) isSaveGateModeResponse_Type() {}

// Диапазон квартир
type House_RoomRange struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Начало диапазона включительно
	FirstRoomNumber string `protobuf:"bytes,1,opt,name=first_room_number,json=firstRoomNumber,proto3" json:"first_room_number,omitempty"`
	// Конец диапазона включительно
	LastRoomNumber string `protobuf:"bytes,2,opt,name=last_room_number,json=lastRoomNumber,proto3" json:"last_room_number,omitempty"`
}

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

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

func (*House_RoomRange) ProtoMessage() {}

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

func (x *House_RoomRange) GetFirstRoomNumber() string {
	if x != nil {
		return x.FirstRoomNumber
	}
	return ""
}

func (x *House_RoomRange) GetLastRoomNumber() string {
	if x != nil {
		return x.LastRoomNumber
	}
	return ""
}

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

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

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

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

func (*SaveGateModeResponse_Error) ProtoMessage() {}

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

func (m *SaveGateModeResponse_Error) GetReason() isSaveGateModeResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

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

type isSaveGateModeResponse_Error_Reason interface {
	isSaveGateModeResponse_Error_Reason()
}

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

func (*SaveGateModeResponse_Error_Validation) isSaveGateModeResponse_Error_Reason() {}

var File_deviceapis_device_v1_deviceapis_device_gate_v1_proto protoreflect.FileDescriptor

var file_deviceapis_device_v1_deviceapis_device_gate_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, 0x67, 0x61, 0x74, 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, 0x7c, 0x0a, 0x08, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12,
	0x30, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x5f,
	0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x09, 0x92, 0x41, 0x06, 0x4a, 0x04, 0x74,
	0x72, 0x75, 0x65, 0x52, 0x0c, 0x69, 0x73, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x4f,
	0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
	0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x75, 0x73, 0x65, 0x42, 0x09,
	0x92, 0x41, 0x06, 0xa0, 0x01, 0x64, 0xa8, 0x01, 0x01, 0x52, 0x06, 0x68, 0x6f, 0x75, 0x73, 0x65,
	0x73, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65,
	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x47, 0x61,
	0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34,
	0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64,
	0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x04,
	0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x97, 0x04, 0x0a,
	0x05, 0x48, 0x6f, 0x75, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x61, 0x64,
	0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66,
	0x69, 0x78, 0x12, 0x44, 0x0a, 0x0a, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65,
	0x18, 0x03, 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, 0x48, 0x6f,
	0x75, 0x73, 0x65, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x72,
	0x6f, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x73, 0x69, 0x70, 0x5f,
	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0x92, 0x41,
	0x14, 0x4a, 0x12, 0x22, 0x73, 0x69, 0x70, 0x2e, 0x61, 0x63, 0x6d, 0x65, 0x2e, 0x69, 0x6f, 0x3a,
	0x35, 0x30, 0x36, 0x30, 0x22, 0x52, 0x09, 0x73, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
	0x12, 0x70, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c,
	0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e,
	0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69,
	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x69,
	0x74, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0e,
	0x92, 0x41, 0x0b, 0x4a, 0x09, 0x48, 0x34, 0x4c, 0x5a, 0x5f, 0x46, 0x34, 0x4c, 0x5a, 0x52, 0x12,
	0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79,
	0x70, 0x65, 0x1a, 0x80, 0x01, 0x0a, 0x09, 0x52, 0x6f, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65,
	0x12, 0x39, 0x0a, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e,
	0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0x92, 0x41, 0x07,
	0x4a, 0x05, 0x22, 0x32, 0x33, 0x34, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x66, 0x69, 0x72, 0x73,
	0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x10, 0x6c,
	0x61, 0x73, 0x74, 0x5f, 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
	0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x92, 0x41, 0x08, 0x4a, 0x06, 0x22, 0x31, 0x32, 0x33,
	0x34, 0x22, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4e,
	0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x54,
	0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x49,
	0x4e, 0x56, 0x49, 0x54, 0x45, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x54,
	0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a,
	0x09, 0x48, 0x34, 0x4c, 0x5a, 0x5f, 0x46, 0x34, 0x4c, 0x5a, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07,
	0x48, 0x34, 0x4c, 0x5a, 0x5f, 0x46, 0x34, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x34, 0x5f,
	0x46, 0x34, 0x4c, 0x5a, 0x10, 0x03, 0x22, 0x4e, 0x0a, 0x13, 0x53, 0x61, 0x76, 0x65, 0x47, 0x61,
	0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x64, 0x65,
	0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
	0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfa, 0x01, 0x0a, 0x14, 0x53, 0x61, 0x76, 0x65, 0x47,
	0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
	0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52,
	0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02,
	0x20, 0x01, 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,
	0x47, 0x61, 0x74, 0x65, 0x4d, 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, 0x32, 0xa5, 0x02, 0x0a, 0x0f, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47,
	0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 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, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 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, 0x47, 0x61, 0x74, 0x65,
	0x4d, 0x6f, 0x64, 0x65, 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, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x8a,
	0x01, 0x0a, 0x0c, 0x53, 0x61, 0x76, 0x65, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 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, 0x47, 0x61, 0x74, 0x65, 0x4d,
	0x6f, 0x64, 0x65, 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, 0x47, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 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, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 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_gate_v1_proto_rawDescOnce sync.Once
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescData = file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDesc
)

func file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescGZIP() []byte {
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescOnce.Do(func() {
		file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescData)
	})
	return file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDescData
}

var file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_goTypes = []interface{}{
	(House_InviteTemplateType)(0),      // 0: deviceapis.device.v1.House.InviteTemplateType
	(*GateMode)(nil),                   // 1: deviceapis.device.v1.GateMode
	(*GetGateModeRequest)(nil),         // 2: deviceapis.device.v1.GetGateModeRequest
	(*GetGateModeResponse)(nil),        // 3: deviceapis.device.v1.GetGateModeResponse
	(*House)(nil),                      // 4: deviceapis.device.v1.House
	(*SaveGateModeRequest)(nil),        // 5: deviceapis.device.v1.SaveGateModeRequest
	(*SaveGateModeResponse)(nil),       // 6: deviceapis.device.v1.SaveGateModeResponse
	(*House_RoomRange)(nil),            // 7: deviceapis.device.v1.House.RoomRange
	(*SaveGateModeResponse_Error)(nil), // 8: deviceapis.device.v1.SaveGateModeResponse.Error
	(*ValidationError)(nil),            // 9: deviceapis.device.v1.ValidationError
}
var file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_depIdxs = []int32{
	4,  // 0: deviceapis.device.v1.GateMode.houses:type_name -> deviceapis.device.v1.House
	1,  // 1: deviceapis.device.v1.GetGateModeResponse.data:type_name -> deviceapis.device.v1.GateMode
	7,  // 2: deviceapis.device.v1.House.room_range:type_name -> deviceapis.device.v1.House.RoomRange
	0,  // 3: deviceapis.device.v1.House.invite_template_type:type_name -> deviceapis.device.v1.House.InviteTemplateType
	1,  // 4: deviceapis.device.v1.SaveGateModeRequest.data:type_name -> deviceapis.device.v1.GateMode
	1,  // 5: deviceapis.device.v1.SaveGateModeResponse.data:type_name -> deviceapis.device.v1.GateMode
	8,  // 6: deviceapis.device.v1.SaveGateModeResponse.error:type_name -> deviceapis.device.v1.SaveGateModeResponse.Error
	9,  // 7: deviceapis.device.v1.SaveGateModeResponse.Error.validation:type_name -> deviceapis.device.v1.ValidationError
	2,  // 8: deviceapis.device.v1.GateModeService.GetGateMode:input_type -> deviceapis.device.v1.GetGateModeRequest
	5,  // 9: deviceapis.device.v1.GateModeService.SaveGateMode:input_type -> deviceapis.device.v1.SaveGateModeRequest
	3,  // 10: deviceapis.device.v1.GateModeService.GetGateMode:output_type -> deviceapis.device.v1.GetGateModeResponse
	6,  // 11: deviceapis.device.v1.GateModeService.SaveGateMode:output_type -> deviceapis.device.v1.SaveGateModeResponse
	10, // [10:12] is the sub-list for method output_type
	8,  // [8:10] is the sub-list for method input_type
	8,  // [8:8] is the sub-list for extension type_name
	8,  // [8:8] is the sub-list for extension extendee
	0,  // [0:8] is the sub-list for field type_name
}

func init() { file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_init() }
func file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_init() {
	if File_deviceapis_device_v1_deviceapis_device_gate_v1_proto != nil {
		return
	}
	file_deviceapis_device_v1_deviceapis_device_common_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GateMode); 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_gate_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetGateModeRequest); 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_gate_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetGateModeResponse); 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_gate_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*House); 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_gate_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveGateModeRequest); 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_gate_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveGateModeResponse); 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_gate_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*House_RoomRange); 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_gate_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*SaveGateModeResponse_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_gate_v1_proto_msgTypes[2].OneofWrappers = []interface{}{
		(*GetGateModeResponse_Data)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_msgTypes[5].OneofWrappers = []interface{}{
		(*SaveGateModeResponse_Data)(nil),
		(*SaveGateModeResponse_Error_)(nil),
	}
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_msgTypes[7].OneofWrappers = []interface{}{
		(*SaveGateModeResponse_Error_Validation)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDesc,
			NumEnums:      1,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_goTypes,
		DependencyIndexes: file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_depIdxs,
		EnumInfos:         file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_enumTypes,
		MessageInfos:      file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_msgTypes,
	}.Build()
	File_deviceapis_device_v1_deviceapis_device_gate_v1_proto = out.File
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_rawDesc = nil
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_goTypes = nil
	file_deviceapis_device_v1_deviceapis_device_gate_v1_proto_depIdxs = nil
}
