# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/access_control/v1/keyapis_access_control_entrance_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 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 keyapis.access_control.v1 import keyapis_access_control_access_control_v1_pb2 as keyapis_dot_access__control_dot_v1_dot_keyapis__access__control__access__control__v1__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nBkeyapis/access_control/v1/keyapis_access_control_entrance_v1.proto\x12\x19keyapis.access_control.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1aHkeyapis/access_control/v1/keyapis_access_control_access_control_v1.proto\"\x9b\x01\n\x08\x45ntrance\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1c\n\x0f\x65ntrance_number\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1e\n\x11start_room_number\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\"\n\x15rooms_count_per_floor\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x19\n\x0c\x66loors_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\"\x95\x02\n\x0e\x45ntranceFilter\x12\x15\n\rflatgramm_ids\x18\x01 \x03(\x05\x12\x0e\n\x06orpons\x18\x02 \x03(\x03\x12\x13\n\x0b\x63ompany_ids\x18\x03 \x03(\x05\x12\\\n\x15\x63ompany_relation_type\x18\x04 \x01(\x0e\x32=.keyapis.access_control.v1.EntranceFilter.CompanyRelationType\"i\n\x13\x43ompanyRelationType\x12!\n\x1d\x43OMPANY_RELATION_TYPE_UNKNOWN\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0e\n\nMANAGEMENT\x10\x02\x12\x12\n\x0e\x44\x45VICE_SERVICE\x10\x03\"\xd8\x02\n\x0e\x45ntrancePaging\x12L\n\rorder_by_type\x18\x01 \x01(\x0e\x32\x35.keyapis.access_control.v1.EntrancePaging.OrderByType\x12O\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x37.keyapis.access_control.v1.EntrancePaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"H\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x1e\n\x1aORPON_THEN_ENTRANCE_NUMBER\x10\x01\">\n\rDirectionType\x12\x1a\n\x16\x44IRECTION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02\"\x9e\x01\n\x16GetEntranceListRequest\x12\x39\n\x06\x66ilter\x18\x01 \x01(\x0b\x32).keyapis.access_control.v1.EntranceFilter\x12;\n\x06paging\x18\x02 \x01(\x0b\x32).keyapis.access_control.v1.EntrancePagingH\x00\x42\x0c\n\npagination\"\xf6\x01\n\x17GetEntranceListResponse\x12\x33\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32#.keyapis.access_control.v1.EntranceH\x00\x12I\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x38.keyapis.access_control.v1.GetEntranceListResponse.ErrorH\x00\x1aS\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"i\n\x1ePutEntranceDeviceAttachRequest\x12G\n\x0f\x65ntrance_device\x18\x01 \x01(\x0b\x32).keyapis.access_control.v1.EntranceDeviceB\x03\xe0\x41\x02\"\xd1\x01\n\x1fPutEntranceDeviceAttachResponse\x12Q\n\x05\x65rror\x18\x01 \x01(\x0b\x32@.keyapis.access_control.v1.PutEntranceDeviceAttachResponse.ErrorH\x00\x1aS\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"i\n\x1ePutEntranceDeviceDetachRequest\x12G\n\x0f\x65ntrance_device\x18\x01 \x01(\x0b\x32).keyapis.access_control.v1.EntranceDeviceB\x03\xe0\x41\x02\"\xd1\x01\n\x1fPutEntranceDeviceDetachResponse\x12Q\n\x05\x65rror\x18\x01 \x01(\x0b\x32@.keyapis.access_control.v1.PutEntranceDeviceDetachResponse.ErrorH\x00\x1aS\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"M\n\x13PostEntranceRequest\x12\x36\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32#.keyapis.access_control.v1.EntranceB\x03\xe0\x41\x02\"\xf0\x01\n\x14PostEntranceResponse\x12\x33\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32#.keyapis.access_control.v1.EntranceH\x00\x12\x46\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x35.keyapis.access_control.v1.PostEntranceResponse.ErrorH\x00\x1aS\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"I\n\x15\x44\x65leteEntranceRequest\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1c\n\x0f\x65ntrance_number\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\xc5\x02\n\x16\x44\x65leteEntranceResponse\x12H\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x37.keyapis.access_control.v1.DeleteEntranceResponse.ErrorH\x00\x1a\xd8\x01\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x12l\n\x15linked_devices_exists\x18\x02 \x01(\x0b\x32K.keyapis.access_control.v1.DeleteEntranceResponse.Error.LinkedDevicesExistsH\x00\x1a\x15\n\x13LinkedDevicesExistsB\x08\n\x06reasonB\x06\n\x04type\"\xf0\x01\n\x0e\x45ntranceDevice\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x1c\n\x0f\x65ntrance_number\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tdevice_id\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12R\n\rrelation_type\x18\x04 \x01(\x0e\x32\x36.keyapis.access_control.v1.EntranceDevice.RelationTypeB\x03\xe0\x41\x03\"@\n\x0cRelationType\x12\x19\n\x15RELATION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x0b\n\x07PARTIAL\x10\x02\"k\n\x14\x45ntranceDeviceFilter\x12\x15\n\rflatgramm_ids\x18\x01 \x03(\x05\x12\x0e\n\x06orpons\x18\x02 \x03(\x03\x12\x18\n\x10\x65ntrance_numbers\x18\x03 \x03(\x05\x12\x12\n\ndevice_ids\x18\x04 \x03(\x05\"\xf9\x02\n\x14\x45ntranceDevicePaging\x12R\n\rorder_by_type\x18\x01 \x01(\x0e\x32;.keyapis.access_control.v1.EntranceDevicePaging.OrderByType\x12U\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32=.keyapis.access_control.v1.EntranceDevicePaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\"W\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x1e\n\x1aORPON_THEN_ENTRANCE_NUMBER\x10\x01\x12\r\n\tDEVICE_ID\x10\x02\">\n\rDirectionType\x12\x1a\n\x16\x44IRECTION_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04\x44\x45SC\x10\x01\x12\x07\n\x03\x41SC\x10\x02\"\xb0\x01\n\x1cGetEntranceDeviceListRequest\x12?\n\x06\x66ilter\x18\x01 \x01(\x0b\x32/.keyapis.access_control.v1.EntranceDeviceFilter\x12\x41\n\x06paging\x18\x02 \x01(\x0b\x32/.keyapis.access_control.v1.EntranceDevicePagingH\x00\x42\x0c\n\npagination\"\x88\x02\n\x1dGetEntranceDeviceListResponse\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32).keyapis.access_control.v1.EntranceDeviceH\x00\x12O\n\x05\x65rror\x18\x02 \x01(\x0b\x32>.keyapis.access_control.v1.GetEntranceDeviceListResponse.ErrorH\x00\x1aS\n\x05\x45rror\x12@\n\nvalidation\x18\x01 \x01(\x0b\x32*.keyapis.access_control.v1.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type2\x9f\n\n\x0f\x45ntranceService\x12\x9b\x01\n\x0cPostEntrance\x12..keyapis.access_control.v1.PostEntranceRequest\x1a/.keyapis.access_control.v1.PostEntranceResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/access_control/api/v1/entrance:\x01*\x12\xb8\x01\n\x0e\x44\x65leteEntrance\x12\x30.keyapis.access_control.v1.DeleteEntranceRequest\x1a\x31.keyapis.access_control.v1.DeleteEntranceResponse\"A\x82\xd3\xe4\x93\x02;*9/access_control/api/v1/entrance/{orpon}/{entrance_number}\x12\xa8\x01\n\x0fGetEntranceList\x12\x31.keyapis.access_control.v1.GetEntranceListRequest\x1a\x32.keyapis.access_control.v1.GetEntranceListResponse\",\x82\xd3\xe4\x93\x02&\x12$/access_control/api/v1/entrance/list0\x01\x12\xa0\x02\n\x17PutEntranceDeviceAttach\x12\x39.keyapis.access_control.v1.PutEntranceDeviceAttachRequest\x1a:.keyapis.access_control.v1.PutEntranceDeviceAttachResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x1a\x83\x01/access_control/api/v1/entrance/{entrance_device.orpon}/{entrance_device.entrance_number}/device/{entrance_device.device_id}/attach\x12\xa0\x02\n\x17PutEntranceDeviceDetach\x12\x39.keyapis.access_control.v1.PutEntranceDeviceDetachRequest\x1a:.keyapis.access_control.v1.PutEntranceDeviceDetachResponse\"\x8d\x01\x82\xd3\xe4\x93\x02\x86\x01\x1a\x83\x01/access_control/api/v1/entrance/{entrance_device.orpon}/{entrance_device.entrance_number}/device/{entrance_device.device_id}/detach\x12\xc1\x01\n\x15GetEntranceDeviceList\x12\x37.keyapis.access_control.v1.GetEntranceDeviceListRequest\x1a\x38.keyapis.access_control.v1.GetEntranceDeviceListResponse\"3\x82\xd3\xe4\x93\x02-\x12+/access_control/api/v1/entrance/device/list0\x01\x42\xcd\x01\n\x1cru.keyapis.access_control.v1B\x1bKeyapisAccessControlV1ProtoH\x03P\x00Z\x1a/keyapis_access_control_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x16KEYAPISACCESSCONTROLV1\xaa\x02\x18Keyapis.AccessControl.V1\xca\x02\x18Keyapis\\AccessControl\\V1\xea\x02\x1aKeyapis::AccessControl::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keyapis.access_control.v1.keyapis_access_control_entrance_v1_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\034ru.keyapis.access_control.v1B\033KeyapisAccessControlV1ProtoH\003P\000Z\032/keyapis_access_control_v1\330\001\001\370\001\001\242\002\026KEYAPISACCESSCONTROLV1\252\002\030Keyapis.AccessControl.V1\312\002\030Keyapis\\AccessControl\\V1\352\002\032Keyapis::AccessControl::V1'
  _ENTRANCE.fields_by_name['orpon']._options = None
  _ENTRANCE.fields_by_name['orpon']._serialized_options = b'\340A\002'
  _ENTRANCE.fields_by_name['entrance_number']._options = None
  _ENTRANCE.fields_by_name['entrance_number']._serialized_options = b'\340A\002'
  _ENTRANCE.fields_by_name['start_room_number']._options = None
  _ENTRANCE.fields_by_name['start_room_number']._serialized_options = b'\340A\002'
  _ENTRANCE.fields_by_name['rooms_count_per_floor']._options = None
  _ENTRANCE.fields_by_name['rooms_count_per_floor']._serialized_options = b'\340A\002'
  _ENTRANCE.fields_by_name['floors_count']._options = None
  _ENTRANCE.fields_by_name['floors_count']._serialized_options = b'\340A\002'
  _PUTENTRANCEDEVICEATTACHREQUEST.fields_by_name['entrance_device']._options = None
  _PUTENTRANCEDEVICEATTACHREQUEST.fields_by_name['entrance_device']._serialized_options = b'\340A\002'
  _PUTENTRANCEDEVICEDETACHREQUEST.fields_by_name['entrance_device']._options = None
  _PUTENTRANCEDEVICEDETACHREQUEST.fields_by_name['entrance_device']._serialized_options = b'\340A\002'
  _POSTENTRANCEREQUEST.fields_by_name['data']._options = None
  _POSTENTRANCEREQUEST.fields_by_name['data']._serialized_options = b'\340A\002'
  _DELETEENTRANCEREQUEST.fields_by_name['orpon']._options = None
  _DELETEENTRANCEREQUEST.fields_by_name['orpon']._serialized_options = b'\340A\002'
  _DELETEENTRANCEREQUEST.fields_by_name['entrance_number']._options = None
  _DELETEENTRANCEREQUEST.fields_by_name['entrance_number']._serialized_options = b'\340A\002'
  _ENTRANCEDEVICE.fields_by_name['orpon']._options = None
  _ENTRANCEDEVICE.fields_by_name['orpon']._serialized_options = b'\340A\002'
  _ENTRANCEDEVICE.fields_by_name['entrance_number']._options = None
  _ENTRANCEDEVICE.fields_by_name['entrance_number']._serialized_options = b'\340A\002'
  _ENTRANCEDEVICE.fields_by_name['device_id']._options = None
  _ENTRANCEDEVICE.fields_by_name['device_id']._serialized_options = b'\340A\002'
  _ENTRANCEDEVICE.fields_by_name['relation_type']._options = None
  _ENTRANCEDEVICE.fields_by_name['relation_type']._serialized_options = b'\340A\003'
  _ENTRANCESERVICE.methods_by_name['PostEntrance']._options = None
  _ENTRANCESERVICE.methods_by_name['PostEntrance']._serialized_options = b'\202\323\344\223\002$\"\037/access_control/api/v1/entrance:\001*'
  _ENTRANCESERVICE.methods_by_name['DeleteEntrance']._options = None
  _ENTRANCESERVICE.methods_by_name['DeleteEntrance']._serialized_options = b'\202\323\344\223\002;*9/access_control/api/v1/entrance/{orpon}/{entrance_number}'
  _ENTRANCESERVICE.methods_by_name['GetEntranceList']._options = None
  _ENTRANCESERVICE.methods_by_name['GetEntranceList']._serialized_options = b'\202\323\344\223\002&\022$/access_control/api/v1/entrance/list'
  _ENTRANCESERVICE.methods_by_name['PutEntranceDeviceAttach']._options = None
  _ENTRANCESERVICE.methods_by_name['PutEntranceDeviceAttach']._serialized_options = b'\202\323\344\223\002\206\001\032\203\001/access_control/api/v1/entrance/{entrance_device.orpon}/{entrance_device.entrance_number}/device/{entrance_device.device_id}/attach'
  _ENTRANCESERVICE.methods_by_name['PutEntranceDeviceDetach']._options = None
  _ENTRANCESERVICE.methods_by_name['PutEntranceDeviceDetach']._serialized_options = b'\202\323\344\223\002\206\001\032\203\001/access_control/api/v1/entrance/{entrance_device.orpon}/{entrance_device.entrance_number}/device/{entrance_device.device_id}/detach'
  _ENTRANCESERVICE.methods_by_name['GetEntranceDeviceList']._options = None
  _ENTRANCESERVICE.methods_by_name['GetEntranceDeviceList']._serialized_options = b'\202\323\344\223\002-\022+/access_control/api/v1/entrance/device/list'
  _globals['_ENTRANCE']._serialized_start=235
  _globals['_ENTRANCE']._serialized_end=390
  _globals['_ENTRANCEFILTER']._serialized_start=393
  _globals['_ENTRANCEFILTER']._serialized_end=670
  _globals['_ENTRANCEFILTER_COMPANYRELATIONTYPE']._serialized_start=565
  _globals['_ENTRANCEFILTER_COMPANYRELATIONTYPE']._serialized_end=670
  _globals['_ENTRANCEPAGING']._serialized_start=673
  _globals['_ENTRANCEPAGING']._serialized_end=1017
  _globals['_ENTRANCEPAGING_ORDERBYTYPE']._serialized_start=881
  _globals['_ENTRANCEPAGING_ORDERBYTYPE']._serialized_end=953
  _globals['_ENTRANCEPAGING_DIRECTIONTYPE']._serialized_start=955
  _globals['_ENTRANCEPAGING_DIRECTIONTYPE']._serialized_end=1017
  _globals['_GETENTRANCELISTREQUEST']._serialized_start=1020
  _globals['_GETENTRANCELISTREQUEST']._serialized_end=1178
  _globals['_GETENTRANCELISTRESPONSE']._serialized_start=1181
  _globals['_GETENTRANCELISTRESPONSE']._serialized_end=1427
  _globals['_GETENTRANCELISTRESPONSE_ERROR']._serialized_start=1336
  _globals['_GETENTRANCELISTRESPONSE_ERROR']._serialized_end=1419
  _globals['_PUTENTRANCEDEVICEATTACHREQUEST']._serialized_start=1429
  _globals['_PUTENTRANCEDEVICEATTACHREQUEST']._serialized_end=1534
  _globals['_PUTENTRANCEDEVICEATTACHRESPONSE']._serialized_start=1537
  _globals['_PUTENTRANCEDEVICEATTACHRESPONSE']._serialized_end=1746
  _globals['_PUTENTRANCEDEVICEATTACHRESPONSE_ERROR']._serialized_start=1336
  _globals['_PUTENTRANCEDEVICEATTACHRESPONSE_ERROR']._serialized_end=1419
  _globals['_PUTENTRANCEDEVICEDETACHREQUEST']._serialized_start=1748
  _globals['_PUTENTRANCEDEVICEDETACHREQUEST']._serialized_end=1853
  _globals['_PUTENTRANCEDEVICEDETACHRESPONSE']._serialized_start=1856
  _globals['_PUTENTRANCEDEVICEDETACHRESPONSE']._serialized_end=2065
  _globals['_PUTENTRANCEDEVICEDETACHRESPONSE_ERROR']._serialized_start=1336
  _globals['_PUTENTRANCEDEVICEDETACHRESPONSE_ERROR']._serialized_end=1419
  _globals['_POSTENTRANCEREQUEST']._serialized_start=2067
  _globals['_POSTENTRANCEREQUEST']._serialized_end=2144
  _globals['_POSTENTRANCERESPONSE']._serialized_start=2147
  _globals['_POSTENTRANCERESPONSE']._serialized_end=2387
  _globals['_POSTENTRANCERESPONSE_ERROR']._serialized_start=1336
  _globals['_POSTENTRANCERESPONSE_ERROR']._serialized_end=1419
  _globals['_DELETEENTRANCEREQUEST']._serialized_start=2389
  _globals['_DELETEENTRANCEREQUEST']._serialized_end=2462
  _globals['_DELETEENTRANCERESPONSE']._serialized_start=2465
  _globals['_DELETEENTRANCERESPONSE']._serialized_end=2790
  _globals['_DELETEENTRANCERESPONSE_ERROR']._serialized_start=2566
  _globals['_DELETEENTRANCERESPONSE_ERROR']._serialized_end=2782
  _globals['_DELETEENTRANCERESPONSE_ERROR_LINKEDDEVICESEXISTS']._serialized_start=2751
  _globals['_DELETEENTRANCERESPONSE_ERROR_LINKEDDEVICESEXISTS']._serialized_end=2772
  _globals['_ENTRANCEDEVICE']._serialized_start=2793
  _globals['_ENTRANCEDEVICE']._serialized_end=3033
  _globals['_ENTRANCEDEVICE_RELATIONTYPE']._serialized_start=2969
  _globals['_ENTRANCEDEVICE_RELATIONTYPE']._serialized_end=3033
  _globals['_ENTRANCEDEVICEFILTER']._serialized_start=3035
  _globals['_ENTRANCEDEVICEFILTER']._serialized_end=3142
  _globals['_ENTRANCEDEVICEPAGING']._serialized_start=3145
  _globals['_ENTRANCEDEVICEPAGING']._serialized_end=3522
  _globals['_ENTRANCEDEVICEPAGING_ORDERBYTYPE']._serialized_start=3371
  _globals['_ENTRANCEDEVICEPAGING_ORDERBYTYPE']._serialized_end=3458
  _globals['_ENTRANCEDEVICEPAGING_DIRECTIONTYPE']._serialized_start=955
  _globals['_ENTRANCEDEVICEPAGING_DIRECTIONTYPE']._serialized_end=1017
  _globals['_GETENTRANCEDEVICELISTREQUEST']._serialized_start=3525
  _globals['_GETENTRANCEDEVICELISTREQUEST']._serialized_end=3701
  _globals['_GETENTRANCEDEVICELISTRESPONSE']._serialized_start=3704
  _globals['_GETENTRANCEDEVICELISTRESPONSE']._serialized_end=3968
  _globals['_GETENTRANCEDEVICELISTRESPONSE_ERROR']._serialized_start=1336
  _globals['_GETENTRANCEDEVICELISTRESPONSE_ERROR']._serialized_end=1419
  _globals['_ENTRANCESERVICE']._serialized_start=3971
  _globals['_ENTRANCESERVICE']._serialized_end=5282
# @@protoc_insertion_point(module_scope)
