+
    $i0                     ^    R t Rt^ RIt ! R R]4      t ! R R]4      t ! R R]4      tR	 tR# )
z*Provides a container for DescriptorProtos.z"matthewtoia@google.com (Matt Toia)Nc                       ] tR t^tRtR# )Error N)__name__
__module____qualname____firstlineno____static_attributes__r       a/var/www/html/photoedit/myenv/lib/python3.14/site-packages/google/protobuf/descriptor_database.pyr   r      s    r
   r   c                       ] tR t^tRtRtR# ),DescriptorDatabaseConflictingDefinitionErrorzGRaised when a proto is added with the same name & different descriptor.r   N)r   r   r   r   __doc__r	   r   r
   r   r   r      s    Or
   r   c                   N   a  ] tR t^t o RtR tR tR tR tR t	R t
R tR	tV tR
# )DescriptorDatabasezEA container accepting FileDescriptorProtos and maps DescriptorProtos.c                "    / V n         / V n        R # N_file_desc_protos_by_file_file_desc_protos_by_symbol)selfs   &r   __init__DescriptorDatabase.__init__   s    %'D"')D$r
   c                   VP                   pW P                  9  d   WP                  V&   M,V P                  V,          V8w  d   \        RV,          4      hR# VP                  pVP                   F&  p\        WC4       F  pV P                  WQ4       K  	  K(  	  VP                   F  pT P                  V'       d   RP                  W6P                   34      MVP                   V4       VP                   F@  pTV P                  V'       d   RP                  W7P                   34      MVP                   &   KB  	  K  	  VP                   FC  pT P                  V'       d   RP                  W8P                   34      MVP                   V4       KE  	  VP                   FC  p	T P                  V'       d   RP                  W9P                   34      MV	P                   V4       KE  	  R# )a0  Adds the FileDescriptorProto and its types to this database.

Args:
  file_desc_proto: The FileDescriptorProto to add.
Raises:
  DescriptorDatabaseConflictingDefinitionError: if an attempt is made to
    add a proto with the same name but different definition than an
    existing proto in the database.
z0%s already added, but with different descriptor.N.)namer   r   packagemessage_type_ExtractSymbols
_AddSymbol	enum_typejoinvaluer   	extensionservice)
r   file_desc_proto
proto_namer   messager   enum
enum_valuer#   r$   s
   &&        r   AddDescriptorDatabase.Add   s    !%%J7773B$$Z0		'	'
	3	F8
<z
IK K  %%G"//!'3$. 4 0  ))
oo-4388Wii()$))
 

*  	((4;CHHg/0	
 # * %..	
oo29388Wnn-.y~~
 /
 #**
oo07388Wll+,W\\
 +r
   c                (    V P                   V,          # )a  Finds the file descriptor proto by file name.

Typically the file name is a relative path ending to a .proto file. The
proto with the given name will have to have been added to this database
using the Add method or else an error will be raised.

Args:
  name: The file name to find.

Returns:
  The file descriptor proto matching the name.

Raises:
  KeyError if no file by the given name was added.
)r   )r   r   s   &&r   FindFileByName!DescriptorDatabase.FindFileByNameJ   s    " ))$//r
   c                r   VP                  R4      ^8X  d;   V^ ,          R8X  d-   VP                  R4      p\        P                  ! R\        4        V P
                  V,          #   \         dG    TP                  R4      w  p p T P
                  T,          u #   \         d    \        T4      hi ; ii ; i)aj  Finds the file descriptor proto containing the specified symbol.

The symbol should be a fully qualified name including the file descriptor's
package and any containing messages. Some examples:

'some.package.name.Message'
'some.package.name.Message.NestedEnum'
'some.package.name.Message.some_field'

The file descriptor proto containing the specified symbol must be added to
this database using the Add method or else an error will be raised.

Args:
  symbol: The fully qualified symbol name.

Returns:
  The file descriptor proto containing the symbol.

Raises:
  KeyError if no file contains the specified symbol.
r   zaPlease remove the leading "." when FindFileContainingSymbol, this will turn to error in 2026 Jan.)countlstripwarningswarnRuntimeWarningr   KeyError
rpartition)r   symbol	top_level_s   &&  r   FindFileContainingSymbol+DescriptorDatabase.FindFileContainingSymbol]   s    , ||CA&)s"2}}S!fmm 	--f55  ))#.oiA//	:: vs$   A% % B6BB6B22B6c                    R # r   r   )r   extendee_nameextension_numbers   &&&r   FindFileContainingExtension.DescriptorDatabase.FindFileContainingExtension   s    r
   c                    . # r   r   )r   r=   s   &&r   FindAllExtensionNumbers*DescriptorDatabase.FindAllExtensionNumbers   s    Ir
   c                   WP                   9   dm   R VP                  ,           R,           V,           R,           V P                   V,          P                  ,           R,           p\        P                  ! V\        4       W P                   V&   R# )zConflict register for file "z": z is already defined in file ""N)r   r   r2   r3   r4   )r   r   r%   warn_msgs   &&& r   r   DescriptorDatabase._AddSymbol   s|    ///0?3G3GG12 2248==> ADDh mmHn--<$$T*r
   r   N)r   r   r   r   r   r   r*   r-   r:   r?   rB   r   r	   __classdictcell__)__classdict__s   @r   r   r      s2     M**X0&+Z= =r
   r   c              #  &  "   V'       d   VR,           V P                   ,           MV P                   pVx  V P                   F  p\        W24       F  pVx  K	  	  K  	  V P                   F!  pRP	                  W%P                   34      x  K#  	  R# 5i)zPulls out all the symbols from a descriptor proto.

Args:
  desc_proto: The proto to extract symbols from.
  package: The package containing the descriptor type.

Yields:
  The fully qualified name found in the descriptor.
r   N)r   nested_typer   r    r!   )
desc_protor   message_namerK   r7   r    s   &&    r   r   r      ss      5<30,++k!+<l = , ''i
((L..1
22 (s   BB)	r   
__author__r2   	Exceptionr   r   objectr   r   r   r
   r   <module>rQ      s@    11
 I P5 PB= B=J3r
   