# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_gate_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from deviceapis.device.v1 import deviceapis_device_common_v1_pb2 as deviceapis_dot_device_dot_v1_dot_deviceapis__device__common__v1__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4deviceapis/device/v1/deviceapis_device_gate_v1.proto\x12\x14\x64\x65viceapis.device.v1\x1a\x36\x64\x65viceapis/device/v1/deviceapis_device_common_v1.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"f\n\x08GateMode\x12\"\n\x0fis_gate_mode_on\x18\x01 \x01(\x08\x42\t\x92\x41\x06J\x04true\x12\x36\n\x06houses\x18\x02 \x03(\x0b\x32\x1b.deviceapis.device.v1.HouseB\t\x92\x41\x06\xa0\x01\x64\xa8\x01\x01\"\x14\n\x12GetGateModeRequest\"M\n\x13GetGateModeResponse\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.deviceapis.device.v1.GateModeH\x00\x42\x06\n\x04type\"\xba\x03\n\x05House\x12\x14\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\nroom_range\x18\x03 \x01(\x0b\x32%.deviceapis.device.v1.House.RoomRange\x12+\n\nsip_server\x18\x04 \x01(\tB\x17\x92\x41\x14J\x12\"sip.acme.io:5060\"\x12\\\n\x14invite_template_type\x18\x05 \x01(\x0e\x32..deviceapis.device.v1.House.InviteTemplateTypeB\x0e\x92\x41\x0bJ\tH4LZ_F4LZ\x1a_\n\tRoomRange\x12(\n\x11\x66irst_room_number\x18\x01 \x01(\tB\r\x92\x41\x07J\x05\"234\"\xe0\x41\x02\x12(\n\x10last_room_number\x18\x02 \x01(\tB\x0e\x92\x41\x08J\x06\"1234\"\xe0\x41\x02\"_\n\x12InviteTemplateType\x12 \n\x1cINVITE_TEMPLATE_TYPE_UNKNOWN\x10\x00\x12\r\n\tH4LZ_F4LZ\x10\x01\x12\x0b\n\x07H4LZ_F4\x10\x02\x12\x0b\n\x07H4_F4LZ\x10\x03\"H\n\x13SaveGateModeRequest\x12\x31\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.deviceapis.device.v1.GateModeB\x03\xe0\x41\x02\"\xe1\x01\n\x14SaveGateModeResponse\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1e.deviceapis.device.v1.GateModeH\x00\x12\x41\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x30.deviceapis.device.v1.SaveGateModeResponse.ErrorH\x00\x1aN\n\x05\x45rror\x12;\n\nvalidation\x18\x01 \x01(\x0b\x32%.deviceapis.device.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\xa5\x02\n\x0fGateModeService\x12\x84\x01\n\x0bGetGateMode\x12(.deviceapis.device.v1.GetGateModeRequest\x1a).deviceapis.device.v1.GetGateModeResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/device/api/v1/gate/mode\x12\x8a\x01\n\x0cSaveGateMode\x12).deviceapis.device.v1.SaveGateModeRequest\x1a*.deviceapis.device.v1.SaveGateModeResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/device/api/v1/gate/mode:\x01*B\xaf\x01\n\x17ru.deviceapis.device.v1B\x17\x44\x65viceapisDeviceV1ProtoH\x03P\x00Z\x15/deviceapis_device_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x12\x44\x45VICEAPISDEVICEV1\xaa\x02\x14\x44\x65viceapis.Device.V1\xca\x02\x14\x44\x65viceapis\\Device\\V1\xea\x02\x16\x44\x65viceapis::Device::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'deviceapis.device.v1.deviceapis_device_gate_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\027ru.deviceapis.device.v1B\027DeviceapisDeviceV1ProtoH\003P\000Z\025/deviceapis_device_v1\330\001\001\370\001\001\242\002\022DEVICEAPISDEVICEV1\252\002\024Deviceapis.Device.V1\312\002\024Deviceapis\\Device\\V1\352\002\026Deviceapis::Device::V1'
  _GATEMODE.fields_by_name['is_gate_mode_on']._options = None
  _GATEMODE.fields_by_name['is_gate_mode_on']._serialized_options = b'\222A\006J\004true'
  _GATEMODE.fields_by_name['houses']._options = None
  _GATEMODE.fields_by_name['houses']._serialized_options = b'\222A\006\240\001d\250\001\001'
  _HOUSE_ROOMRANGE.fields_by_name['first_room_number']._options = None
  _HOUSE_ROOMRANGE.fields_by_name['first_room_number']._serialized_options = b'\222A\007J\005\"234\"\340A\002'
  _HOUSE_ROOMRANGE.fields_by_name['last_room_number']._options = None
  _HOUSE_ROOMRANGE.fields_by_name['last_room_number']._serialized_options = b'\222A\010J\006\"1234\"\340A\002'
  _HOUSE.fields_by_name['address']._options = None
  _HOUSE.fields_by_name['address']._serialized_options = b'\340A\002'
  _HOUSE.fields_by_name['prefix']._options = None
  _HOUSE.fields_by_name['prefix']._serialized_options = b'\340A\002'
  _HOUSE.fields_by_name['sip_server']._options = None
  _HOUSE.fields_by_name['sip_server']._serialized_options = b'\222A\024J\022\"sip.acme.io:5060\"'
  _HOUSE.fields_by_name['invite_template_type']._options = None
  _HOUSE.fields_by_name['invite_template_type']._serialized_options = b'\222A\013J\tH4LZ_F4LZ'
  _SAVEGATEMODEREQUEST.fields_by_name['data']._options = None
  _SAVEGATEMODEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _GATEMODESERVICE.methods_by_name['GetGateMode']._options = None
  _GATEMODESERVICE.methods_by_name['GetGateMode']._serialized_options = b'\202\323\344\223\002\032\022\030/device/api/v1/gate/mode'
  _GATEMODESERVICE.methods_by_name['SaveGateMode']._options = None
  _GATEMODESERVICE.methods_by_name['SaveGateMode']._serialized_options = b'\202\323\344\223\002\035\"\030/device/api/v1/gate/mode:\001*'
  _globals['_GATEMODE']._serialized_start=245
  _globals['_GATEMODE']._serialized_end=347
  _globals['_GETGATEMODEREQUEST']._serialized_start=349
  _globals['_GETGATEMODEREQUEST']._serialized_end=369
  _globals['_GETGATEMODERESPONSE']._serialized_start=371
  _globals['_GETGATEMODERESPONSE']._serialized_end=448
  _globals['_HOUSE']._serialized_start=451
  _globals['_HOUSE']._serialized_end=893
  _globals['_HOUSE_ROOMRANGE']._serialized_start=701
  _globals['_HOUSE_ROOMRANGE']._serialized_end=796
  _globals['_HOUSE_INVITETEMPLATETYPE']._serialized_start=798
  _globals['_HOUSE_INVITETEMPLATETYPE']._serialized_end=893
  _globals['_SAVEGATEMODEREQUEST']._serialized_start=895
  _globals['_SAVEGATEMODEREQUEST']._serialized_end=967
  _globals['_SAVEGATEMODERESPONSE']._serialized_start=970
  _globals['_SAVEGATEMODERESPONSE']._serialized_end=1195
  _globals['_SAVEGATEMODERESPONSE_ERROR']._serialized_start=1109
  _globals['_SAVEGATEMODERESPONSE_ERROR']._serialized_end=1187
  _globals['_GATEMODESERVICE']._serialized_start=1198
  _globals['_GATEMODESERVICE']._serialized_end=1491
# @@protoc_insertion_point(module_scope)
