$52 GRAYBYTE WORDPRESS FILE MANAGER $81

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.243.223 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/python2.7/site-packages/google/protobuf/

HOME
Current File : /lib/python2.7/site-packages/google/protobuf//descriptor_pool.pyc
�
7��ec@s�dZdZddlZddlZddlmZddlmZddlmZejZd�Z	d�Z
d	�Zd
efd��YZ
d�Zer�ejjZn	e
�Zd
�ZdS(sJProvides 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.
s"matthewtoia@google.com (Matt Toia)i����N(t
descriptor(tdescriptor_database(t
text_encodingcCs
|jd�S(sLRemove 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.
  t.(tlstrip(tname((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt_NormalizeFullyQualifiedNameGscCs|jd�r|jSdSdS(sCReturns the value of the field `options`, or None if it is not set.toptionsN(tHasFieldRtNone(tdescriptor_proto((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt_OptionsOrNoneVscCsO|joN|jjoN|jj�joN|jtjjkoN|j	tjj
kS(N(tis_extensiontcontaining_typethas_optionst
GetOptionstmessage_set_wire_formatttypeRtFieldDescriptortTYPE_MESSAGEtlabeltLABEL_OPTIONAL(tfield((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt_IsMessageSetExtension^s
	tDescriptorPoolcBsjeZdZer!d#d�Znd#d�Zd�Zd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd#d#d#d#d�Zd#d#d#d#d�Zed�Zd�Z d�Z!d�Z"d�Z#d�Z$d �Z%d!�Z&d"�Z'RS($sGA collection of protobufs dynamically constructed by descriptor protos.cCstjj|�S(N(Rt_messageR(tclst
descriptor_db((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt__new__kscCsvtj�|_||_i|_i|_i|_i|_i|_i|_	t
jt�|_
t
jt�|_dS(s�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(RtDescriptorDatabaset_internal_dbt_descriptor_dbt_descriptorst_enum_descriptorst_service_descriptorst_file_descriptorst_toplevel_extensionst _file_desc_by_toplevel_extensiontcollectionstdefaultdicttdictt_extensions_by_namet_extensions_by_number(tselfR((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt__init__os
							cCs�|j}x�|jtjf|jtjf|jtjf|jtj	fgD]�\}}||krL||j
j}t||�s�||j
jkr�d|j
jd|d|d}t
j|t�ndSqLWdS(s�Check if the descriptor name conflicts with another of the same name.

    Args:
      desc: Descriptor of a message, enum, service or extension.
    sConflict register for file "s": s is already defined in file "t"N(t	full_nameR Rt
DescriptorR!tEnumDescriptorR"tServiceDescriptorR$RtfileRt
isinstancetwarningstwarntRuntimeWarning(R+tdesct	desc_nametregistertdescriptor_typet	file_nametwarn_msg((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt_CheckConflictRegister�s	$cCs|jj|�dS(sAdds the FileDescriptorProto and its types to this pool.

    Args:
      file_desc_proto: The FileDescriptorProto to add.
    N(RtAdd(R+tfile_desc_proto((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR>�scCs3ddlm}|jj|�}|j|�dS(s�Adds the FileDescriptorProto and its types to this pool.

    Args:
      serialized_file_desc_proto: A bytes string, serialization of the
        FileDescriptorProto to add.
    i����(tdescriptor_pb2N(tgoogle.protobufR@tFileDescriptorProtot
FromStringR>(R+tserialized_file_desc_protoR@R?((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytAddSerializedFile�s			cCsRt|tj�s!td��n|j|�||j|j<|j|j�dS(sAdds 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.
    s+Expected instance of descriptor.Descriptor.N(	R3RR/t	TypeErrorR=R R.t_AddFileDescriptorR2(R+R7((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt
AddDescriptor�s


cCsRt|tj�s!td��n|j|�||j|j<|j|j�dS(s�Adds an EnumDescriptor to the pool.

    This method also registers the FileDescriptor associated with the enum.

    Args:
      enum_desc: An EnumDescriptor.
    s/Expected instance of descriptor.EnumDescriptor.N(	R3RR0RFR=R!R.RGR2(R+t	enum_desc((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytAddEnumDescriptor�s
	
cCsBt|tj�s!td��n|j|�||j|j<dS(s^Adds a ServiceDescriptor to the pool.

    Args:
      service_desc: A ServiceDescriptor.
    s2Expected instance of descriptor.ServiceDescriptor.N(R3RR1RFR=R"R.(R+tservice_desc((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytAddServiceDescriptor�s
cCst|tj�o|js*td��n|jdkrY|j|�||j|j	<ny|j
|j|j}Wnt
k
r�n;X||k	r�td|j	|j	|jj	|jf��n||j
|j|j<||j|j|j	<t|�r||j|j|jj	<ndS(s;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.
    s!Expected an extension descriptor.sSExtensions "%s" and "%s" both try to extend message type "%s" with field number %d.N(R3RRRRFtextension_scopeR	R=R$R.R*R
tnumbertKeyErrortAssertionErrorR)Rtmessage_type(R+t	extensiont
existing_desc((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytAddExtensionDescriptor�s(	

cCs;|j|�x'|jj�D]}||j|j<qWdS(s�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(RGtextensions_by_nametvaluesR%R.(R+t	file_descRR((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytAddFileDescriptors

cCs5t|tj�s!td��n||j|j<dS(s�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.
    s/Expected instance of descriptor.FileDescriptor.N(R3RtFileDescriptorRFR#R(R+RW((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyRG&s
cCs�y|j|SWntk
r"nXy|jj|�}Wn7tk
rr}|jri|jj|�}qs|�nX|s�td|��n|j|�S(s�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.
    sCannot find a file named %s(R#RORtFindFileByNameRt!_ConvertFileProtoToFileDescriptor(R+R;t
file_prototerror((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyRZ4s

	
cCs3t|�}y|j|jSWntk
r1nXy|j|jSWntk
rWnXy|j|jSWntk
r}nXy|j|�SWntk
r�nXy|j|SWntk
r�nX|jd�\}}}y-|j	|�}|j
|st�|jSWn!tk
r.td|��nXdS(sGets 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.
    Rs Cannot find a file containing %sN(RR R2ROR!R"t_FindFileContainingSymbolInDbR%t
rpartitiontFindMessageTypeByNameRURP(R+tsymboltmessage_namet_textension_nametmessage((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindFileContainingSymbolQs8






cCs6t|�}||jkr+|j|�n|j|S(s�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.
    (RR R^(R+R.((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR`�s
cCs6t|�}||jkr+|j|�n|j|S(s�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.
    (RR!R^(R+R.((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindEnumTypeByName�s
cCs>t|�}|jd�\}}}|j|�}|j|S(sLoads 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(RR_R`tfields_by_name(R+R.RbRct
field_nametmessage_descriptor((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindFieldByName�scCs>t|�}|jd�\}}}|j|�}|j|S(sLoads 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(RR_R`toneofs_by_name(R+R.RbRct
oneof_nameRj((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindOneofByName�scCs�t|�}y|j|SWntk
r.nX|jd�\}}}y|j|�}Wn tk
r||j|�}nX|j|S(sLoads 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(RR$ROR_R`R^RU(R+R.RbRcRdtscope((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindExtensionByName�s

cCs|j||S(s�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+RjRN((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindExtensionByNumber�scCst|j|j��S(s!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.
    (tlistR*RV(R+Rj((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindAllExtensions�scCs6t|�}||jkr+|j|�n|j|S(sLoads 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.
    (RR"R^(R+R.((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytFindServiceByNamescCsvy|jj|�}Wn7tk
rO}|jrF|jj|�}qP|�nX|sitd|��n|j|�S(s"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.
    s Cannot find a file containing %s(RRfRORR[(R+RaR\R]((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR^s	
cCs|j|jkrt|j|j��}g|jD]}|j|�^q4}g|jD]}||^qY}tjd|d|jd|j	d|j
dt|�d|j�d|d|�}i}xM|D]E}	|j
|j|	jj���|j
d	�|	jj�D��q�WxB|jD]7}
|j|
|j	|||j
�}||j|j<q Wx9|jD].}|j||j	|d|�|j|j<qeWx�t|j�D]t\}
}|j||j	|
|d
t�}|j|j	|j|�|_|j|||j	|�||j|j<q�Wx'|jD]}|j |j	||�q)W|j	rdt!|j	�}nd}x9|jD].}|j||j|�}||j|j<qtWxEt|j"�D]4\}
}|j#||
||j	|�|j$|j<q�W|j%|�||j|j<n|j|jS(
sDCreates 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.
    tpoolRtpackagetsyntaxRt
serialized_pbtdependenciestpublic_dependenciescss$|]}t|j�|fVqdS(N(t_PrefixWithDotR.(t.0tenum((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pys	<genexpr>RsRtN(&RR#Rrt_GetDepst
dependencyRZtpublic_dependencyRRYRvRwRtSerializeToStringtupdatet_ExtractSymbolstmessage_types_by_nameRVtenum_types_by_nameRQt_ConvertMessageDescriptort	enum_typet_ConvertEnumDescriptorR	t	enumerateRRt_MakeFieldDescriptortTruet_GetTypeFromScopetextendeeR
t
_SetFieldTypeRUt_SetAllFieldTypesR{tservicet_MakeServiceDescriptortservices_by_nameR>(R+R\t
built_depstntdirect_depstitpublic_depstfile_descriptorRoR�RQtmessage_descR�tindextextension_prototextension_desct
desc_prototdesc_proto_prefixR7t
service_proto((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR[.sf
% 					
	
	
c!Cs|r!dj||jf�}n	|j}|dkr?d}n	|j}|dkr]i}ng|jD]!}|j|||||�^qg}g|jD]!}	|j|	||d|�^q�}
gt|j�D]$\}}|j	||||�^q�}
gt|j
�D]*\}}|j	||||dt�^q	}gt|j�D]B\}}t
j|jdj||jf�|dg|j�^qI}g|jD]}|j|jf^q�}|r�t}nt}t
jd|jd|d|ddd|
d|d	|d
|
d|dt|�d
|d|d|ddddd|�}x|jD]}||_qMWx|jD]}	||	_qjWxat|j�D]P\}}|jd�r�|j}||jj|
|�|||
|_q�q�W||t|�<|j|�||j |<|S(s�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.
    RRRR.tfilenameR
tfieldstoneofstnested_typest
enum_typest
extensionsRt
is_extendabletextension_rangesR2tserialized_starttserialized_endRwtoneof_indexN(!tjoinRR	tnested_typeR�R�R�R�RR�RRR�t
oneof_declRtOneofDescriptorRtextension_rangetstarttendtFalseR/RR�R
R�RR�R�tappendtcontaining_oneofR{R=R (R+R�RvRWRoRwR8R;tnestedR}tenumsR�RR�RRR�R7R�trR�R�tfield_indext
field_descR�((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��sh				..7=U(				

	

cCs�|r!dj||jf�}n	|j}|d
kr?d
}n	|j}gt|j�D]\}}	|j|	|�^qX}
tjd|jd|d|d|d|
d|dt|��}||d	|<|j	|�||j
|<|S(s�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
    RRR.R�R2RVR
Rs.%sN(R�RR	R�tvaluet_MakeEnumValueDescriptorRR0RR=R!(R+t
enum_protoRvRWR
Rot	enum_nameR;R�R�RVR7((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s&			1

c!Cs�|r!dj||jf�}n	|j}tjd|jd|d|d|jd|jddddd	dd
dd|jdtd
dd|dddt	|�d|�S(s�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
    RRR.R�RNRtcpp_typeRQR�R
Rthas_default_valuet
default_valueRRMRR2N(
R�RRRRNRR	RR�R(R+tfield_protoRbR�RWRR.((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s(						cCst|�}|j||j|�}|dkrBt|j�}ndj||jg�}x9t|j|j�D]"\}}|j||||�qpWxTt|j|j	�D]=\}}	|j||j
|�|	_|j||	||�q�Wx$|jD]}
|j
||
|�q�WdS(sSets 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(R{R�RR�tzipRR�R�RRR�R�R
R�R�(R+RvR�Rot	main_desctnested_packageR�R�R�R�R�((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR�(s"cCs|jr$|j||j|�}nd}|jd�sot|tj�r]tjj|_	qotjj
|_	ntjj|j	�|_|j	tjjks�|j	tjj
kr�||_n|j	tjj
kr�||_n|jtjjkrt|_g|_n�|jd�r&t|_|j	tjjksJ|j	tjjkr_t|j�|_q�|j	tjjkr�|j|_q�|j	tjjkr�|jj�dk|_q�|j	tjj
kr�|jj|jj|_q�|j	tjjkrtj |j�|_q�t!|j�|_n�t|_|j	tjjksY|j	tjjkred|_n�|j	tjjkr�d|_ny|j	tjjkr�t|_nX|j	tjj
kr�|jj"dj|_n*|j	tjjkr�d|_n	d|_|j	|_	dS(	sSets 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.
    RR�ttrueguiR~N(#t	type_nameR�R	RR3RR/RRRt	TYPE_ENUMtProtoTypeToCppProtoTypeR�t
TYPE_GROUPRQR�RtLABEL_REPEATEDR�R�R�R�tTYPE_DOUBLEt
TYPE_FLOATtfloattTYPE_STRINGt	TYPE_BOOLtlowertvalues_by_nameRNt
TYPE_BYTESRt	CUnescapetintRV(R+R�R�RvRoR7((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR�Hs^								cCs4tjd|jd|d|jdt|�dd�S(s�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.
    RR�RNRRN(RtEnumValueDescriptorRRNRR	(R+tvalue_protoR�((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s			c
Cs�|r!dj||jf�}n	|j}gt|j�D]'\}}|j|||||�^q:}	tjd|jd|d|d|	dt|�d|�}
|j|
�|
|j	|<|
S(s�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.
    RRR.R�tmethodsRR2(
R�RR�tmethodt_MakeMethodDescriptorRR1RR=R"(R+R�t
service_indexRoRvRWtservice_nameR�tmethod_protoR�R7((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s	:	

c	Cs�dj||jf�}|j||j|�}|j||j|�}tjd|jd|d|dd	d|d|dt|��S(
s�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.
    RRR.R�tcontaining_servicet
input_typetoutput_typeRN(	R�RR�R�R�RtMethodDescriptorR	R(	R+R�R�RvRoR�R.R�R�((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��sccssxl|D]d}t|j�|fVx|j|j�D]}|Vq4Wx%|jD]}t|j�|fVqMWqWdS(s�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(R{R.R�R�R�(R+tdescriptorsR7RaR}((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s	
	ccsBx;|D]3}|j|�}|Vx|jD]}|Vq+WqWdS(s�Recursively finds dependencies for file protos.

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

    Yields:
      Each direct and indirect dependency.
    N(RZRy(R+RyR�tdep_desct
parent_dep((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR�s


cCsr||krjt|�jd�}xF|rfdj||g�}||krV|}Pq$|jd�q$Wn||S(s?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.
    Ri����(R{tsplitR�tpop(R+RvR�Rot
componentstpossible_match((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR��s	N((t__name__t
__module__t__doc__t_USE_C_DESCRIPTORSR	RR,R=R>RERHRJRLRTRXRGRZRfR`RgRkRnRpRqRsRtR^R[R�R�R�R�R�R�R�R�R�R�RR�(((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyRfsL							
	+				0										UQ'+	 	F		!			cCs|jd�r|Sd|S(NRs.%s(t
startswith(R((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyR{scCstS(N(t_DEFAULT(((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pytDefault s(R�t
__author__R&R4RARRRR�RRRtobjectRR{Rtdefault_poolR�R�(((sC/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.pyt<module>8s&				����		

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
20 Feb 2024 12.46 PM
root / root
0755
compiler
--
28 Feb 2025 12.49 AM
root / root
0755
internal
--
28 Feb 2025 12.49 AM
root / root
0755
pyext
--
28 Feb 2025 12.49 AM
root / root
0755
util
--
28 Feb 2025 12.49 AM
root / root
0755
__init__.py
1.846 KB
20 Feb 2024 12.46 PM
root / root
0644
__init__.pyc
0.399 KB
20 Feb 2024 12.46 PM
root / root
0644
__init__.pyo
0.399 KB
20 Feb 2024 12.46 PM
root / root
0644
any_pb2.py
2.555 KB
20 Feb 2024 12.46 PM
root / root
0644
any_pb2.pyc
2.646 KB
20 Feb 2024 12.46 PM
root / root
0644
any_pb2.pyo
2.646 KB
20 Feb 2024 12.46 PM
root / root
0644
any_test_pb2.py
3.157 KB
20 Feb 2024 12.46 PM
root / root
0644
any_test_pb2.pyc
2.897 KB
20 Feb 2024 12.46 PM
root / root
0644
any_test_pb2.pyo
2.897 KB
20 Feb 2024 12.46 PM
root / root
0644
api_pb2.py
10.743 KB
20 Feb 2024 12.46 PM
root / root
0644
api_pb2.pyc
6.527 KB
20 Feb 2024 12.46 PM
root / root
0644
api_pb2.pyo
6.527 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor.py
40.67 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor.pyc
37.622 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor.pyo
37.622 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_database.py
6.147 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_database.pyc
5.124 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_database.pyo
5.124 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pb2.py
90.057 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pb2.pyc
42.818 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pb2.pyo
42.818 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pool.py
37.003 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pool.pyc
30.666 KB
20 Feb 2024 12.46 PM
root / root
0644
descriptor_pool.pyo
30.636 KB
20 Feb 2024 12.46 PM
root / root
0644
duration_pb2.py
2.646 KB
20 Feb 2024 12.46 PM
root / root
0644
duration_pb2.pyc
2.677 KB
20 Feb 2024 12.46 PM
root / root
0644
duration_pb2.pyo
2.677 KB
20 Feb 2024 12.46 PM
root / root
0644
empty_pb2.py
1.815 KB
20 Feb 2024 12.46 PM
root / root
0644
empty_pb2.pyc
2.091 KB
20 Feb 2024 12.46 PM
root / root
0644
empty_pb2.pyo
2.091 KB
20 Feb 2024 12.46 PM
root / root
0644
field_mask_pb2.py
2.286 KB
20 Feb 2024 12.46 PM
root / root
0644
field_mask_pb2.pyc
2.534 KB
20 Feb 2024 12.46 PM
root / root
0644
field_mask_pb2.pyo
2.534 KB
20 Feb 2024 12.46 PM
root / root
0644
json_format.py
29.136 KB
20 Feb 2024 12.46 PM
root / root
0644
json_format.pyc
24.451 KB
20 Feb 2024 12.46 PM
root / root
0644
json_format.pyo
24.451 KB
20 Feb 2024 12.46 PM
root / root
0644
map_proto2_unittest_pb2.py
52.389 KB
20 Feb 2024 12.46 PM
root / root
0644
map_proto2_unittest_pb2.pyc
24.462 KB
20 Feb 2024 12.46 PM
root / root
0644
map_proto2_unittest_pb2.pyo
24.462 KB
20 Feb 2024 12.46 PM
root / root
0644
map_unittest_pb2.py
118.683 KB
20 Feb 2024 12.46 PM
root / root
0644
map_unittest_pb2.pyc
52.218 KB
20 Feb 2024 12.46 PM
root / root
0644
map_unittest_pb2.pyo
52.218 KB
20 Feb 2024 12.46 PM
root / root
0644
message.py
11.186 KB
20 Feb 2024 12.46 PM
root / root
0644
message.pyc
12.106 KB
20 Feb 2024 12.46 PM
root / root
0644
message.pyo
12.106 KB
20 Feb 2024 12.46 PM
root / root
0644
message_factory.py
6.132 KB
20 Feb 2024 12.46 PM
root / root
0644
message_factory.pyc
4.575 KB
20 Feb 2024 12.46 PM
root / root
0644
message_factory.pyo
4.575 KB
20 Feb 2024 12.46 PM
root / root
0644
proto_builder.py
5.08 KB
20 Feb 2024 12.46 PM
root / root
0644
proto_builder.pyc
3.293 KB
20 Feb 2024 12.46 PM
root / root
0644
proto_builder.pyo
3.293 KB
20 Feb 2024 12.46 PM
root / root
0644
reflection.py
4.455 KB
20 Feb 2024 12.46 PM
root / root
0644
reflection.pyc
2.982 KB
20 Feb 2024 12.46 PM
root / root
0644
reflection.pyo
2.982 KB
20 Feb 2024 12.46 PM
root / root
0644
service.py
8.93 KB
20 Feb 2024 12.46 PM
root / root
0644
service.pyc
9.399 KB
20 Feb 2024 12.46 PM
root / root
0644
service.pyo
9.399 KB
20 Feb 2024 12.46 PM
root / root
0644
service_reflection.py
10.765 KB
20 Feb 2024 12.46 PM
root / root
0644
service_reflection.pyc
11.05 KB
20 Feb 2024 12.46 PM
root / root
0644
service_reflection.pyo
11.05 KB
20 Feb 2024 12.46 PM
root / root
0644
source_context_pb2.py
2.398 KB
20 Feb 2024 12.46 PM
root / root
0644
source_context_pb2.pyc
2.652 KB
20 Feb 2024 12.46 PM
root / root
0644
source_context_pb2.pyo
2.652 KB
20 Feb 2024 12.46 PM
root / root
0644
struct_pb2.py
10.554 KB
20 Feb 2024 12.46 PM
root / root
0644
struct_pb2.pyc
6.502 KB
20 Feb 2024 12.46 PM
root / root
0644
struct_pb2.pyo
6.502 KB
20 Feb 2024 12.46 PM
root / root
0644
symbol_database.py
6.272 KB
20 Feb 2024 12.46 PM
root / root
0644
symbol_database.pyc
5.981 KB
20 Feb 2024 12.46 PM
root / root
0644
symbol_database.pyo
5.981 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto2_pb2.py
102.496 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto2_pb2.pyc
49.896 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto2_pb2.pyo
49.896 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto3_pb2.py
112.719 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto3_pb2.pyc
55.646 KB
20 Feb 2024 12.46 PM
root / root
0644
test_messages_proto3_pb2.pyo
55.646 KB
20 Feb 2024 12.46 PM
root / root
0644
text_encoding.py
4.509 KB
20 Feb 2024 12.46 PM
root / root
0644
text_encoding.pyc
3.258 KB
20 Feb 2024 12.46 PM
root / root
0644
text_encoding.pyo
3.258 KB
20 Feb 2024 12.46 PM
root / root
0644
text_format.py
50.425 KB
20 Feb 2024 12.46 PM
root / root
0644
text_format.pyc
47.021 KB
20 Feb 2024 12.46 PM
root / root
0644
text_format.pyo
46.986 KB
20 Feb 2024 12.46 PM
root / root
0644
timestamp_pb2.py
2.666 KB
20 Feb 2024 12.46 PM
root / root
0644
timestamp_pb2.pyc
2.692 KB
20 Feb 2024 12.46 PM
root / root
0644
timestamp_pb2.pyo
2.692 KB
20 Feb 2024 12.46 PM
root / root
0644
type_pb2.py
21.88 KB
20 Feb 2024 12.46 PM
root / root
0644
type_pb2.pyc
11.862 KB
20 Feb 2024 12.46 PM
root / root
0644
type_pb2.pyo
11.862 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_arena_pb2.py
4.354 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_arena_pb2.pyc
3.526 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_arena_pb2.pyo
3.526 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_custom_options_pb2.py
82.74 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_custom_options_pb2.pyc
39.314 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_custom_options_pb2.pyo
39.314 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_pb2.py
4.5 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_pb2.pyc
3.88 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_pb2.pyo
3.88 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_public_pb2.py
2.208 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_public_pb2.pyc
2.451 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_import_public_pb2.pyo
2.451 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_pb2.py
9.765 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_pb2.pyc
5.88 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_pb2.pyo
5.88 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_wire_format_pb2.py
3.534 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_wire_format_pb2.pyc
3.096 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_mset_wire_format_pb2.pyo
3.096 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_import_pb2.py
2.187 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_import_pb2.pyc
2.398 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_import_pb2.pyo
2.398 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_pb2.py
50.384 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_pb2.pyc
26.707 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_arena_pb2.pyo
26.707 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_generic_services_pb2.py
4.205 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_generic_services_pb2.pyc
3.988 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_no_generic_services_pb2.pyo
3.988 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_pb2.py
344.276 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_pb2.pyc
162.427 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_pb2.pyo
162.427 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_proto3_arena_pb2.py
53.456 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_proto3_arena_pb2.pyc
27.251 KB
20 Feb 2024 12.46 PM
root / root
0644
unittest_proto3_arena_pb2.pyo
27.251 KB
20 Feb 2024 12.46 PM
root / root
0644
wrappers_pb2.py
11.354 KB
20 Feb 2024 12.46 PM
root / root
0644
wrappers_pb2.pyc
6.372 KB
20 Feb 2024 12.46 PM
root / root
0644
wrappers_pb2.pyo
6.372 KB
20 Feb 2024 12.46 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF