+
    i9                     >    R t ^ RIHt ^ RIHt R t ! R R]4      tR# )z7Contains _ExtensionDict class to represent extensions.
)type_checkers)FieldDescriptorc           	        \        V\        4      '       g   \        RV,          4      hVP                  '       g   \        RVP                  ,          4      hVP
                  '       g   \        RVP                  ,          4      hVP
                  V P                  JdK   \        RVP                  : RVP
                  P                  : RV P                  P                  : R24      hR# )	z0Verify that the given extension handle is valid.z3HasExtension() expects an extension handle, got: %sz"%s" is not an extension.z""%s" is missing a containing_type.zExtension "z" extends message type "z ", but this message is of type "z".N)
isinstancer   KeyErroris_extension	full_namecontaining_type
DESCRIPTOR)messageextension_handles   &&z/Users/igloo/.openclaw/workspace/scratch/fb_ad_env/lib/python3.14/site-packages/google/protobuf/internal/extension_dict.py_VerifyExtensionHandler      s     
$o	6	6
H#$ % % 
	&	&	&
.1A1K1KK
LL		)	)	)
7%//0 1 1 %%W-?-??
$..$44>>&&00	2 3 3 @    c                   l   a  ] tR t^(t o RtR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tRtV tR# )_ExtensionDictzDict-like container for Extension fields on proto instances.

Note that in all cases we expect extension handles to be
FieldDescriptors.
c                    Wn         R# )zR
Args:
  extended_message: Message instance for which we are the Extensions dict.
N_extended_message)selfextended_messages   &&r   __init___ExtensionDict.__init__0   s
    
 .r   c                &   \        V P                  V4       V P                  P                  P                  V4      pVe   V# VP                  \
        P                  8X  d   VP                  V P                  4      pMVP                  \
        P                  8X  d   VP                  p\        VR4      '       g   ^ RIHp VP                  V4       \        VP                  R4      '       g"   ^ RIHp VP                  VP                  4       VP                  P                  4       p VP!                  V P                  P"                  4       MVP&                  # V P                  P                  P)                  W4      pV#   \$         d     L4i ; i)z8Returns the current value of the given extension handle._concrete_class)message_factory)r   r   _fieldsgetlabelr   LABEL_REPEATED_default_constructorcpp_typeCPPTYPE_MESSAGEmessage_typehasattrgoogle.protobufr   GetMessageClassr   _SetListener_listener_for_childrenReferenceErrordefault_value
setdefault)r   r   resultr#   r   s   &&   r   __getitem___ExtensionDict.__getitem__7   sO    4113CD##++//0@AFm!?!??44T5K5KLf		"	"o&E&E	E%22l\#4553''5%224EFF3''(8(E(EF,,<<>fD22IIJ +++ ##++66"F M!  s   )%F FFc                P   \        WP                  4      '       g   R # V P                  P                  4       pVP                  P                  4       pV Uu. uF  qDP                  '       g   K  VNK  	  ppV Uu. uF  qDP                  '       g   K  VNK  	  ppW#8H  # u upi u upi )F)r   	__class__r   
ListFieldsr   )r   other	my_fieldsother_fieldsfields   &&   r   __eq___ExtensionDict.__eq__`   s    e^^,,&&113I**557L %.DI51C1CIID'3J|e7I7IEE|LJ$$ EJs   B.B:B#B#c                    W8X  * # N )r   r2   s   &&r   __ne___ExtensionDict.__ne__m   s    r   c                    V P                   P                  4       pV Uu. uF  q"^ ,          P                  '       g   K  VNK!  	  pp\        V4      # u upi )    )r   r1   r   len)r   fieldsr5   extension_fieldss   &   r   __len___ExtensionDict.__len__p   sI    ##..0F+1K6%1X5J5J6K   Ls
   AAc                    \        R 4      h)zunhashable object)	TypeErrorr   s   &r   __hash___ExtensionDict.__hash__v   s    
'
((r   c                   \        V P                  V4       VP                  \        P                  8X  g    VP
                  \        P                  8X  d   \        RVP                  ,          4      h\        P                  ! V4      pVP                  V4      V P                  P                  V&   V P                  P                  4        R# )zdIf extension_handle specifies a non-repeated, scalar extension
field, sets the value of that field.
zKCannot assign to extension "%s" because it is a repeated or composite type.N)r   r   r   r   r   r!   r"   rE   r   r   GetTypeChecker
CheckValuer   	_Modified)r   r   valuetype_checkers   &&& r   __setitem___ExtensionDict.__setitem__}   s    
 4113CD/"@"@@!!_%D%DD.889: : !//0@AL 	& 	""#34$$&r   c                <    V P                   P                  V4       R # r9   )r   ClearExtension)r   r   s   &&r   __delitem___ExtensionDict.__delitem__   s    ))*:;r   c                    V P                   P                  pVP                  P                  P                  V,          pVP                  VR4      # )zTries to find a known extension with the specified name.

Args:
  name: Extension full name.

Returns:
  Extension field descriptor.
N)r   r
   filepool_extensions_by_namer   )r   name
descriptor
extensionss   &&  r   _FindExtensionByName#_ExtensionDict._FindExtensionByName   s@     ''22J%%99*EJ>>$%%r   c                    V P                   P                  pVP                  P                  P                  V,          pVP                  VR4      # )zTries to find a known extension with the field number.

Args:
  number: Extension field number.

Returns:
  Extension field descriptor.
N)r   r
   rV   rW   _extensions_by_numberr   )r   numberrZ   r[   s   &&  r   _FindExtensionByNumber%_ExtensionDict._FindExtensionByNumber   s@     ''22J%%;;JGJ>>&$''r   c                D    R  V P                   P                  4        4       # )c              3   j   "   T F)  pV^ ,          P                   '       g   K  V^ ,          x  K+  	  R# 5i)r>   N)r   ).0fs   & r   	<genexpr>*_ExtensionDict.__iter__.<locals>.<genexpr>   s,      "=Qt   AaDD=s   33)r   r1   rF   s   &r   __iter___ExtensionDict.__iter__   s"    "$00;;= " "r   c                   \        V P                  V4       WP                  P                  9  d   R # VP                  \        P
                  8X  d/   \        V P                  P                  P                  V4      4      # VP                  \        P                  8X  d>   V P                  P                  P                  V4      pVRJ;'       d    VP                  # R# )FNT)r   r   r   r   r   r   boolr   r!   r"   _is_present_in_parent)r   r   rM   s   && r   __contains___ExtensionDict.__contains__   s    4113CD55===!?!??$((00445EFGG  O$C$CC$$,,001ABe$>>5#>#>>r   r   N)__name__
__module____qualname____firstlineno____doc__r   r-   r6   r;   rB   rG   rO   rS   r\   ra   ri   rn   __static_attributes____classdictcell__)__classdict__s   @r   r   r   (   sL     .'R%!)'*<&("
 r   r   N)rt   google.protobuf.internalr   google.protobuf.descriptorr   r   objectr   r:   r   r   <module>r{      s%    3 632ZV Zr   