# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/subscription/v1/keyapis_subscription_privilege_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 google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?keyapis/subscription/v1/keyapis_subscription_privilege_v1.proto\x12\x17keyapis.subscription.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/descriptor.proto\"\xb8\x06\n\tPrivilege\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x66lat_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x04type\x18\x03 \x01(\x0e\x32\'.keyapis.subscription.v1.Privilege.TypeB\x03\xe0\x41\x02\x12\x45\n\nstate_type\x18\x04 \x01(\x0e\x32,.keyapis.subscription.v1.Privilege.StateTypeB\x03\xe0\x41\x02\"\x91\x04\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x10\n\x0cINTERCOM_USE\x10\x01\x12\x11\n\rINTERCOM_OPEN\x10\x02\x12\x15\n\x11INTERCOM_CODE_USE\x10\x03\x12\x15\n\x11INTERCOM_RFID_USE\x10\x04\x12\x16\n\x12INTERCOM_EVENT_USE\x10\x05\x12\x17\n\x13INTERCOM_CAMERA_USE\x10\x06\x12\x1b\n\x17INTERCOM_CAMERA_ARCHIVE\x10\x07\x12\x1d\n\x19INTERCOM_CALLREDIRECT_APP\x10\x08\x12\x1e\n\x1aINTERCOM_CALLREDIRECT_PSTN\x10\t\x12\x1d\n\x19INTERCOM_CALLREDIRECT_SIP\x10\n\x12\x0f\n\x0b\x42\x41RRIER_USE\x10\x0b\x12\x10\n\x0c\x42\x41RRIER_OPEN\x10\x0c\x12\x14\n\x10\x42\x41RRIER_CODE_USE\x10\r\x12\x15\n\x11\x42\x41RRIER_EVENT_USE\x10\x0e\x12\x16\n\x12\x42\x41RRIER_CAMERA_USE\x10\x0f\x12\x1a\n\x16\x42\x41RRIER_CAMERA_ARCHIVE\x10\x10\x12\n\n\x06\x46R_USE\x10\x11\x12\x11\n\rTELEMETRY_USE\x10\x12\x12\x0e\n\nCAMERA_USE\x10\x13\x12\x12\n\x0e\x43\x41MERA_ARCHIVE\x10\x14\x12\x1b\n\x17INTERCOM_CMS_PHONES_USE\x10\x15\x12\x14\n\x10\x43\x41MERA_EVENT_USE\x10\x16\"f\n\tStateType\x12\x16\n\x12STATE_TYPE_UNKNOWN\x10\x00\x12\x0f\n\x0b\x43\x41N_BE_PAID\x10\x01\x12\x0c\n\x08NOT_PAID\x10\x02\x12\r\n\tTURNS_OFF\x10\x03\x12\t\n\x05PROMO\x10\x04\x12\x08\n\x04PAID\x10\x05\"\xb6\x03\n\x0fPrivilegeFilter\x12\x0e\n\x06orpons\x18\x01 \x03(\x03\x12\x14\n\x0c\x66lat_numbers\x18\x02 \x03(\t\x12\x36\n\x05types\x18\x03 \x03(\x0e\x32\'.keyapis.subscription.v1.Privilege.Type\x12\x41\n\x0bstate_types\x18\x04 \x03(\x0e\x32,.keyapis.subscription.v1.Privilege.StateType\x1a\x81\x02\n\x0fValidationError\x12X\n\x06orpons\x18\x01 \x01(\x0b\x32\x46.keyapis.subscription.v1.PrivilegeFilter.ValidationError.OrponsInvalidH\x00\x12\x63\n\x0c\x66lat_numbers\x18\x02 \x01(\x0b\x32K.keyapis.subscription.v1.PrivilegeFilter.ValidationError.FlatNumbersInvalidH\x00\x1a\x0f\n\rOrponsInvalid\x1a\x14\n\x12\x46latNumbersInvalidB\x08\n\x06reason\"\xb1\x04\n\x0fPrivilegePaging\x12K\n\rorder_by_type\x18\x01 \x01(\x0e\x32\x34.keyapis.subscription.v1.PrivilegePaging.OrderByType\x12N\n\x0e\x64irection_type\x18\x02 \x01(\x0e\x32\x36.keyapis.subscription.v1.PrivilegePaging.DirectionType\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x1a\xee\x01\n\x0fValidationError\x12V\n\x05limit\x18\x01 \x01(\x0b\x32\x45.keyapis.subscription.v1.PrivilegePaging.ValidationError.LimitInvalidH\x00\x12X\n\x06offset\x18\x02 \x01(\x0b\x32\x46.keyapis.subscription.v1.PrivilegePaging.ValidationError.OffsetInvalidH\x00\x1a\x0e\n\x0cLimitInvalid\x1a\x0f\n\rOffsetInvalidB\x08\n\x06reason\"1\n\x0bOrderByType\x12\x19\n\x15ORDER_BY_TYPE_UNKNOWN\x10\x00\x12\x07\n\x03KEY\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\"\x9d\x01\n\x17GetPrivilegeListRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32(.keyapis.subscription.v1.PrivilegeFilter\x12:\n\x06paging\x18\x02 \x01(\x0b\x32(.keyapis.subscription.v1.PrivilegePagingH\x00\x42\x0c\n\npagination\"\xf6\x02\n\x18GetPrivilegeListResponse\x12\x32\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".keyapis.subscription.v1.PrivilegeH\x00\x12H\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x37.keyapis.subscription.v1.GetPrivilegeListResponse.ErrorH\x00\x1a\xd3\x01\n\x05\x45rror\x12_\n\x1bprivilege_filter_validation\x18\x01 \x01(\x0b\x32\x38.keyapis.subscription.v1.PrivilegeFilter.ValidationErrorH\x00\x12_\n\x1bprivilege_paging_validation\x18\x02 \x01(\x0b\x32\x38.keyapis.subscription.v1.PrivilegePaging.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"T\n\x18GetPrivilegeCountRequest\x12\x38\n\x06\x66ilter\x18\x01 \x01(\x0b\x32(.keyapis.subscription.v1.PrivilegeFilter\"\xf2\x01\n\x19GetPrivilegeCountResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x05H\x00\x12I\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x38.keyapis.subscription.v1.GetPrivilegeCountResponse.ErrorH\x00\x1ar\n\x05\x45rror\x12_\n\x1bprivilege_filter_validation\x18\x01 \x01(\x0b\x32\x38.keyapis.subscription.v1.PrivilegeFilter.ValidationErrorH\x00\x42\x08\n\x06reasonB\x06\n\x04type\"\x8e\x01\n\x18GetPrivilegeCheckRequest\x12\x12\n\x05orpon\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x66lat_number\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0eprivilege_type\x18\x03 \x01(\x0e\x32\'.keyapis.subscription.v1.Privilege.TypeB\x03\xe0\x41\x02\"3\n\x19GetPrivilegeCheckResponse\x12\x0e\n\x04\x64\x61ta\x18\x01 \x01(\x08H\x00\x42\x06\n\x04type2\xb8\x04\n\x10PrivilegeService\x12\xa6\x01\n\x10GetPrivilegeList\x12\x30.keyapis.subscription.v1.GetPrivilegeListRequest\x1a\x31.keyapis.subscription.v1.GetPrivilegeListResponse\"+\x82\xd3\xe4\x93\x02%\x12#/subscription/api/v1/privilege/list0\x01\x12\xa8\x01\n\x11GetPrivilegeCount\x12\x31.keyapis.subscription.v1.GetPrivilegeCountRequest\x1a\x32.keyapis.subscription.v1.GetPrivilegeCountResponse\",\x82\xd3\xe4\x93\x02&\x12$/subscription/api/v1/privilege/count\x12\xcf\x01\n\x11GetPrivilegeCheck\x12\x31.keyapis.subscription.v1.GetPrivilegeCheckRequest\x1a\x32.keyapis.subscription.v1.GetPrivilegeCheckResponse\"S\x82\xd3\xe4\x93\x02M\x12K/subscription/api/v1/privilege/check/{orpon}/{flat_number}/{privilege_type}B\xc4\x01\n\x1aru.keyapis.subscription.v1B\x1aKeyapisSubscriptionV1ProtoH\x03P\x00Z\x18/keyapis_subscription_v1\xd8\x01\x01\xf8\x01\x01\xa2\x02\x15KEYAPISSUBSCRIPTIONV1\xaa\x02\x17Keyapis.Subscription.V1\xca\x02\x17Keyapis\\Subscription\\V1\xea\x02\x19Keyapis::Subscription::V1b\x06proto3')

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

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032ru.keyapis.subscription.v1B\032KeyapisSubscriptionV1ProtoH\003P\000Z\030/keyapis_subscription_v1\330\001\001\370\001\001\242\002\025KEYAPISSUBSCRIPTIONV1\252\002\027Keyapis.Subscription.V1\312\002\027Keyapis\\Subscription\\V1\352\002\031Keyapis::Subscription::V1'
  _PRIVILEGE.fields_by_name['orpon']._options = None
  _PRIVILEGE.fields_by_name['orpon']._serialized_options = b'\340A\002'
  _PRIVILEGE.fields_by_name['flat_number']._options = None
  _PRIVILEGE.fields_by_name['flat_number']._serialized_options = b'\340A\002'
  _PRIVILEGE.fields_by_name['type']._options = None
  _PRIVILEGE.fields_by_name['type']._serialized_options = b'\340A\002'
  _PRIVILEGE.fields_by_name['state_type']._options = None
  _PRIVILEGE.fields_by_name['state_type']._serialized_options = b'\340A\002'
  _GETPRIVILEGECHECKREQUEST.fields_by_name['orpon']._options = None
  _GETPRIVILEGECHECKREQUEST.fields_by_name['orpon']._serialized_options = b'\340A\002'
  _GETPRIVILEGECHECKREQUEST.fields_by_name['flat_number']._options = None
  _GETPRIVILEGECHECKREQUEST.fields_by_name['flat_number']._serialized_options = b'\340A\002'
  _GETPRIVILEGECHECKREQUEST.fields_by_name['privilege_type']._options = None
  _GETPRIVILEGECHECKREQUEST.fields_by_name['privilege_type']._serialized_options = b'\340A\002'
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeList']._options = None
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeList']._serialized_options = b'\202\323\344\223\002%\022#/subscription/api/v1/privilege/list'
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeCount']._options = None
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeCount']._serialized_options = b'\202\323\344\223\002&\022$/subscription/api/v1/privilege/count'
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeCheck']._options = None
  _PRIVILEGESERVICE.methods_by_name['GetPrivilegeCheck']._serialized_options = b'\202\323\344\223\002M\022K/subscription/api/v1/privilege/check/{orpon}/{flat_number}/{privilege_type}'
  _globals['_PRIVILEGE']._serialized_start=190
  _globals['_PRIVILEGE']._serialized_end=1014
  _globals['_PRIVILEGE_TYPE']._serialized_start=381
  _globals['_PRIVILEGE_TYPE']._serialized_end=910
  _globals['_PRIVILEGE_STATETYPE']._serialized_start=912
  _globals['_PRIVILEGE_STATETYPE']._serialized_end=1014
  _globals['_PRIVILEGEFILTER']._serialized_start=1017
  _globals['_PRIVILEGEFILTER']._serialized_end=1455
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR']._serialized_start=1198
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR']._serialized_end=1455
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR_ORPONSINVALID']._serialized_start=1408
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR_ORPONSINVALID']._serialized_end=1423
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR_FLATNUMBERSINVALID']._serialized_start=1425
  _globals['_PRIVILEGEFILTER_VALIDATIONERROR_FLATNUMBERSINVALID']._serialized_end=1445
  _globals['_PRIVILEGEPAGING']._serialized_start=1458
  _globals['_PRIVILEGEPAGING']._serialized_end=2019
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR']._serialized_start=1666
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR']._serialized_end=1904
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR_LIMITINVALID']._serialized_start=1863
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR_LIMITINVALID']._serialized_end=1877
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR_OFFSETINVALID']._serialized_start=1879
  _globals['_PRIVILEGEPAGING_VALIDATIONERROR_OFFSETINVALID']._serialized_end=1894
  _globals['_PRIVILEGEPAGING_ORDERBYTYPE']._serialized_start=1906
  _globals['_PRIVILEGEPAGING_ORDERBYTYPE']._serialized_end=1955
  _globals['_PRIVILEGEPAGING_DIRECTIONTYPE']._serialized_start=1957
  _globals['_PRIVILEGEPAGING_DIRECTIONTYPE']._serialized_end=2019
  _globals['_GETPRIVILEGELISTREQUEST']._serialized_start=2022
  _globals['_GETPRIVILEGELISTREQUEST']._serialized_end=2179
  _globals['_GETPRIVILEGELISTRESPONSE']._serialized_start=2182
  _globals['_GETPRIVILEGELISTRESPONSE']._serialized_end=2556
  _globals['_GETPRIVILEGELISTRESPONSE_ERROR']._serialized_start=2337
  _globals['_GETPRIVILEGELISTRESPONSE_ERROR']._serialized_end=2548
  _globals['_GETPRIVILEGECOUNTREQUEST']._serialized_start=2558
  _globals['_GETPRIVILEGECOUNTREQUEST']._serialized_end=2642
  _globals['_GETPRIVILEGECOUNTRESPONSE']._serialized_start=2645
  _globals['_GETPRIVILEGECOUNTRESPONSE']._serialized_end=2887
  _globals['_GETPRIVILEGECOUNTRESPONSE_ERROR']._serialized_start=2765
  _globals['_GETPRIVILEGECOUNTRESPONSE_ERROR']._serialized_end=2879
  _globals['_GETPRIVILEGECHECKREQUEST']._serialized_start=2890
  _globals['_GETPRIVILEGECHECKREQUEST']._serialized_end=3032
  _globals['_GETPRIVILEGECHECKRESPONSE']._serialized_start=3034
  _globals['_GETPRIVILEGECHECKRESPONSE']._serialized_end=3085
  _globals['_PRIVILEGESERVICE']._serialized_start=3088
  _globals['_PRIVILEGESERVICE']._serialized_end=3656
# @@protoc_insertion_point(module_scope)
