✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server303.web-hosting.com ​🇻​♯➤ 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 199.188.205.31 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.41
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /lib/python3.6/site-packages/google/protobuf/__pycache__//descriptor_pool.cpython-36.pyc
3

���h���@s�dZdZddlZddlmZddlmZddlmZejZdd�Zd	d
�Z	dd�Z
Gd
d�de�Zdd�Z
erxejjZne�Zdd�ZdS)aJProvides DescriptorPool to use as a container for proto2 descriptors.

The DescriptorPool is used in conjection with a DescriptorDatabase to maintain
a collection of protocol buffer descriptors for use when dynamically creating
message types at runtime.

For most applications protocol buffers should be used via modules generated by
the protocol buffer compiler tool. This should only be used when the type of
protocol buffers used in an application or library cannot be predetermined.

Below is a straightforward example on how to use this class:

  pool = DescriptorPool()
  file_descriptor_protos = [ ... ]
  for file_descriptor_proto in file_descriptor_protos:
    pool.Add(file_descriptor_proto)
  my_message_descriptor = pool.FindMessageTypeByName('some.package.MessageType')

The message descriptor can be used in conjunction with the message_factory
module in order to create a protocol buffer class that can be encoded and
decoded.

If you want to get a Python class for the specified proto, use the
helper functions inside google.protobuf.message_factory
directly instead of this class.
z"matthewtoia@google.com (Matt Toia)�N)�
descriptor)�descriptor_database)�
text_encodingcCs
|jd�S)aLRemove leading period from fully-qualified type name.

  Due to b/13860351 in descriptor_database.py, types in the root namespace are
  generated with a leading period. This function removes that prefix.

  Args:
    name: A str, the fully-qualified symbol name.

  Returns:
    A str, the normalized fully-qualified symbol name.
  �.)�lstrip)�name�r�%/usr/lib/python3.6/descriptor_pool.py�_NormalizeFullyQualifiedNameFsr
cCs|jd�r|jSdSdS)zCReturns the value of the field `options`, or None if it is not set.�optionsN)�HasFieldr)Zdescriptor_protorrr	�_OptionsOrNoneUs
r
cCs6|jo4|jjo4|jj�jo4|jtjjko4|j	tjj
kS)N)�is_extension�containing_typeZhas_optionsZ
GetOptionsZmessage_set_wire_format�typer�FieldDescriptor�TYPE_MESSAGE�labelZLABEL_OPTIONAL)�fieldrrr	�_IsMessageSetExtension]s
rc@s&eZdZdZerdFdd�ZdGdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�ZdHd/d0�ZdId1d2�ZdJd4d5�Zd6d7�Zd8d9�Zd:d;�Z d<d=�Z!d>d?�Z"d@dA�Z#dBdC�Z$dDdE�Z%dS)K�DescriptorPoolzGA collection of protobufs dynamically constructed by descriptor protos.NcCstjj|�S)N)r�_messager)�cls�
descriptor_dbrrr	�__new__jszDescriptorPool.__new__cCsJtj�|_||_i|_i|_i|_i|_i|_t	j
t�|_t	j
t�|_
dS)a�Initializes a Pool of proto buffs.

    The descriptor_db argument to the constructor is provided to allow
    specialized file descriptor proto lookup code to be triggered on demand. An
    example would be an implementation which will read and compile a file
    specified in a call to FindFileByName() and not require the call to Add()
    at all. Results from this database will be cached internally here as well.

    Args:
      descriptor_db: A secondary source of file descriptors.
    N)rZDescriptorDatabase�_internal_db�_descriptor_db�_descriptors�_enum_descriptors�_service_descriptors�_file_descriptors�_toplevel_extensions�collections�defaultdict�dict�_extensions_by_name�_extensions_by_number)�selfrrrr	�__init__ns
zDescriptorPool.__init__cCs|jj|�dS)zAdds the FileDescriptorProto and its types to this pool.

    Args:
      file_desc_proto: The FileDescriptorProto to add.
    N)r�Add)r'�file_desc_protorrr	r)�szDescriptorPool.AddcCs&ddlm}|jj|�}|j|�dS)z�Adds the FileDescriptorProto and its types to this pool.

    Args:
      serialized_file_desc_proto: A bytes string, serialization of the
        FileDescriptorProto to add.
    r)�descriptor_pb2N)�google.protobufr+ZFileDescriptorProtoZ
FromStringr))r'Zserialized_file_desc_protor+r*rrr	�AddSerializedFile�s	z DescriptorPool.AddSerializedFilecCs0t|tj�std��||j|j<|j|j�dS)aAdds a Descriptor to the pool, non-recursively.

    If the Descriptor contains nested messages or enums, the caller must
    explicitly register them. This method also registers the FileDescriptor
    associated with the message.

    Args:
      desc: A Descriptor.
    z+Expected instance of descriptor.Descriptor.N)�
isinstancer�
Descriptor�	TypeErrorr�	full_name�_AddFileDescriptor�file)r'�descrrr	�
AddDescriptor�s
zDescriptorPool.AddDescriptorcCs0t|tj�std��||j|j<|j|j�dS)z�Adds an EnumDescriptor to the pool.

    This method also registers the FileDescriptor associated with the enum.

    Args:
      enum_desc: An EnumDescriptor.
    z/Expected instance of descriptor.EnumDescriptor.N)r.r�EnumDescriptorr0rr1r2r3)r'Z	enum_descrrr	�AddEnumDescriptor�s	z DescriptorPool.AddEnumDescriptorcCs$t|tj�std��||j|j<dS)z^Adds a ServiceDescriptor to the pool.

    Args:
      service_desc: A ServiceDescriptor.
    z2Expected instance of descriptor.ServiceDescriptor.N)r.r�ServiceDescriptorr0rr1)r'Zservice_descrrr	�AddServiceDescriptor�sz#DescriptorPool.AddServiceDescriptorcCs�t|tj�o|jstd��|jdkr0||j|j<y|j|j	|j
}Wntk
rZYn(X||k	r�td|j|j|j	j|j
f��||j|j	|j
<||j
|j	|j<t|�r�||j
|j	|jj<dS)a;Adds a FieldDescriptor describing an extension to the pool.

    Args:
      extension: A FieldDescriptor.

    Raises:
      AssertionError: when another extension with the same number extends the
        same message.
      TypeError: when the specified extension is not a
        descriptor.FieldDescriptor.
    z!Expected an extension descriptor.NzSExtensions "%s" and "%s" both try to extend message type "%s" with field number %d.)r.rrrr0�extension_scoper!r1r&r�number�KeyError�AssertionErrorr%r�message_type)r'�	extensionZ
existing_descrrr	�AddExtensionDescriptor�s&
z%DescriptorPool.AddExtensionDescriptorcCs|j|�dS)z�Adds a FileDescriptor to the pool, non-recursively.

    If the FileDescriptor contains messages or enums, the caller must explicitly
    register them.

    Args:
      file_desc: A FileDescriptor.
    N)r2)r'�	file_descrrr	�AddFileDescriptor�s
z DescriptorPool.AddFileDescriptorcCs$t|tj�std��||j|j<dS)z�Adds a FileDescriptor to the pool, non-recursively.

    If the FileDescriptor contains messages or enums, the caller must explicitly
    register them.

    Args:
      file_desc: A FileDescriptor.
    z/Expected instance of descriptor.FileDescriptor.N)r.r�FileDescriptorr0r r)r'rArrr	r2s
z!DescriptorPool._AddFileDescriptorcCs�y
|j|Stk
rYnXy|jj|�}Wn:tk
rj}z|jrV|jj|�}n|�WYdd}~XnX|s|td|��|j|�S)z�Gets a FileDescriptor by file name.

    Args:
      file_name: The path to the file to get a descriptor for.

    Returns:
      A FileDescriptor for the named file.

    Raises:
      KeyError: if the file cannot be found in the pool.
    NzCannot find a file named %s)r r<r�FindFileByNamer�!_ConvertFileProtoToFileDescriptor)r'�	file_name�
file_proto�errorrrr	rDs

zDescriptorPool.FindFileByNamec3Cst|�}y|j|jStk
r(YnXy|j|jStk
rJYnXy|j|jStk
rlYnXy
|j|�Stk
r�YnXy|j|jStk
r�YnX|jd�\}}}y|j	|�}|j
|s�t�|jStk
�rtd|��YnXdS)aGets the FileDescriptor for the file containing the specified symbol.

    Args:
      symbol: The name of the symbol to search for.

    Returns:
      A FileDescriptor that contains the specified symbol.

    Raises:
      KeyError: if the file cannot be found in the pool.
    rz Cannot find a file containing %sN)r
rr3r<rr�_FindFileContainingSymbolInDbr!�
rpartition�FindMessageTypeByName�extensions_by_namer=)r'�symbol�message_name�_�extension_name�messagerrr	�FindFileContainingSymbol+s8


z'DescriptorPool.FindFileContainingSymbolcCs&t|�}||jkr|j|�|j|S)z�Loads the named descriptor from the pool.

    Args:
      full_name: The full name of the descriptor to load.

    Returns:
      The descriptor for the named type.

    Raises:
      KeyError: if the message cannot be found in the pool.
    )r
rrI)r'r1rrr	rK[s


z$DescriptorPool.FindMessageTypeByNamecCs&t|�}||jkr|j|�|j|S)z�Loads the named enum descriptor from the pool.

    Args:
      full_name: The full name of the enum descriptor to load.

    Returns:
      The enum descriptor for the named type.

    Raises:
      KeyError: if the enum cannot be found in the pool.
    )r
rrI)r'r1rrr	�FindEnumTypeByNamems


z!DescriptorPool.FindEnumTypeByNamecCs,t|�}|jd�\}}}|j|�}|j|S)aLoads the named field descriptor from the pool.

    Args:
      full_name: The full name of the field descriptor to load.

    Returns:
      The field descriptor for the named field.

    Raises:
      KeyError: if the field cannot be found in the pool.
    r)r
rJrKZfields_by_name)r'r1rNrOZ
field_name�message_descriptorrrr	�FindFieldByNames
zDescriptorPool.FindFieldByNamecCs,t|�}|jd�\}}}|j|�}|j|S)aLoads the named oneof descriptor from the pool.

    Args:
      full_name: The full name of the oneof descriptor to load.

    Returns:
      The oneof descriptor for the named oneof.

    Raises:
      KeyError: if the oneof cannot be found in the pool.
    r)r
rJrKZoneofs_by_name)r'r1rNrOZ
oneof_namerTrrr	�FindOneofByName�s
zDescriptorPool.FindOneofByNamecCspt|�}y
|j|Stk
r&YnX|jd�\}}}y|j|�}Wntk
rd|j|�}YnX|j|S)aLoads the named extension descriptor from the pool.

    Args:
      full_name: The full name of the extension descriptor to load.

    Returns:
      A FieldDescriptor, describing the named extension.

    Raises:
      KeyError: if the extension cannot be found in the pool.
    r)r
r!r<rJrKrIrL)r'r1rNrOrP�scoperrr	�FindExtensionByName�s
z"DescriptorPool.FindExtensionByNamecCs|j||S)a�Gets the extension of the specified message with the specified number.

    Extensions have to be registered to this pool by calling
    AddExtensionDescriptor.

    Args:
      message_descriptor: descriptor of the extended message.
      number: integer, number of the extension field.

    Returns:
      A FieldDescriptor describing the extension.

    Raises:
      KeyError: when no extension with the given number is known for the
        specified message.
    )r&)r'rTr;rrr	�FindExtensionByNumber�sz$DescriptorPool.FindExtensionByNumbercCst|j|j��S)a!Gets all the known extension of a given message.

    Extensions have to be registered to this pool by calling
    AddExtensionDescriptor.

    Args:
      message_descriptor: descriptor of the extended message.

    Returns:
      A list of FieldDescriptor describing the extensions.
    )�listr&�values)r'rTrrr	�FindAllExtensions�sz DescriptorPool.FindAllExtensionscCs&t|�}||jkr|j|�|j|S)aLoads the named service descriptor from the pool.

    Args:
      full_name: The full name of the service descriptor to load.

    Returns:
      The service descriptor for the named service.

    Raises:
      KeyError: if the service cannot be found in the pool.
    )r
rrI)r'r1rrr	�FindServiceByName�s

z DescriptorPool.FindServiceByNamecCsfy|jj|�}Wn:tk
rJ}z|jr6|jj|�}n|�WYdd}~XnX|s\td|��|j|�S)a"Finds the file in descriptor DB containing the specified symbol.

    Args:
      symbol: The name of the symbol to search for.

    Returns:
      A FileDescriptor that contains the specified symbol.

    Raises:
      KeyError: if the file cannot be found in the descriptor database.
    Nz Cannot find a file containing %s)rrRr<rrE)r'rMrGrHrrr	rI�sz,DescriptorPool._FindFileContainingSymbolInDbc
s8|j�jk�r,t�j|j��}�fdd�|jD���fdd�|jD�}tj�|j|j|j	t
|�|j��|d�}i}xD|D]<}|j�j
t|jj����|jdd�t|jj��D��qxWx0|jD]&}�j||j|||j	�}||j|j<q�Wx*|jD] }	�j|	|j|d|�|j|	j<q�Wx`t|j�D]R\}
}�j||j|
|dd	�}�j|j|j|�|_�j|||j|�||j|j<�q"Wx |jD]}
�j|j|
|��q�W|j�r�t|j�}nd
}x,|jD]"}
�j||
j|�}||j|
j<�q�Wx4t|j�D]&\}
}�j ||
||j|�|j!|j<�q�W�j"|�|�j|j<�j|jS)aDCreates a FileDescriptor from a proto or returns a cached copy.

    This method also has the side effect of loading all the symbols found in
    the file into the appropriate dictionaries in the pool.

    Args:
      file_proto: The proto to convert.

    Returns:
      A FileDescriptor matching the passed in proto.
    csg|]}�j|��qSr)rD)�.0�n)r'rr	�
<listcomp>szDDescriptorPool._ConvertFileProtoToFileDescriptor.<locals>.<listcomp>csg|]}�|�qSrr)r^�i)�direct_depsrr	r`s)Zpoolr�package�syntaxrZ
serialized_pb�dependenciesZpublic_dependenciescss|]}t|j�|fVqdS)N)�_PrefixWithDotr1)r^�enumrrr	�	<genexpr>,szCDescriptorPool._ConvertFileProtoToFileDescriptor.<locals>.<genexpr>NT)r�)#rr rZ�_GetDeps�
dependencyZpublic_dependencyrrCrcrdr
ZSerializeToString�update�_ExtractSymbolsZmessage_types_by_namer[Zenum_types_by_namer>�_ConvertMessageDescriptor�	enum_type�_ConvertEnumDescriptor�	enumerater?�_MakeFieldDescriptor�_GetTypeFromScope�extendeer�
_SetFieldTyperL�_SetAllFieldTypesrfZservice�_MakeServiceDescriptorZservices_by_namer))r'rGZ
built_depsZpublic_depsZfile_descriptorrWrkr>Zmessage_descro�index�extension_proto�extension_desc�
desc_protoZdesc_proto_prefixr4�
service_protor)rbr'r	rEsf








z0DescriptorPool._ConvertFileProtoToFileDescriptorcs�|rdj||jf��n|j��dkr*d}n�j}�dkr<i������fdd�|jD�}����fdd�|jD�}���fdd�t|j�D�}	���fdd�t|j�D�}
�fdd�t|j�D�}d	d�|jD�}|r�d
}
nd}
t	j
|j�|d|	||||
t|�|
|�dd�d�}x|jD]}||_
�qWx|jD]}||_
�q0WxLt|j�D]>\}}|jd
��rL|j}||jj|	|�|||	|_�qLW|�t��<|�j�<|S)a�Adds the proto to the pool in the specified package.

    Args:
      desc_proto: The descriptor_pb2.DescriptorProto protobuf message.
      package: The package the proto should be located in.
      file_desc: The file containing this message.
      scope: Dict mapping short and full symbols to message and enum types.
      syntax: string indicating syntax of the file ("proto2" or "proto3")

    Returns:
      The added descriptor.
    rNcsg|]}�j|������qSr)rn)r^�nested)�	desc_namerArWr'rdrr	r`zsz<DescriptorPool._ConvertMessageDescriptor.<locals>.<listcomp>csg|]}�j|��d���qS)N)rp)r^rg)r~rArWr'rr	r`~scs g|]\}}�j|�|���qSr)rr)r^rxr)r~rAr'rr	r`�sc	s$g|]\}}�j|�|�dd��qS)T)r)rr)r^rxr?)r~rAr'rr	r`�sc	s4g|],\}}tj|jdj�|jf�|dg|j��qS)rN)rZOneofDescriptorr�joinr)r^rxr4)r~rr	r`�scSsg|]}|j|jf�qSr)�start�end)r^�rrrr	r`�sTF)rr1�filenamer�fields�oneofs�nested_types�
enum_types�
extensionsr�
is_extendable�extension_rangesr3Zserialized_startZserialized_endrd�oneof_index)rr�nested_typerorqrr?Z
oneof_declZextension_rangerr/r
r�rr�rr�r��appendZcontaining_oneofrfr)r'r{rcrArWrdrFr}Zenumsr�r�r�r�r�r4rgZfield_index�
field_descr�r)r~rArWr'rdr	rn]sf



z(DescriptorPool._ConvertMessageDescriptorc
	s�|rdj||jf�}n|j}|dkr*d}n|j}�fdd�t|j�D�}tj|j|||||t|�d�}	|	|d|<|	�j|<|	S)a�Make a protobuf EnumDescriptor given an EnumDescriptorProto protobuf.

    Args:
      enum_proto: The descriptor_pb2.EnumDescriptorProto protobuf message.
      package: Optional package name for the new message EnumDescriptor.
      file_desc: The file containing the enum descriptor.
      containing_type: The type containing this enum.
      scope: Scope containing available types.

    Returns:
      The added descriptor
    rNcsg|]\}}�j||��qSr)�_MakeEnumValueDescriptor)r^rx�value)r'rr	r`�sz9DescriptorPool._ConvertEnumDescriptor.<locals>.<listcomp>)rr1r�r3r[rrz.%s)rrrqr�rr6r
r)
r'Z
enum_protorcrArrWZ	enum_namerFr[r4r)r'r	rp�s$

z%DescriptorPool._ConvertEnumDescriptorFcCsR|rdj||jf�}n|j}tj|j|||j|jdddd|jdd|dt|�|d�S)a�Creates a field descriptor from a FieldDescriptorProto.

    For message and enum type fields, this method will do a look up
    in the pool for the appropriate descriptor for that type. If it
    is unavailable, it will fall back to the _source function to
    create it. If this type is still unavailable, construction will
    fail.

    Args:
      field_proto: The proto describing the field.
      message_name: The name of the containing message.
      index: Index of the field
      file_desc: The file containing the field descriptor.
      is_extension: Indication that this field is for an extension.

    Returns:
      An initialized FieldDescriptor object
    rNF)rr1rxr;r�cpp_typer>rorr�has_default_value�
default_valuerr:rr3)rrrrr;rrr
)r'�field_protorNrxrArr1rrr	rr�s(z#DescriptorPool._MakeFieldDescriptorcCs�t|�}|j||j|�}|dkr,t|j�}ndj||jg�}x*t|j|j�D]\}}|j||||�qLWx@tt|j	|j
��D]*\}}	|j||j|�|	_|j||	||�q|Wx|j
D]}
|j||
|�q�WdS)aSets all the descriptor's fields's types.

    This method also sets the containing types on any extensions.

    Args:
      package: The current package of desc_proto.
      desc_proto: The message descriptor to update.
      scope: Enclosing scope of available types.
    rN)rfrsrr�ziprr�rurZr?r�rtrr�rv)r'rcr{rWZ	main_descZnested_packager�r�ryrzr�rrr	rvsz DescriptorPool._SetAllFieldTypescCs |jr|j||j|�}nd}|jd�sHt|tj�r>tjj|_n
tjj	|_tjj
|j�|_|jtjjkst|jtjjkrz||_
|jtjj	kr�||_|jtjjkr�d|_g|_�nh|jd��rvd|_|jtjjks�|jtjjkr�t|j�|_n�|jtjjk�r|j|_nr|jtjjk�r$|jj�dk|_nP|jtjj	k�rH|jj|jj|_n,|jtjjk�rhtj|j�|_nt|j�|_n�d|_|jtjjk�s�|jtjjk�r�d|_np|jtjjk�r�d|_nX|jtjjk�r�d|_n@|jtjj	k�r�|jjd	j|_n|jtjjk�rd
|_nd	|_|j|_dS)aSets the field's type, cpp_type, message_type and enum_type.

    Args:
      field_proto: Data about the field in proto format.
      field_desc: The descriptor to modiy.
      package: The package the field's container is in.
      scope: Enclosing scope of available types.
    NrFr�T�truegrir�) �	type_namersrr.rr/rrrZ	TYPE_ENUMZProtoTypeToCppProtoTyper�Z
TYPE_GROUPr>rorZLABEL_REPEATEDr�r�ZTYPE_DOUBLEZ
TYPE_FLOAT�floatZTYPE_STRINGZ	TYPE_BOOL�lowerZvalues_by_namer;Z
TYPE_BYTESrZ	CUnescape�intr[)r'r�r�rcrWr4rrr	ru s^	




zDescriptorPool._SetFieldTypecCstj|j||jt|�dd�S)z�Creates a enum value descriptor object from a enum value proto.

    Args:
      value_proto: The proto describing the enum value.
      index: The index of the enum value.

    Returns:
      An initialized EnumValueDescriptor object.
    N)rrxr;rr)rZEnumValueDescriptorrr;r
)r'Zvalue_protorxrrr	r�fsz'DescriptorPool._MakeEnumValueDescriptorcsd�rdj�|jf��n|j�����fdd�t|j�D�}tj|j�||t|�|d�}|�j�<|S)a�Make a protobuf ServiceDescriptor given a ServiceDescriptorProto.

    Args:
      service_proto: The descriptor_pb2.ServiceDescriptorProto protobuf message.
      service_index: The index of the service in the File.
      scope: Dict mapping short and full symbols to message and enum types.
      package: Optional package name for the new message EnumDescriptor.
      file_desc: The file containing the service descriptor.

    Returns:
      The added descriptor.
    rcs"g|]\}}�j|���|��qSr)�_MakeMethodDescriptor)r^rx�method_proto)rcrWr'�service_namerr	r`�sz9DescriptorPool._MakeServiceDescriptor.<locals>.<listcomp>)rr1rx�methodsrr3)rrrq�methodrr8r
r)r'r|Z
service_indexrWrcrAr�r4r)rcrWr'r�r	rwxs
z%DescriptorPool._MakeServiceDescriptorc		CsNdj||jf�}|j||j|�}|j||j|�}tj|j||d||t|�d�S)a�Creates a method descriptor from a MethodDescriptorProto.

    Args:
      method_proto: The proto describing the method.
      service_name: The name of the containing service.
      package: Optional package name to look up for types.
      scope: Scope containing available types.
      index: Index of the method in the service.

    Returns:
      An initialized MethodDescriptor object.
    rN)rr1rxZcontaining_service�
input_type�output_typer)rrrsr�r�rZMethodDescriptorr
)	r'r�r�rcrWrxr1r�r�rrr	r��sz$DescriptorPool._MakeMethodDescriptorccs^xX|D]P}t|j�|fVx|j|j�D]
}|Vq(Wx|jD]}t|j�|fVq>WqWdS)z�Pulls out all the symbols from descriptor protos.

    Args:
      descriptors: The messages to extract descriptors from.
    Yields:
      A two element tuple of the type name and descriptor object.
    N)rfr1rmr�r�)r'Zdescriptorsr4rMrgrrr	rm�s	

zDescriptorPool._ExtractSymbolsccs8x2|D]*}|j|�}|Vx|jD]
}|Vq"WqWdS)z�Recursively finds dependencies for file protos.

    Args:
      dependencies: The names of the files being depended on.

    Yields:
      Each direct and indirect dependency.
    N)rDre)r'rerkZdep_descZ
parent_deprrr	rj�s



zDescriptorPool._GetDepscCsR||krJt|�jd�}x2|rHdj||g�}||kr<|}Pq|jd�qW||S)a?Finds a given type name in the current scope.

    Args:
      package: The package the proto should be located in.
      type_name: The name of the type to be found in the scope.
      scope: Dict mapping short and full symbols to message and enum types.

    Returns:
      The descriptor for the requested type.
    r����)rf�splitr�pop)r'rcr�rWZ
componentsZpossible_matchrrr	rs�sz DescriptorPool._GetTypeFromScope)N)N)NNNN)NNNN)F)&�__name__�
__module__�__qualname__�__doc__�_USE_C_DESCRIPTORSrr(r)r-r5r7r9r@rBr2rDrRrKrSrUrVrXrYr\r]rIrErnrprrrvrur�rwr�rmrjrsrrrr	resJ

	*0U
P
&
+ F rcCs|jd�r|Sd|S)Nrz.%s)�
startswith)rrrr	rf�srfcCstS)N)�_DEFAULTrrrr	�Default�sr�)r��
__author__r"r,rrrr�r
r
r�objectrrfrZdefault_poolr�r�rrrr	�<module>8s,



Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
3 Jun 2026 8.32 AM
root / root
0755
__init__.cpython-36.opt-1.pyc
0.312 KB
7 Oct 2025 9.25 AM
root / root
0644
__init__.cpython-36.pyc
0.312 KB
7 Oct 2025 9.25 AM
root / root
0644
any_pb2.cpython-36.opt-1.pyc
2.089 KB
7 Oct 2025 9.25 AM
root / root
0644
any_pb2.cpython-36.pyc
2.089 KB
7 Oct 2025 9.25 AM
root / root
0644
any_test_pb2.cpython-36.opt-1.pyc
2.18 KB
7 Oct 2025 9.25 AM
root / root
0644
any_test_pb2.cpython-36.pyc
2.18 KB
7 Oct 2025 9.25 AM
root / root
0644
api_pb2.cpython-36.opt-1.pyc
4.728 KB
7 Oct 2025 9.25 AM
root / root
0644
api_pb2.cpython-36.pyc
4.728 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor.cpython-36.opt-1.pyc
31.273 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor.cpython-36.pyc
31.273 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_database.cpython-36.opt-1.pyc
4.108 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_database.cpython-36.pyc
4.108 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_pb2.cpython-36.opt-1.pyc
30.364 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_pb2.cpython-36.pyc
30.364 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_pool.cpython-36.opt-1.pyc
26.774 KB
7 Oct 2025 9.25 AM
root / root
0644
descriptor_pool.cpython-36.pyc
26.8 KB
7 Oct 2025 9.25 AM
root / root
0644
duration_pb2.cpython-36.opt-1.pyc
2.127 KB
7 Oct 2025 9.25 AM
root / root
0644
duration_pb2.cpython-36.pyc
2.127 KB
7 Oct 2025 9.25 AM
root / root
0644
empty_pb2.cpython-36.opt-1.pyc
1.694 KB
7 Oct 2025 9.25 AM
root / root
0644
empty_pb2.cpython-36.pyc
1.694 KB
7 Oct 2025 9.25 AM
root / root
0644
field_mask_pb2.cpython-36.opt-1.pyc
2.049 KB
7 Oct 2025 9.25 AM
root / root
0644
field_mask_pb2.cpython-36.pyc
2.049 KB
7 Oct 2025 9.25 AM
root / root
0644
json_format.cpython-36.opt-1.pyc
20.323 KB
7 Oct 2025 9.25 AM
root / root
0644
json_format.cpython-36.pyc
20.323 KB
7 Oct 2025 9.25 AM
root / root
0644
map_proto2_unittest_pb2.cpython-36.opt-1.pyc
18.308 KB
7 Oct 2025 9.25 AM
root / root
0644
map_proto2_unittest_pb2.cpython-36.pyc
18.308 KB
7 Oct 2025 9.25 AM
root / root
0644
map_unittest_pb2.cpython-36.opt-1.pyc
39.564 KB
7 Oct 2025 9.25 AM
root / root
0644
map_unittest_pb2.cpython-36.pyc
39.564 KB
7 Oct 2025 9.25 AM
root / root
0644
message.cpython-36.opt-1.pyc
10.477 KB
7 Oct 2025 9.25 AM
root / root
0644
message.cpython-36.pyc
10.477 KB
7 Oct 2025 9.25 AM
root / root
0644
message_factory.cpython-36.opt-1.pyc
3.934 KB
7 Oct 2025 9.25 AM
root / root
0644
message_factory.cpython-36.pyc
3.934 KB
7 Oct 2025 9.25 AM
root / root
0644
proto_builder.cpython-36.opt-1.pyc
2.679 KB
7 Oct 2025 9.25 AM
root / root
0644
proto_builder.cpython-36.pyc
2.679 KB
7 Oct 2025 9.25 AM
root / root
0644
reflection.cpython-36.opt-1.pyc
2.653 KB
7 Oct 2025 9.25 AM
root / root
0644
reflection.cpython-36.pyc
2.653 KB
7 Oct 2025 9.25 AM
root / root
0644
service.cpython-36.opt-1.pyc
8.556 KB
7 Oct 2025 9.25 AM
root / root
0644
service.cpython-36.pyc
8.556 KB
7 Oct 2025 9.25 AM
root / root
0644
service_reflection.cpython-36.opt-1.pyc
9.756 KB
7 Oct 2025 9.25 AM
root / root
0644
service_reflection.cpython-36.pyc
9.756 KB
7 Oct 2025 9.25 AM
root / root
0644
source_context_pb2.cpython-36.opt-1.pyc
2.146 KB
7 Oct 2025 9.25 AM
root / root
0644
source_context_pb2.cpython-36.pyc
2.146 KB
7 Oct 2025 9.25 AM
root / root
0644
struct_pb2.cpython-36.opt-1.pyc
5.021 KB
7 Oct 2025 9.25 AM
root / root
0644
struct_pb2.cpython-36.pyc
5.021 KB
7 Oct 2025 9.25 AM
root / root
0644
symbol_database.cpython-36.opt-1.pyc
5.316 KB
7 Oct 2025 9.25 AM
root / root
0644
symbol_database.cpython-36.pyc
5.316 KB
7 Oct 2025 9.25 AM
root / root
0644
test_messages_proto2_pb2.cpython-36.opt-1.pyc
38.694 KB
7 Oct 2025 9.25 AM
root / root
0644
test_messages_proto2_pb2.cpython-36.pyc
38.694 KB
7 Oct 2025 9.25 AM
root / root
0644
test_messages_proto3_pb2.cpython-36.opt-1.pyc
43.271 KB
7 Oct 2025 9.25 AM
root / root
0644
test_messages_proto3_pb2.cpython-36.pyc
43.271 KB
7 Oct 2025 9.25 AM
root / root
0644
text_encoding.cpython-36.opt-1.pyc
3.058 KB
7 Oct 2025 9.25 AM
root / root
0644
text_encoding.cpython-36.pyc
3.058 KB
7 Oct 2025 9.25 AM
root / root
0644
text_format.cpython-36.opt-1.pyc
38.553 KB
7 Oct 2025 9.25 AM
root / root
0644
text_format.cpython-36.pyc
38.582 KB
7 Oct 2025 9.25 AM
root / root
0644
timestamp_pb2.cpython-36.opt-1.pyc
2.141 KB
7 Oct 2025 9.25 AM
root / root
0644
timestamp_pb2.cpython-36.pyc
2.141 KB
7 Oct 2025 9.25 AM
root / root
0644
type_pb2.cpython-36.opt-1.pyc
8.492 KB
7 Oct 2025 9.25 AM
root / root
0644
type_pb2.cpython-36.pyc
8.492 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_arena_pb2.cpython-36.opt-1.pyc
2.762 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_arena_pb2.cpython-36.pyc
2.762 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_custom_options_pb2.cpython-36.opt-1.pyc
32.239 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_custom_options_pb2.cpython-36.pyc
32.239 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_import_pb2.cpython-36.opt-1.pyc
3.112 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_import_pb2.cpython-36.pyc
3.112 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_import_public_pb2.cpython-36.opt-1.pyc
1.932 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_import_public_pb2.cpython-36.pyc
1.932 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_mset_pb2.cpython-36.opt-1.pyc
4.459 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_mset_pb2.cpython-36.pyc
4.459 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_mset_wire_format_pb2.cpython-36.opt-1.pyc
2.513 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_mset_wire_format_pb2.cpython-36.pyc
2.513 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_arena_import_pb2.cpython-36.opt-1.pyc
1.825 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_arena_import_pb2.cpython-36.pyc
1.825 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_arena_pb2.cpython-36.opt-1.pyc
20.235 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_arena_pb2.cpython-36.pyc
20.235 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_generic_services_pb2.cpython-36.opt-1.pyc
3.226 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_no_generic_services_pb2.cpython-36.pyc
3.226 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_pb2.cpython-36.opt-1.pyc
124.95 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_pb2.cpython-36.pyc
124.95 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_proto3_arena_pb2.cpython-36.opt-1.pyc
21.424 KB
7 Oct 2025 9.25 AM
root / root
0644
unittest_proto3_arena_pb2.cpython-36.pyc
21.424 KB
7 Oct 2025 9.25 AM
root / root
0644
wrappers_pb2.cpython-36.opt-1.pyc
4.58 KB
7 Oct 2025 9.25 AM
root / root
0644
wrappers_pb2.cpython-36.pyc
4.58 KB
7 Oct 2025 9.25 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF