
    `ic
                     X    d Z ddlmZ ddlZddlmZ ddlmZ  G d de          Z	dgZ
dS )z/The AsyncIO version of the reflection servicer.    )AsyncIterableN)reflection_pb2)BaseReflectionServicerc                   N    e Zd ZdZdeej                 deej                 fdZdS )ReflectionServicerz,Servicer handling RPCs for service statuses.request_iteratorreturnc                &  K   |2 3 d {V }|                     d          r|                     ||j                  W V  ;|                     d          r|                     ||j                  W V  o|                     d          r/|                     ||j        j        |j        j                  W V  |                     d          r| 	                    ||j
                  W V  |                     d          r|                     |          W V  t          j        t          j        t          j        j        j        d         t          j        j        j        d                                                   |	          W V  6 d S )
Nfile_by_filenamefile_containing_symbolfile_containing_extensionall_extension_numbers_of_typelist_servicesr      )
error_codeerror_message)error_responseoriginal_request)HasField_file_by_filenamer   _file_containing_symbolr   _file_containing_extensionr   containing_typeextension_number_all_extension_numbers_of_typer   _list_services_reflection_pb2ServerReflectionResponseErrorResponsegrpc
StatusCodeINVALID_ARGUMENTvalueencode)selfr   unused_contextrequests       r/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/grpc_reflection/v1alpha/_async.pyServerReflectionInfoz'ReflectionServicer.ServerReflectionInfo   s      . 	 	 	 	 	 	 	' 233 ,,Wg6NOOOOOOO!!":;; 22W;       !!"=>> 555E5F      
 !!"ABB 99WB       !!/22 ))'2222222%>#2#@#'?#C#I!#L&*o&F&L' &((	$ $ $ &-       ) .--s   FN)	__name__
__module____qualname____doc__r   r   ServerReflectionRequestr   r)        r(   r   r      sS        66#'3
# 
?	@# # # # # #r0   r   )r-   typingr   r    grpc_reflection.v1alphar   r   grpc_reflection.v1alpha._baser   r   __all__r/   r0   r(   <module>r5      s    6 5              E E E E E E @ @ @ @ @ @& & & & &/ & & &T r0   