Ë
    òmxiü  ã                   óx   — d dl mZ d dlmZ d dlmZ d dlmZ  G d„ d«      Z G d„ de«      Z	 G d	„ d
e«      Z
dZy)é    )ÚEnumMeta)Údescriptor_pb2)ÚEnumTypeWrapper)Ú	ProtoTypec            	       ó†   — e Zd ZdZdZddddddœdedededefd	„Ze	d
„ «       Z
e	defd„«       Ze	defd„«       Ze	d„ «       Zy)ÚFieldz8A representation of a type of field in protocol buffers.FN)ÚmessageÚenumÚoneofÚ	json_nameÚoptionalÚnumberr   r   r   c                ó&  — d | _         d | _        t        |t        «      s;t        |t        t
        f«      r|}t        j                  }n|}t        j                  }|| _	        || _
        || _        || _        || _        || _        || _        d | _        y )N)Ú	mcls_dataÚparentÚ
isinstanceÚintr   r   r   ÚENUMÚMESSAGEr   Ú
proto_typer	   r
   r   r   r   Ú_descriptor)Úselfr   r   r	   r
   r   r   r   s           úC/home/htdocs/ttos/venv/lib/python3.12/site-packages/proto/fields.pyÚ__init__zField.__init__   sŠ   € ð ˆŒØˆŒô ˜*¤cÔ*ô ˜*¤x´Ð&AÔBØ!�Ü&Ÿ^™^‘
à$�Ü&×.Ñ.�
ð ˆŒØ$ˆŒØˆŒØˆŒ	Ø"ˆŒØ ˆŒØˆŒ
ð
  ˆÕó    c           	      óf  — | j                   �sd}t        | j                  t        «      r_| j                  j	                  | j
                  «      s,dj                  | j
                  | j                  ¬«      | _        | j                  }�n=| j                  rWt        | j                  d«      r | j                  j                  j                  n| j                  j                  j                  }nÚt        | j                  t        «      r^| j                  j	                  | j
                  «      s,dj                  | j
                  | j                  ¬«      | _        | j                  }nb| j                  rVt        | j                  d«      r | j                  j                  j                  n| j                  j                  j                  }t        j                  | j                  | j                  | j                   rdnd| j"                  || j$                  | j&                  ¬«      | _         | j                   S )z$Return the descriptor for the field.Nz{package}.{name})ÚpackageÚnameÚ
DESCRIPTORé   é   )r   r   ÚlabelÚtypeÚ	type_namer   Úproto3_optional)r   r   r	   ÚstrÚ
startswithr   ÚformatÚhasattrr   Ú	full_nameÚ_metar
   r   ÚFieldDescriptorProtor   r   Úrepeatedr   r   r   )r   r$   s     r   Ú
descriptorzField.descriptorH   s–  € ð ×ÓàˆIÜ˜$Ÿ,™,¬Ô,Ø—|‘|×.Ñ.¨t¯|©|Ô<Ø#5×#<Ñ#<Ø $§¡Ø!Ÿ\™\ð $=ó $�D”Lð !ŸL™L’	Ø—’ô ˜tŸ|™|¨\Ô:ð —L‘L×+Ñ+×5Ò5àŸ™×+Ñ+×5Ñ5ñ ô
 ˜DŸI™I¤sÔ+Ø—y‘y×+Ñ+¨D¯L©LÔ9Ø 2× 9Ñ 9Ø $§¡Ø!ŸY™Yð !:ó !�D”Ið !ŸI™I‘	Ø—’ô ˜tŸy™y¨,Ô7ð —I‘I×(Ñ(×2Ò2àŸ™Ÿ™×2Ñ2ð ô  .×BÑBØ—Y‘YØ—{‘{ØŸ=š=‘a¨aØ—_‘_Ø#ØŸ.™.Ø $§¡ô ˆDÔð ×ÑÐr   Úreturnc                 ó    — | j                   d   S )zReturn the name of the field.r   ©r   ©r   s    r   r   z
Field.namew   s   € ð �~‰~˜fÑ%Ð%r   c                 ó    — | j                   d   S )z Return the package of the field.r   r1   r2   s    r   r   zField.package|   s   € ð �~‰~˜iÑ(Ð(r   c                 óÚ   — | j                   r| j                   S | j                  s| j                  S t        | j                  d«      r| j                  j	                  «       S | j                  S )zMReturn the composite type of the field, or the primitive type if a primitive.r+   )r
   r	   r   r)   Úpbr2   s    r   Úpb_typezField.pb_type�   sS   € ð �9Š9Ø—9‘9Ðð �|Š|Ø—?‘?Ð"ô �4—<‘< Ô)Ø—<‘<—?‘?Ó$Ð$Ø�|‰|Ðr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r-   r   r&   Úboolr   Úpropertyr.   r   r   r6   © r   r   r   r      sª   „ ÙBð €Hð ØØØØò( ð ð	( ð ð( ð ð( ð ó( ðT ñ, ó ð, ð\ ð&�cò &ó ð&ð ð)˜ò )ó ð)ð ñó ñr   r   c                   ó   — e Zd ZdZdZy)ÚRepeatedFieldz9A representation of a repeated field in protocol buffers.TN)r7   r8   r9   r:   r-   r=   r   r   r?   r?   “   s
   „ ÙCà�Hr   r?   c                   ó0   ‡ — e Zd ZdZdddœdefˆ fd„Zˆ xZS )ÚMapFieldz4A representation of a map field in protocol buffers.N)r	   r
   r   c                ó:   •— t         ‰| �  ||||¬«       || _        y )N)r   r	   r
   )Úsuperr   Úmap_key_type)r   Úkey_typeÚ
value_typer   r	   r
   Ú	__class__s         €r   r   zMapField.__init__œ   s!   ø€ Ü‰Ñ˜¨F¸GÈ$ÐÔOØ$ˆÕr   )r7   r8   r9   r:   r   r   Ú__classcell__)rG   s   @r   rA   rA   ™   s   ø„ Ù>àEIÐPTò %¸÷ %ñ %r   rA   )r   rA   r?   N)r
   r   Úgoogle.protobufr   Ú*google.protobuf.internal.enum_type_wrapperr   Úproto.primitivesr   r   r?   rA   Ú__all__r=   r   r   ú<module>rM      s?   ðõ å *Ý Få &÷yñ yôx�Eô ô%ˆuô %ð�r   