Ë
    `Qêj=  ã                   óŽ   — d Z dZddlmZ ddlmZ ddlmZ ddl	m
Z
 ddl	mZ  ej                  «       Zd„ Zd	„ Zd
„ Zd„ Zd„ Zd„ Zy)zèBuilds descriptors, message classes and services for generated _pb2.py.

This file is only called in python generated _pb2.py files. It builds
descriptors, message classes and services that users can directly use
in generated code.
zjieluo@google.com (Jie Luo)é    )Úmessage)Ú
reflection)Úsymbol_database)Úenum_type_wrapper)Úpython_messagec                 óú   — |j                   j                  «       D ]-  \  }}||j                  «       z   }|| |<   t        | ||dz   «       Œ/ |j                  D ]"  }|| ||j
                  j                  «       z   <   Œ$ y )NÚ_)Únested_types_by_nameÚitemsÚupperÚ_BuildNestedDescriptorsÚ
enum_typesÚname)ÚmoduleÚmsg_desÚprefixr   Ú
nested_msgÚmodule_nameÚenum_dess          úe/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/google/protobuf/internal/builder.pyr   r      s…   € Ø!×6Ñ6×<Ñ<Ó>ò CÑ€dˆJØ˜4Ÿ:™:›<Ñ'€KØ$€Fˆ;ÑÜ˜F J°¸cÑ0AÕBðCð ×$Ñ$ò 6€hØ-5€Fˆ6�H—M‘M×'Ñ'Ó)Ñ)Ò*ñ6ó    c                 ó˜   — | j                   j                  «       D ]-  \  }}d|j                  «       z   }|||<   t        |||dz   «       Œ/ y)z‚Builds message and enum descriptors.

  Args:
    file_des: FileDescriptor of the .proto file
    module: Generated _pb2 module
  r	   N)Úmessage_types_by_namer   r   r   )Úfile_desr   r   r   r   s        r   ÚBuildMessageAndEnumDescriptorsr   "   sS   € ð  ×5Ñ5×;Ñ;Ó=ò @�m€dˆGØ˜Ÿ
™
›Ñ$€KØ!€Fˆ;ÑÜ˜F G¨[¸3Ñ->Õ?ñ@r   c                 óP  — i }|j                   j                  «       D ]%  \  }}t        | |||j                  z   dz   «      ||<   Œ' ||d<   | |d<   ||j                  z   |d<   t	        j
                  |j                  t        j                  f|«      }t        j                  |«       |S )Nú.Ú
DESCRIPTORÚ
__module__Ú__qualname__)
r
   r   Ú_BuildMessager   Ú_reflectionÚGeneratedProtocolMessageTypeÚ_messageÚMessageÚ_sym_dbÚRegisterMessage)r   r   r   Úcreate_dictr   r   Úmessage_classs          r   r!   r!   /   s±   € Ø€+Ø!×6Ñ6×<Ñ<Ó>ò Ñ€dˆJÜ%Ø�Z ¨'¯,©,Ñ!6¸Ñ!<ó€K�Òðð &€+ˆlÑØ)€+ˆlÑØ &¨¯©Ñ 5€+ˆnÑÜ×:Ñ:Ø‡l�l”X×%Ñ%Ð'¨ó€-ô 
×Ñ˜-Ô(Ø	Ðr   c                 óZ  — | j                   j                  «       D ]]  \  }}||d|j                  «       z   <   t        j                  |«      ||<   |j
                  D ]  }|j                  ||j                  <   Œ Œ_ | j                  j                  «       D ]*  \  }}|j                  ||j                  «       dz   <   |||<   Œ, | j                  j                  «       D ]  \  }}||d|j                  «       z   <   Œ | j                  j                  «       D ]  \  }}t        ||d«      ||<   Œ y)zÇBuilds top level descriptors and message classes.

  Args:
    file_des: FileDescriptor of the .proto file
    module_name: str, the name of generated _pb2 module
    module: Generated _pb2 module
  r	   Ú_FIELD_NUMBERÚ N)Úenum_types_by_namer   r   r   ÚEnumTypeWrapperÚvaluesÚnumberr   Úextensions_by_nameÚservices_by_namer   r!   )	r   r   r   r   r   Ú
enum_valueÚextension_desÚservicer   s	            r   ÚBuildTopDescriptorsAndMessagesr6   ?   s.  € ð !×3Ñ3×9Ñ9Ó;ò 2�n€dˆHØ!)€Fˆ3�—‘“ÑÑÜ$×4Ñ4°XÓ>€Fˆ4�LØ—o‘oò 2ˆ
Ø *× 1Ñ 1€fˆZ�_‰_Òñ2ð2ð &×8Ñ8×>Ñ>Ó@ò !Ñ€dˆMØ-:×-AÑ-A€Fˆ4�:‰:‹<˜/Ñ)Ñ*Ø €Fˆ4‚Lð!ð
  ×0Ñ0×6Ñ6Ó8ò )�m€dˆGØ!(€Fˆ3�—‘“ÑÒð)ð  ×5Ñ5×;Ñ;Ó=ò ;�m€dˆGÜ  ¨g°rÓ:€Fˆ4‚Lñ;r   c                  ó   — y)zsno-op to keep old generated code work with new runtime.

  Args:
    file_des: FileDescriptor of the .proto file
  N© )r   s    r   ÚAddHelpersToExtensionsr9   ]   s   € ð 	r   c           	      óê   — ddl m} | j                  j                  «       D ]P  \  }}|j	                  |dt        ||¬«      «      ||<   |dz   }|j                  |||   ft        ||¬«      «      ||<   ŒR y)zÆBuilds services classes and services stub class.

  Args:
    file_des: FileDescriptor of the .proto file
    module_name: str, the name of generated _pb2 module
    module: Generated _pb2 module
  r   )Úservice_reflectionr8   )r   r   Ú_StubN)Úgoogle.protobufr;   r2   r   ÚGeneratedServiceTypeÚdictÚGeneratedServiceStubType)r   r   r   r;   r   r5   Ú	stub_names          r   ÚBuildServicesrB   g   s�   € õ 1à×0Ñ0×6Ñ6Ó8ò 	�m€dˆGØ%×:Ñ:Øˆb”$ '°kÔBó€Fˆ4�Lð �w‘€IØ*×CÑCØØ	�‰ˆÜ˜¨KÔ8ó€Fˆ9Òñ	r   N)Ú__doc__Ú
__author__r=   r   r$   r   r"   r   Ú_symbol_databaseÚgoogle.protobuf.internalr   r   ÚDefaultr&   r   r   r!   r6   r9   rB   r8   r   r   ú<module>rH      sP   ðñð +€
å /Ý 5Ý ?Ý 6Ý 3à
"Ð
×
"Ñ
"Ó
$€ò6ò
@òò ;ò<	ór   