"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import abc
import collections.abc
import core.mgmt.v1alpha.mgmt_pb2
import grpc
import grpc.aio
import typing

_T = typing.TypeVar('_T')

class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
    ...

class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext):  # type: ignore
    ...

class MgmtPrivateServiceStub:
    """Mgmt service responds to internal access"""

    def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
    ListUsersAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse,
    ]
    """ListUsersAdmin method receives a ListUsersAdminRequest message and returns
    a ListUsersAdminResponse message.
    """
    CreateUserAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse,
    ]
    """CreateUserAdmin receives a CreateUserAdminRequest message and returns a
    a GetUserAdminResponse
    """
    GetUserAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse,
    ]
    """GetUserAdmin method receives a GetUserAdminRequest message and returns
    a GetUserAdminResponse message.
    """
    UpdateUserAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse,
    ]
    """UpdateUserAdmin method receives a UpdateUserAdminRequest message and
    returns a UpdateUserAdminResponse
    """
    DeleteUserAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse,
    ]
    """DeleteUserAdmin method receives a DeleteUserAdminRequest message and
    returns a DeleteUserAdminResponse
    """
    LookUpUserAdmin: grpc.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse,
    ]
    """LookUpUserAdmin method receives a LookUpUserAdminRequest message and
    returns a LookUpUserAdminResponse
    """

class MgmtPrivateServiceAsyncStub:
    """Mgmt service responds to internal access"""

    ListUsersAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse,
    ]
    """ListUsersAdmin method receives a ListUsersAdminRequest message and returns
    a ListUsersAdminResponse message.
    """
    CreateUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse,
    ]
    """CreateUserAdmin receives a CreateUserAdminRequest message and returns a
    a GetUserAdminResponse
    """
    GetUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse,
    ]
    """GetUserAdmin method receives a GetUserAdminRequest message and returns
    a GetUserAdminResponse message.
    """
    UpdateUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse,
    ]
    """UpdateUserAdmin method receives a UpdateUserAdminRequest message and
    returns a UpdateUserAdminResponse
    """
    DeleteUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse,
    ]
    """DeleteUserAdmin method receives a DeleteUserAdminRequest message and
    returns a DeleteUserAdminResponse
    """
    LookUpUserAdmin: grpc.aio.UnaryUnaryMultiCallable[
        core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
        core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse,
    ]
    """LookUpUserAdmin method receives a LookUpUserAdminRequest message and
    returns a LookUpUserAdminResponse
    """

class MgmtPrivateServiceServicer(metaclass=abc.ABCMeta):
    """Mgmt service responds to internal access"""

    @abc.abstractmethod
    def ListUsersAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.ListUsersAdminResponse]]:
        """ListUsersAdmin method receives a ListUsersAdminRequest message and returns
        a ListUsersAdminResponse message.
        """
    @abc.abstractmethod
    def CreateUserAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.CreateUserAdminResponse]]:
        """CreateUserAdmin receives a CreateUserAdminRequest message and returns a
        a GetUserAdminResponse
        """
    @abc.abstractmethod
    def GetUserAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.GetUserAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.GetUserAdminResponse]]:
        """GetUserAdmin method receives a GetUserAdminRequest message and returns
        a GetUserAdminResponse message.
        """
    @abc.abstractmethod
    def UpdateUserAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.UpdateUserAdminResponse]]:
        """UpdateUserAdmin method receives a UpdateUserAdminRequest message and
        returns a UpdateUserAdminResponse
        """
    @abc.abstractmethod
    def DeleteUserAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.DeleteUserAdminResponse]]:
        """DeleteUserAdmin method receives a DeleteUserAdminRequest message and
        returns a DeleteUserAdminResponse
        """
    @abc.abstractmethod
    def LookUpUserAdmin(
        self,
        request: core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminRequest,
        context: _ServicerContext,
    ) -> typing.Union[core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse, collections.abc.Awaitable[core.mgmt.v1alpha.mgmt_pb2.LookUpUserAdminResponse]]:
        """LookUpUserAdmin method receives a LookUpUserAdminRequest message and
        returns a LookUpUserAdminResponse
        """

def add_MgmtPrivateServiceServicer_to_server(servicer: MgmtPrivateServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
