# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: chirpstack-api/api/tenant.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 message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63hirpstack-api/api/tenant.proto\x12\x03\x61pi\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xa1\x01\n\x06Tenant\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x19\n\x11\x63\x61n_have_gateways\x18\x04 \x01(\x08\x12\x19\n\x11max_gateway_count\x18\x05 \x01(\r\x12\x18\n\x10max_device_count\x18\x06 \x01(\r\x12\x18\n\x10private_gateways\x18\x07 \x01(\x08\"\xf4\x01\n\x0eTenantListItem\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x19\n\x11\x63\x61n_have_gateways\x18\x05 \x01(\x08\x12\x18\n\x10private_gateways\x18\x06 \x01(\x08\x12\x19\n\x11max_gateway_count\x18\x07 \x01(\r\x12\x18\n\x10max_device_count\x18\x08 \x01(\r\"2\n\x13\x43reateTenantRequest\x12\x1b\n\x06tenant\x18\x01 \x01(\x0b\x32\x0b.api.Tenant\"\"\n\x14\x43reateTenantResponse\x12\n\n\x02id\x18\x01 \x01(\t\"\x1e\n\x10GetTenantRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x90\x01\n\x11GetTenantResponse\x12\x1b\n\x06tenant\x18\x01 \x01(\x0b\x32\x0b.api.Tenant\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"2\n\x13UpdateTenantRequest\x12\x1b\n\x06tenant\x18\x01 \x01(\x0b\x32\x0b.api.Tenant\"!\n\x13\x44\x65leteTenantRequest\x12\n\n\x02id\x18\x01 \x01(\t\"C\n\x12ListTenantsRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x0e\n\x06search\x18\x03 \x01(\t\"O\n\x13ListTenantsResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12#\n\x06result\x18\x02 \x03(\x0b\x32\x13.api.TenantListItem\"\x84\x01\n\nTenantUser\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12\x10\n\x08is_admin\x18\x03 \x01(\x08\x12\x17\n\x0fis_device_admin\x18\x04 \x01(\x08\x12\x18\n\x10is_gateway_admin\x18\x05 \x01(\x08\x12\r\n\x05\x65mail\x18\x06 \x01(\t\"\xec\x01\n\x12TenantUserListItem\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05\x65mail\x18\x05 \x01(\t\x12\x10\n\x08is_admin\x18\x06 \x01(\x08\x12\x17\n\x0fis_device_admin\x18\x07 \x01(\x08\x12\x18\n\x10is_gateway_admin\x18\x08 \x01(\x08\"<\n\x14\x41\x64\x64TenantUserRequest\x12$\n\x0btenant_user\x18\x01 \x01(\x0b\x32\x0f.api.TenantUser\":\n\x14GetTenantUserRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\"\x9d\x01\n\x15GetTenantUserResponse\x12$\n\x0btenant_user\x18\x01 \x01(\x0b\x32\x0f.api.TenantUser\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"?\n\x17UpdateTenantUserRequest\x12$\n\x0btenant_user\x18\x01 \x01(\x0b\x32\x0f.api.TenantUser\"=\n\x17\x44\x65leteTenantUserRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\"J\n\x16ListTenantUsersRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\r\x12\x0e\n\x06offset\x18\x03 \x01(\r\"W\n\x17ListTenantUsersResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12\'\n\x06result\x18\x02 \x03(\x0b\x32\x17.api.TenantUserListItem2\x9b\x05\n\rTenantService\x12?\n\x06\x43reate\x12\x18.api.CreateTenantRequest\x1a\x19.api.CreateTenantResponse\"\x00\x12\x36\n\x03Get\x12\x15.api.GetTenantRequest\x1a\x16.api.GetTenantResponse\"\x00\x12<\n\x06Update\x12\x18.api.UpdateTenantRequest\x1a\x16.google.protobuf.Empty\"\x00\x12<\n\x06\x44\x65lete\x12\x18.api.DeleteTenantRequest\x1a\x16.google.protobuf.Empty\"\x00\x12;\n\x04List\x12\x17.api.ListTenantsRequest\x1a\x18.api.ListTenantsResponse\"\x00\x12>\n\x07\x41\x64\x64User\x12\x19.api.AddTenantUserRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x42\n\x07GetUser\x12\x19.api.GetTenantUserRequest\x1a\x1a.api.GetTenantUserResponse\"\x00\x12\x44\n\nUpdateUser\x12\x1c.api.UpdateTenantUserRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x44\n\nDeleteUser\x12\x1c.api.DeleteTenantUserRequest\x1a\x16.google.protobuf.Empty\"\x00\x12H\n\tListUsers\x12\x1b.api.ListTenantUsersRequest\x1a\x1c.api.ListTenantUsersResponse\"\x00\x42P\n\x11io.chirpstack.apiB\rInternalProtoP\x01Z*github.com/chirpstack/chirpstack/api/go/v4b\x06proto3')



_TENANT = DESCRIPTOR.message_types_by_name['Tenant']
_TENANTLISTITEM = DESCRIPTOR.message_types_by_name['TenantListItem']
_CREATETENANTREQUEST = DESCRIPTOR.message_types_by_name['CreateTenantRequest']
_CREATETENANTRESPONSE = DESCRIPTOR.message_types_by_name['CreateTenantResponse']
_GETTENANTREQUEST = DESCRIPTOR.message_types_by_name['GetTenantRequest']
_GETTENANTRESPONSE = DESCRIPTOR.message_types_by_name['GetTenantResponse']
_UPDATETENANTREQUEST = DESCRIPTOR.message_types_by_name['UpdateTenantRequest']
_DELETETENANTREQUEST = DESCRIPTOR.message_types_by_name['DeleteTenantRequest']
_LISTTENANTSREQUEST = DESCRIPTOR.message_types_by_name['ListTenantsRequest']
_LISTTENANTSRESPONSE = DESCRIPTOR.message_types_by_name['ListTenantsResponse']
_TENANTUSER = DESCRIPTOR.message_types_by_name['TenantUser']
_TENANTUSERLISTITEM = DESCRIPTOR.message_types_by_name['TenantUserListItem']
_ADDTENANTUSERREQUEST = DESCRIPTOR.message_types_by_name['AddTenantUserRequest']
_GETTENANTUSERREQUEST = DESCRIPTOR.message_types_by_name['GetTenantUserRequest']
_GETTENANTUSERRESPONSE = DESCRIPTOR.message_types_by_name['GetTenantUserResponse']
_UPDATETENANTUSERREQUEST = DESCRIPTOR.message_types_by_name['UpdateTenantUserRequest']
_DELETETENANTUSERREQUEST = DESCRIPTOR.message_types_by_name['DeleteTenantUserRequest']
_LISTTENANTUSERSREQUEST = DESCRIPTOR.message_types_by_name['ListTenantUsersRequest']
_LISTTENANTUSERSRESPONSE = DESCRIPTOR.message_types_by_name['ListTenantUsersResponse']
Tenant = _reflection.GeneratedProtocolMessageType('Tenant', (_message.Message,), {
  'DESCRIPTOR' : _TENANT,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.Tenant)
  })
_sym_db.RegisterMessage(Tenant)

TenantListItem = _reflection.GeneratedProtocolMessageType('TenantListItem', (_message.Message,), {
  'DESCRIPTOR' : _TENANTLISTITEM,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.TenantListItem)
  })
_sym_db.RegisterMessage(TenantListItem)

CreateTenantRequest = _reflection.GeneratedProtocolMessageType('CreateTenantRequest', (_message.Message,), {
  'DESCRIPTOR' : _CREATETENANTREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.CreateTenantRequest)
  })
_sym_db.RegisterMessage(CreateTenantRequest)

CreateTenantResponse = _reflection.GeneratedProtocolMessageType('CreateTenantResponse', (_message.Message,), {
  'DESCRIPTOR' : _CREATETENANTRESPONSE,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.CreateTenantResponse)
  })
_sym_db.RegisterMessage(CreateTenantResponse)

GetTenantRequest = _reflection.GeneratedProtocolMessageType('GetTenantRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETTENANTREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.GetTenantRequest)
  })
_sym_db.RegisterMessage(GetTenantRequest)

GetTenantResponse = _reflection.GeneratedProtocolMessageType('GetTenantResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETTENANTRESPONSE,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.GetTenantResponse)
  })
_sym_db.RegisterMessage(GetTenantResponse)

UpdateTenantRequest = _reflection.GeneratedProtocolMessageType('UpdateTenantRequest', (_message.Message,), {
  'DESCRIPTOR' : _UPDATETENANTREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.UpdateTenantRequest)
  })
_sym_db.RegisterMessage(UpdateTenantRequest)

DeleteTenantRequest = _reflection.GeneratedProtocolMessageType('DeleteTenantRequest', (_message.Message,), {
  'DESCRIPTOR' : _DELETETENANTREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.DeleteTenantRequest)
  })
_sym_db.RegisterMessage(DeleteTenantRequest)

ListTenantsRequest = _reflection.GeneratedProtocolMessageType('ListTenantsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTTENANTSREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.ListTenantsRequest)
  })
_sym_db.RegisterMessage(ListTenantsRequest)

ListTenantsResponse = _reflection.GeneratedProtocolMessageType('ListTenantsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTTENANTSRESPONSE,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.ListTenantsResponse)
  })
_sym_db.RegisterMessage(ListTenantsResponse)

TenantUser = _reflection.GeneratedProtocolMessageType('TenantUser', (_message.Message,), {
  'DESCRIPTOR' : _TENANTUSER,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.TenantUser)
  })
_sym_db.RegisterMessage(TenantUser)

TenantUserListItem = _reflection.GeneratedProtocolMessageType('TenantUserListItem', (_message.Message,), {
  'DESCRIPTOR' : _TENANTUSERLISTITEM,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.TenantUserListItem)
  })
_sym_db.RegisterMessage(TenantUserListItem)

AddTenantUserRequest = _reflection.GeneratedProtocolMessageType('AddTenantUserRequest', (_message.Message,), {
  'DESCRIPTOR' : _ADDTENANTUSERREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.AddTenantUserRequest)
  })
_sym_db.RegisterMessage(AddTenantUserRequest)

GetTenantUserRequest = _reflection.GeneratedProtocolMessageType('GetTenantUserRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETTENANTUSERREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.GetTenantUserRequest)
  })
_sym_db.RegisterMessage(GetTenantUserRequest)

GetTenantUserResponse = _reflection.GeneratedProtocolMessageType('GetTenantUserResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETTENANTUSERRESPONSE,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.GetTenantUserResponse)
  })
_sym_db.RegisterMessage(GetTenantUserResponse)

UpdateTenantUserRequest = _reflection.GeneratedProtocolMessageType('UpdateTenantUserRequest', (_message.Message,), {
  'DESCRIPTOR' : _UPDATETENANTUSERREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.UpdateTenantUserRequest)
  })
_sym_db.RegisterMessage(UpdateTenantUserRequest)

DeleteTenantUserRequest = _reflection.GeneratedProtocolMessageType('DeleteTenantUserRequest', (_message.Message,), {
  'DESCRIPTOR' : _DELETETENANTUSERREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.DeleteTenantUserRequest)
  })
_sym_db.RegisterMessage(DeleteTenantUserRequest)

ListTenantUsersRequest = _reflection.GeneratedProtocolMessageType('ListTenantUsersRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTTENANTUSERSREQUEST,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.ListTenantUsersRequest)
  })
_sym_db.RegisterMessage(ListTenantUsersRequest)

ListTenantUsersResponse = _reflection.GeneratedProtocolMessageType('ListTenantUsersResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTTENANTUSERSRESPONSE,
  '__module__' : 'chirpstack_api.api.tenant_pb2'
  # @@protoc_insertion_point(class_scope:api.ListTenantUsersResponse)
  })
_sym_db.RegisterMessage(ListTenantUsersResponse)

_TENANTSERVICE = DESCRIPTOR.services_by_name['TenantService']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\021io.chirpstack.apiB\rInternalProtoP\001Z*github.com/chirpstack/chirpstack/api/go/v4'
  _TENANT._serialized_start=103
  _TENANT._serialized_end=264
  _TENANTLISTITEM._serialized_start=267
  _TENANTLISTITEM._serialized_end=511
  _CREATETENANTREQUEST._serialized_start=513
  _CREATETENANTREQUEST._serialized_end=563
  _CREATETENANTRESPONSE._serialized_start=565
  _CREATETENANTRESPONSE._serialized_end=599
  _GETTENANTREQUEST._serialized_start=601
  _GETTENANTREQUEST._serialized_end=631
  _GETTENANTRESPONSE._serialized_start=634
  _GETTENANTRESPONSE._serialized_end=778
  _UPDATETENANTREQUEST._serialized_start=780
  _UPDATETENANTREQUEST._serialized_end=830
  _DELETETENANTREQUEST._serialized_start=832
  _DELETETENANTREQUEST._serialized_end=865
  _LISTTENANTSREQUEST._serialized_start=867
  _LISTTENANTSREQUEST._serialized_end=934
  _LISTTENANTSRESPONSE._serialized_start=936
  _LISTTENANTSRESPONSE._serialized_end=1015
  _TENANTUSER._serialized_start=1018
  _TENANTUSER._serialized_end=1150
  _TENANTUSERLISTITEM._serialized_start=1153
  _TENANTUSERLISTITEM._serialized_end=1389
  _ADDTENANTUSERREQUEST._serialized_start=1391
  _ADDTENANTUSERREQUEST._serialized_end=1451
  _GETTENANTUSERREQUEST._serialized_start=1453
  _GETTENANTUSERREQUEST._serialized_end=1511
  _GETTENANTUSERRESPONSE._serialized_start=1514
  _GETTENANTUSERRESPONSE._serialized_end=1671
  _UPDATETENANTUSERREQUEST._serialized_start=1673
  _UPDATETENANTUSERREQUEST._serialized_end=1736
  _DELETETENANTUSERREQUEST._serialized_start=1738
  _DELETETENANTUSERREQUEST._serialized_end=1799
  _LISTTENANTUSERSREQUEST._serialized_start=1801
  _LISTTENANTUSERSREQUEST._serialized_end=1875
  _LISTTENANTUSERSRESPONSE._serialized_start=1877
  _LISTTENANTUSERSRESPONSE._serialized_end=1964
  _TENANTSERVICE._serialized_start=1967
  _TENANTSERVICE._serialized_end=2634
# @@protoc_insertion_point(module_scope)
