Hacked By AnonymousFox

Current Path : /opt/imunify360/venv/lib/python3.11/site-packages/google/protobuf/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/google/protobuf/__pycache__/descriptor.cpython-311.pyc

�

h��f`����dZdZddlZddlZddlmZdZej��dkrddlZddl	Z	ej
Ze�ddlmZdZGd	�d
e
��ZGd�de��ZerGd
�de��ZneZGd�de��Zej��Zd�Zde_e��ZGd�de���ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd �d!e��ZGd"�d#e��Z Gd$�d%e��Z!Gd&�d'e��Z"d(�Z#d)�Z$d*�Z%d+�Z&		d.d-�Z'dS)/z�Descriptors essentially contain exactly the information found in a .proto
file, in types that make this information accessible in Python.
z#robinson@google.com (Will Robinson)�N)�api_implementationF�python)�_messageTc��eZdZdZdS)�ErrorzBase error for this module.N��__name__�
__module__�__qualname__�__doc__���|/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/descriptor.pyrr7s������#�#�#�#rrc��eZdZdZdS)�TypeTransformationErrorzHError transforming between python proto type and corresponding C++ type.Nrr
rrrr;s������P�P�P�Prrc���eZdZ�fd�Z�xZS)�DescriptorMetaclassc���tt|���|��rdSt||j��rdSdS)NTF)�superr�__instancecheck__�
isinstance�_C_DESCRIPTOR_CLASS)�cls�obj�	__class__s  �rrz%DescriptorMetaclass.__instancecheck__FsH���	�"�C�	(�	(�	:�	:�3�	?�	?���t�	�C��0�	1�	1���t�
�Ur)r	r
rr�
__classcell__�rs@rrrDs8���������������rrc�$�eZdZdZd�Zd�Zd�ZdS)�_Lockz>Wrapper class of threading.Lock(), which is allowed by 'with'.c�j�t�|��}tj��|_|S�N)�object�__new__�	threading�Lock�_lock)r�selfs  rr#z
_Lock.__new__Ts'���>�>�#���D���!�!�D�J��Krc�8�|j���dSr!)r&�acquire�r's r�	__enter__z_Lock.__enter__Y����J�������rc�8�|j���dSr!)r&�release)r'�exc_type�	exc_value�exc_tbs    r�__exit__z_Lock.__exit__\r,rN)r	r
rrr#r+r2r
rrrrQsG������F�F����
�������rrc��tjdkr6txjdzc_tjd|ztd���dSdS)Nr�z�Call to deprecated create function %s(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.�)�category�
stacklevel)�_Deprecated�count�warnings�warn�DeprecationWarning��names rr8r8cse���������������M�	7��	�$��3�3�3�3�3�3��r�dc�,�eZdZdZerdZd�Zd�Zd�ZdS)�DescriptorBasea�Descriptors base class.

  This class is the base of all descriptor classes. It provides common options
  related functionality.

  Attributes:
    has_options:  True if the descriptor has non-default options.  Usually it
        is not necessary to read this -- just call GetOptions() which will
        happily return the default instance.  However, it's sometimes useful
        for efficiency, and also useful inside the protobuf implementation to
        avoid some bootstrapping issues.
  r
c�J�||_||_||_|dup|du|_dS)z�Initialize the descriptor given its options message and the name of the
    class of the options message. The name of the class is required in case
    the options message is None and has to be created.
    N)�_options�_options_class_name�_serialized_options�has_options)r'�options�serialized_options�options_class_names    r�__init__zDescriptorBase.__init__�s;��
�D�M�1�D��1�D�� �t�+�P�1C�4�1O�D���rc�4�||_||_|du|_dS)z�Sets the descriptor's options

    This function is used in generated proto2 files to update descriptor
    options. It must not be used outside proto2.
    N)rCrDrF)r'rGrIs   r�_SetOptionszDescriptorBase._SetOptions�s(���D�M�1�D���d�*�D���rc�d�|jr|jSddlm}	t||j��}n%#t
$rt
d|jz���wxYwt5|j�|��|_n"t|��|j��|_|jcddd��S#1swxYwYdS)z�Retrieves descriptor options.

    This method returns the options set or creates the default options for the
    descriptor.
    r��descriptor_pb2zUnknown options class name %s!N)
rC�google.protobufrO�getattrrD�AttributeError�RuntimeErrorr&rE�
_ParseOptions)r'rO�
options_classs   r�
GetOptionszDescriptorBase.GetOptions�s-���}��
�]��.�.�.�.�.�.�5��n�"�6�8�8�m�m���5�5�5��9��2�4�
5�
5�5�5����
���	
�	!�	)�%�
����
�
�%�m�m�o�o�&*�&>�@�@��
��]���������������������s�,�"A�AB%�%B)�,B)N)	r	r
rr�_USE_C_DESCRIPTORSrrJrLrVr
rrrArAvs`������������
Q�
Q�
Q�
+�
+�
+�����rrA)�	metaclassc�.��eZdZdZ		d�fd�	Zd�Z�xZS)�_NestedDescriptorBasez0Common class for descriptors that can be nested.Nc
���tt|���||	|��||_||_||_||_||_||_dS)a�Constructor.

    Args:
      options: Protocol message options or None
        to use default message options.
      options_class_name (str): The class name of the above options.
      name (str): Name of this protocol message type.
      full_name (str): Fully-qualified name of this protocol message type,
        which will include protocol "package" name and the name of any
        enclosing types.
      file (FileDescriptor): Reference to file info.
      containing_type: if provided, this is a nested descriptor, with this
        descriptor as parent, otherwise None.
      serialized_start: The start index (inclusive) in block in the
        file.serialized_pb that describes this descriptor.
      serialized_end: The end index (exclusive) in block in the
        file.serialized_pb that describes this descriptor.
      serialized_options: Protocol message serialized options or None.
    N)	rrZrJr>�	full_name�file�containing_type�_serialized_start�_serialized_end)r'rGrIr>r\r]r^�serialized_start�serialized_endrHrs          �rrJz_NestedDescriptorBase.__init__�sh���,
�
��&�&�/�/��#�%7�9�9�9��D�I��D�N��D�I�*�D��-�D��)�D���rc��|j�A|j�:|j�3|�|jj|j|j���dStd���)z�Copies this to the matching proto in descriptor_pb2.

    Args:
      proto: An empty proto instance from descriptor_pb2.

    Raises:
      Error: If self couldn't be serialized, due to to few constructor
        arguments.
    Nz*Descriptor does not contain serialization.)r]r_r`�ParseFromString�
serialized_pbr�r'�protos  r�CopyToProtoz!_NestedDescriptorBase.CopyToProto�sk��	
�	����*���(����D�I�3�
�
 ��!5�
5�7�8�8�8�8�8�
�>�?�?�?r�NNN)r	r
rrrJrhrrs@rrZrZ�sb�������8�8�8<�7;�!*�!*�!*�!*�!*�!*�F@�@�@�@�@�@�@rrZc���eZdZdZerejZ																		d	d�Z					d
�fd�	Z	e
d���Zd�Z�fd�Z
�xZS)�
Descriptora=	Descriptor for a protocol message type.

  Attributes:
      name (str): Name of this protocol message type.
      full_name (str): Fully-qualified name of this protocol message type,
          which will include protocol "package" name and the name of any
          enclosing types.
      containing_type (Descriptor): Reference to the descriptor of the type
          containing us, or None if this is top-level.
      fields (list[FieldDescriptor]): Field descriptors for all fields in
          this type.
      fields_by_number (dict(int, FieldDescriptor)): Same
          :class:`FieldDescriptor` objects as in :attr:`fields`, but indexed
          by "number" attribute in each FieldDescriptor.
      fields_by_name (dict(str, FieldDescriptor)): Same
          :class:`FieldDescriptor` objects as in :attr:`fields`, but indexed by
          "name" attribute in each :class:`FieldDescriptor`.
      nested_types (list[Descriptor]): Descriptor references
          for all protocol message types nested within this one.
      nested_types_by_name (dict(str, Descriptor)): Same Descriptor
          objects as in :attr:`nested_types`, but indexed by "name" attribute
          in each Descriptor.
      enum_types (list[EnumDescriptor]): :class:`EnumDescriptor` references
          for all enums contained within this type.
      enum_types_by_name (dict(str, EnumDescriptor)): Same
          :class:`EnumDescriptor` objects as in :attr:`enum_types`, but
          indexed by "name" attribute in each EnumDescriptor.
      enum_values_by_name (dict(str, EnumValueDescriptor)): Dict mapping
          from enum value name to :class:`EnumValueDescriptor` for that value.
      extensions (list[FieldDescriptor]): All extensions defined directly
          within this message type (NOT within a nested type).
      extensions_by_name (dict(str, FieldDescriptor)): Same FieldDescriptor
          objects as :attr:`extensions`, but indexed by "name" attribute of each
          FieldDescriptor.
      is_extendable (bool):  Does this type define any extension ranges?
      oneofs (list[OneofDescriptor]): The list of descriptors for oneof fields
          in this message.
      oneofs_by_name (dict(str, OneofDescriptor)): Same objects as in
          :attr:`oneofs`, but indexed by "name" attribute.
      file (FileDescriptor): Reference to file descriptor.

  NTc�|�tj���tj�|��Sr!)r�Message�_CheckCalledFromGeneratedFile�default_pool�FindMessageTypeByName)rr>r\�filenamer^�fields�nested_types�
enum_types�
extensionsrGrH�
is_extendable�extension_ranges�oneofsr]rarb�syntax�
create_keys                   rr#zDescriptor.__new__&s0��(��4�4�6�6�6�
�
"�
8�
8��
C�
C�Crc�r��|turtd��tt|���|	d|||||||
��	�	||_|jD]	}||_�
td�|D����|_td�|D����|_	d|_
||_|D]	}||_�
td�|D����|_||_
|j
D]	}||_�
td�|D����|_td	�|D����|_||_|jD]	}||_�
td
�|D����|_||_||_|
�|
ng|_td�|jD����|_|jD]	}||_�
|pd|_dS)
z�Arguments to __init__() are as described in the description
    of Descriptor fields above.

    Note that filename is an obsolete argument, that is not used anymore.
    Please use file.name to access this as an attribute.
    rk�MessageOptions�rarbrHc3�(K�|]
}|j|fV��dSr!��number��.0�fs  r�	<genexpr>z&Descriptor.__init__.<locals>.<genexpr>\s(���� ?� ?�1�!�(�A�� ?� ?� ?� ?� ?� ?rc3�(K�|]
}|j|fV��dSr!r=r�s  rr�z&Descriptor.__init__.<locals>.<genexpr>]�(����;�;�q����{�;�;�;�;�;�;rNc3�(K�|]
}|j|fV��dSr!r=�r��ts  rr�z&Descriptor.__init__.<locals>.<genexpr>cs(����$G�$G�Q�a�f�a�[�$G�$G�$G�$G�$G�$Grc3�(K�|]
}|j|fV��dSr!r=r�s  rr�z&Descriptor.__init__.<locals>.<genexpr>h�(����"C�"C�1�A�F�A�;�"C�"C�"C�"C�"C�"Crc3�<K�|]}|jD]
}|j|fV���dSr!)�valuesr>)r�r��vs   rr�z&Descriptor.__init__.<locals>.<genexpr>isO����$;�$;����$;�$;�,-�����$;�$;�$;�$;�$;�$;�$;rc3�(K�|]
}|j|fV��dSr!r=r�s  rr�z&Descriptor.__init__.<locals>.<genexpr>or�rc3�(K�|]
}|j|fV��dSr!r=)r��os  rr�z&Descriptor.__init__.<locals>.<genexpr>ss(����@�@�q����{�@�@�@�@�@�@r�proto2)�_internal_create_keyr8rrkrJrrr^�dict�fields_by_number�fields_by_name�_fields_by_camelcase_namers�nested_types_by_namert�enum_types_by_name�enum_values_by_nameru�extension_scope�extensions_by_namervrwrx�oneofs_by_namery)r'r>r\rqr^rrrsrtrurGrHrvrwrxr]rarbryrz�field�nested_type�	enum_type�	extension�oneofrs                        �rrJzDescriptor.__init__@s.����-�-�-��,����	�*�d���$�$��!�4��D��*:�%�:L�%�N�N�N��D�K���#�#��"�e��� � ?� ?�� ?� ?� ?�?�?�D���;�;�F�;�;�;�;�;�D��%)�D�"�$�D��#�)�)��$(�k�!�!� $�$G�$G�,�$G�$G�$G� G� G�D�� �D�O��_�'�'�	�"&�i���"�"C�"C�
�"C�"C�"C�C�C�D��#�$;�$;�'�$;�$;�$;� ;� ;�D��!�D�O��_�'�'�	�"&�i���"�"C�"C�
�"C�"C�"C�C�C�D��&�D��,�D��"�.�&�&�B�D�K��@�@�D�K�@�@�@�@�@�D����#�#��"�e����$�H�D�K�K�Krc�d�|j�#td�|jD����|_|jS)zrSame FieldDescriptor objects as in :attr:`fields`, but indexed by
    :attr:`FieldDescriptor.camelcase_name`.
    Nc3�(K�|]
}|j|fV��dSr!)�camelcase_namer�s  rr�z6Descriptor.fields_by_camelcase_name.<locals>.<genexpr>~s;����,6�,6�$%�1��Q�
�,6�,6�,6�,6�,6�,6r)r�r�rrr*s r�fields_by_camelcase_namez#Descriptor.fields_by_camelcase_namexsF��
�%�-�'+�,6�,6�)-��,6�,6�,6�(6�(6�d�$��)�)rc�<�|j|j|jS)asReturns the string name of an enum value.

    This is just a small helper method to simplify a common operation.

    Args:
      enum: string name of the Enum.
      value: int, value of the enum.

    Returns:
      string name of the enum value.

    Raises:
      KeyError if either the Enum doesn't exist or the value is not a valid
        value for the enum.
    )r��values_by_numberr>)r'�enum�values   r�
EnumValueNamezDescriptor.EnumValueName�s�� �"�4�(�9�%�@�E�Erc�X��tt|���|��dS)zvCopies this to a descriptor_pb2.DescriptorProto.

    Args:
      proto: An empty descriptor_pb2.DescriptorProto.
    N)rrkrh�r'rgrs  �rrhzDescriptor.CopyToProto�s)���
�*�d���'�'��.�.�.�.�.r)NNNNNNNNNNTNNNNNNN)
NNTNNNNNNN)r	r
rrrWrrkrr#rJ�propertyr�r�rhrrs@rrkrk�s�������)�)�V�D�"�-���������������
�����'D�D�D�D�6>B�"&�AE�@D�'+�6%�6%�6%�6%�6%�6%�p�*�*��8�*�F�F�F�$/�/�/�/�/�/�/�/�/rrkc���eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd	Zd
ZdZ dZ!iee�ee�ee�ee�ee�ee�ee�e	e�ee�ee�ee�ee�e
e�ee�ee�ee�ee �e
e i�Z"dZ#dZ$dZ%dZ&dZ'dZ(dZ)e*re+j,Z-				dd�Z.				d�fd�	Z/e0d���Z1e0d���Z2e0d���Z3e4d���Z5�xZ6S) �FieldDescriptora+	Descriptor for a single field in a .proto file.

  Attributes:
    name (str): Name of this field, exactly as it appears in .proto.
    full_name (str): Name of this field, including containing scope.  This is
      particularly relevant for extensions.
    index (int): Dense, 0-indexed index giving the order that this
      field textually appears within its message in the .proto file.
    number (int): Tag number declared for this field in the .proto file.

    type (int): (One of the TYPE_* constants below) Declared type.
    cpp_type (int): (One of the CPPTYPE_* constants below) C++ type used to
      represent this field.

    label (int): (One of the LABEL_* constants below) Tells whether this
      field is optional, required, or repeated.
    has_default_value (bool): True if this field has a default value defined,
      otherwise false.
    default_value (Varies): Default value of this field.  Only
      meaningful for non-repeated scalar fields.  Repeated fields
      should always set this to [], and non-repeated composite
      fields should always set this to None.

    containing_type (Descriptor): Descriptor of the protocol message
      type that contains this field.  Set by the Descriptor constructor
      if we're passed into one.
      Somewhat confusingly, for extension fields, this is the
      descriptor of the EXTENDED message, not the descriptor
      of the message containing this field.  (See is_extension and
      extension_scope below).
    message_type (Descriptor): If a composite field, a descriptor
      of the message type contained in this field.  Otherwise, this is None.
    enum_type (EnumDescriptor): If this field contains an enum, a
      descriptor of that enum.  Otherwise, this is None.

    is_extension: True iff this describes an extension field.
    extension_scope (Descriptor): Only meaningful if is_extension is True.
      Gives the message that immediately contains this extension field.
      Will be None iff we're a top-level (file-level) extension field.

    options (descriptor_pb2.FieldOptions): Protocol message field options or
      None to use default field options.

    containing_oneof (OneofDescriptor): If the field is a member of a oneof
      union, contains its descriptor. Otherwise, None.

    file (FileDescriptor): Reference to file descriptor.
  r4�r5������	�
���
�����i���i8JiNNTc��tj���|rtj�|��Stj�|��Sr!)rrmrnro�FindExtensionByName�FindFieldByName)rr>r\�indexr��type�cpp_type�label�
default_value�message_typer�r^�is_extensionr�rGrH�has_default_value�containing_oneof�	json_namer]rzs                     rr#zFieldDescriptor.__new__+sP����4�4�6�6�6�	�@��$�8�8��C�C�C��$�4�4�Y�?�?�?rc���|turtd��tt|���||d��||_||_||_d|_|�t|��|_
n||_
||_||_||_
||_||_||_||_||_|	|_|
|_||_|
|_||_t1j��dkr	d|_dS|r&t6j�|��|_dSt6j�|��|_dS)aThe arguments are as described in the description of FieldDescriptor
    attributes above.

    Note that containing_type may be None, and may be set later if necessary
    (to deal with circular references between message types, for example).
    Likewise for extension_scope.
    r��FieldOptionsNr)r�r8rr�rJr>r\r]�_camelcase_name�_ToJsonNamer�r�r�r�r�r�r�r�r^r�r�r�r�r�r�Type�_cdescriptorrror�r�)r'r>r\r�r�r�r�r�r�r�r�r^r�r�rGrHr�r�r�r]rzrs                     �rrJzFieldDescriptor.__init__7sP����-�-�-��#�$�$�$�	�/�4� � �)�)��#�^�5�5�5��D�I��D�N��D�I��D����"�4�(�(�d�n�n� �d�n��D�J��D�K��D�I��D�M��D�J�.�D��&�D��*�D��$�D���D�N�$�D��*�D��,�D���� � �H�,�,��d����	�M�$�1�E�E�i�P�P�����$�1�A�A�)�L�L����rc�P�|j�t|j��|_|jS)zRCamelcase name of this field.

    Returns:
      str: the name in CamelCase.
    )r��_ToCamelCaser>r*s rr�zFieldDescriptor.camelcase_namefs(����#�)�$�)�4�4�d����rc��|jtjkrdS|jtjks|jrdS|jjdkS)z�Whether the field distinguishes between unpopulated and default values.

    Raises:
      RuntimeError: singular field that is not linked with message nor file.
    FTr�)r�r��LABEL_REPEATEDr��CPPTYPE_MESSAGEr�r^ryr*s r�has_presencezFieldDescriptor.has_presenceqsL���z�_�3�3�3�
�U��
��8�8�8���	9�
�T�
��&�(�2�2rc��|jtjkrdS|j}|tjks0|tjks |tjks|tjkrdS|jj	dkr |j
o|���jS|j
p@|����
d��p|���jS)zReturns if the field is packed.Fr��packed)r�r�r�r��TYPE_STRING�
TYPE_GROUP�TYPE_MESSAGE�
TYPE_BYTESr^ryrFrVr��HasField)r'�
field_types  r�	is_packedzFieldDescriptor.is_packed�s����z�_�3�3�3�
�U���J��o�1�1�1��o�0�0�0��o�2�2�2��o�0�0�0�
�U���"�h�.�.�
�
�
:�$�/�/�"3�"3�":�:��"�"�'��/�/�#�#�,�,�X�6�6�6�'��o�o���&�(rc�h�	tj|S#t$rtd|z���wxYw)a�Converts from a Python proto type to a C++ Proto Type.

    The Python ProtocolBuffer classes specify both the 'Python' datatype and the
    'C++' datatype - and they're not the same. This helper method should
    translate from one to another.

    Args:
      proto_type: the Python proto type (descriptor.FieldDescriptor.TYPE_*)
    Returns:
      int: descriptor.FieldDescriptor.CPPTYPE_*, the C++ type.
    Raises:
      TypeTransformationError: when the Python proto type isn't known.
    zUnknown proto_type: %s)r��_PYTHON_TO_CPP_PROTO_TYPE_MAP�KeyErrorr)�
proto_types r�ProtoTypeToCppProtoTypez'FieldDescriptor.ProtoTypeToCppProtoType�sI��K�
�
:�:�
F�F���K�K�K�#�$<�z�$I�J�J�J�K���s��1)NNTNNNN)7r	r
rr�TYPE_DOUBLE�
TYPE_FLOAT�
TYPE_INT64�TYPE_UINT64�
TYPE_INT32�TYPE_FIXED64�TYPE_FIXED32�	TYPE_BOOLr�r�r�r��TYPE_UINT32�	TYPE_ENUM�
TYPE_SFIXED32�
TYPE_SFIXED64�TYPE_SINT32�TYPE_SINT64�MAX_TYPE�
CPPTYPE_INT32�
CPPTYPE_INT64�CPPTYPE_UINT32�CPPTYPE_UINT64�CPPTYPE_DOUBLE�
CPPTYPE_FLOAT�CPPTYPE_BOOL�CPPTYPE_ENUM�CPPTYPE_STRINGr��MAX_CPPTYPEr��LABEL_OPTIONAL�LABEL_REQUIREDr��	MAX_LABEL�MAX_FIELD_NUMBER�FIRST_RESERVED_FIELD_NUMBER�LAST_RESERVED_FIELD_NUMBERrWrr�rr#rJr�r�r�r��staticmethodr�rrs@rr�r��s��������/�/�j�+��*��*��+��*��,��,��)��+��*��,��*��+��)��-��-��+��+��(��-��-��.��.��.��-��,��,��.��/��+�#��>�#��-�#���#��-�	#�
�=�#��]�
#��>�#��N�#��-�#��]�#��=�#��>�#��N�#��.�#��>�#� ��!#�"�O�##�$�/�%#�#��2�.��.��.��)�#�� %��$���
@�"�2��8<�#'�IM�&*�
@�
@�
@�
@�7;�"&�HL�%)�-M�-M�-M�-M�-M�-M�^� � ��8� ��3�3��8�3�"�(�(��8�(�"�K�K��<�K�K�K�K�Krr�c�j��eZdZdZerejZ			dd�Z			d�fd�	Z	e
d���Z�fd�Z�xZ
S)�EnumDescriptora�Descriptor for an enum defined in a .proto file.

  Attributes:
    name (str): Name of the enum type.
    full_name (str): Full name of the type, including package name
      and any enclosing type(s).

    values (list[EnumValueDescriptor]): List of the values
      in this enum.
    values_by_name (dict(str, EnumValueDescriptor)): Same as :attr:`values`,
      but indexed by the "name" field of each EnumValueDescriptor.
    values_by_number (dict(int, EnumValueDescriptor)): Same as :attr:`values`,
      but indexed by the "number" field of each EnumValueDescriptor.
    containing_type (Descriptor): Descriptor of the immediate containing
      type of this enum, or None if this is an enum defined at the
      top level in a .proto file.  Set by Descriptor's constructor
      if we're passed into one.
    file (FileDescriptor): Reference to file descriptor.
    options (descriptor_pb2.EnumOptions): Enum options message or
      None to use default enum options.
  Nc�|�tj���tj�|��Sr!)rrmrnro�FindEnumTypeByName)rr>r\rqr�r^rGrHr]rarbrzs            rr#zEnumDescriptor.__new__�s0����4�4�6�6�6�
�
"�
5�
5�i�
@�
@�@rc�\��|turtd��tt|���|d|||||	|
|��	�	||_|jD]	}||_�
td�|D����|_td�t|��D����|_
dS)z�Arguments are as described in the attribute description above.

    Note that filename is an obsolete argument, that is not used anymore.
    Please use file.name to access this as an attribute.
    r	�EnumOptionsr}c3�(K�|]
}|j|fV��dSr!r=�r�r�s  rr�z*EnumDescriptor.__init__.<locals>.<genexpr>�r�rc3�(K�|]
}|j|fV��dSr!rrs  rr�z*EnumDescriptor.__init__.<locals>.<genexpr>�s(���� I� I�1�!�(�A�� I� I� I� I� I� IrN)r�r8rr	rJr�r�r��values_by_name�reversedr�)r'r>r\rqr�r^rGrHr]rarbrzr�rs             �rrJzEnumDescriptor.__init__�s�����-�-�-��"�#�#�#�	�.�$���(�(����i���*:�%�:L�)�N�N�N�
�D�K�������e�j�j��;�;�F�;�;�;�;�;�D�� � I� I���8H�8H� I� I� I�I�I�D���rc�"�|jjdkS)a:Returns true whether this is a "closed" enum.

    This means that it:
    - Has a fixed set of values, rather than being equivalent to an int32.
    - Encountering values not in this set causes them to be treated as unknown
      fields.
    - The first value (i.e., the default) may be nonzero.

    WARNING: Some runtimes currently have a quirk where non-closed enums are
    treated as closed when used as the type of fields defined in a
    `syntax = proto2;` file. This quirk is not present in all runtimes; as of
    writing, we know that:

    - C++, Java, and C++-based Python share this quirk.
    - UPB and UPB-based Python do not.
    - PHP and Ruby treat all enums as open regardless of declaration.

    Care should be taken when using this function to respect the target
    runtime's enum handling quirks.
    r�)r]ryr*s r�	is_closedzEnumDescriptor.is_closed�s��,�9��x�'�'rc�X��tt|���|��dS)z�Copies this to a descriptor_pb2.EnumDescriptorProto.

    Args:
      proto (descriptor_pb2.EnumDescriptorProto): An empty descriptor proto.
    N)rr	rhr�s  �rrhzEnumDescriptor.CopyToProto�s)���
�.�$���+�+�E�2�2�2�2�2r)NNNNNNN)r	r
rrrWrr	rr#rJr�rrhrrs@rr	r	�s����������,�A�"�1��/3�.2�GK�A�A�A�A�.2�-1�FJ�J�J�J�J�J�J�0�(�(��8�(�.3�3�3�3�3�3�3�3�3rr	c�F��eZdZdZer
ejZ		dd�Z		d�fd�	Z	�xZ
S)�EnumValueDescriptoraLDescriptor for a single value within an enum.

  Attributes:
    name (str): Name of this value.
    index (int): Dense, 0-indexed index giving the order that this
      value appears textually within its enum in the .proto file.
    number (int): Actual number assigned to this enum value.
    type (EnumDescriptor): :class:`EnumDescriptor` to which this value
      belongs.  Set by :class:`EnumDescriptor`'s constructor if we're
      passed into one.
    options (descriptor_pb2.EnumValueOptions): Enum value options message or
      None to use default enum value options options.
  Nc�B�tj���dSr!)rrmrn)rr>r�r�r�rGrHrzs        rr#zEnumValueDescriptor.__new__s ����4�4�6�6�6�
�Trc����|turtd��tt|���||d��||_||_||_||_dS)�>Arguments are as described in the attribute description above.r�EnumValueOptionsN)	r�r8rrrJr>r�r�r�)	r'r>r�r�r�rGrHrzrs	        �rrJzEnumValueDescriptor.__init__#sl����-�-�-��'�(�(�(�	�
�t�$�$�-�-��#�%7�9�9�9��D�I��D�J��D�K��D�I�I�Ir)NNNN)r	r
rrrWrrrr#rJrrs@rrrs~�����������"�6���BF������AE����������rrc�F��eZdZdZer
ejZ		dd�Z		d�fd�	Z	�xZ
S)�OneofDescriptora'Descriptor for a oneof field.

  Attributes:
    name (str): Name of the oneof field.
    full_name (str): Full name of the oneof field, including package name.
    index (int): 0-based index giving the order of the oneof field inside
      its containing type.
    containing_type (Descriptor): :class:`Descriptor` of the protocol message
      type that contains this field.  Set by the :class:`Descriptor` constructor
      if we're passed into one.
    fields (list[FieldDescriptor]): The list of field descriptors this
      oneof can contain.
  Nc	�|�tj���tj�|��Sr!)rrmrnro�FindOneofByName)	rr>r\r�r^rrrGrHrzs	         rr#zOneofDescriptor.__new__Ds0����4�4�6�6�6�
�
"�
2�
2�9�
=�
=�=rc	����|turtd��tt|���||d��||_||_||_||_||_	dS)rr�OneofOptionsN)
r�r8rrrJr>r\r�r^rr)
r'r>r\r�r^rrrGrHrzrs
         �rrJzOneofDescriptor.__init__Jsr����-�-�-��#�$�$�$�	�/�4� � �)�)��#�^�5�5�5��D�I��D�N��D�J�*�D���D�K�K�Krri)r	r
rrrWrrrr#rJrrs@rrr2s�����������>�"�2��GK�,0�>�>�>�>�FJ�*.�
�
�
�
�
�
�
�
�
�
rrc�h��eZdZdZerejZ										dd�Z			d�fd�	Z	d�Z
�fd�Z�xZS)	�ServiceDescriptora�Descriptor for a service.

  Attributes:
    name (str): Name of the service.
    full_name (str): Full name of the service, including package name.
    index (int): 0-indexed index giving the order that this services
      definition appears within the .proto file.
    methods (list[MethodDescriptor]): List of methods provided by this
      service.
    methods_by_name (dict(str, MethodDescriptor)): Same
      :class:`MethodDescriptor` objects as in :attr:`methods_by_name`, but
      indexed by "name" attribute in each :class:`MethodDescriptor`.
    options (descriptor_pb2.ServiceOptions): Service options message or
      None to use default service options.
    file (FileDescriptor): Reference to file info.
  Nc�|�tj���tj�|��Sr!)rrmrnro�FindServiceByName)rr>r\r��methodsrGrHr]rarbrzs           rr#zServiceDescriptor.__new__ps0����4�4�6�6�6�
�
"�
4�
4�Y�
?�
?�?rc���|
turtd��tt|���|d|||d||	|��	�	||_||_td�|D����|_|jD]	}||_	�
dS)Nr#�ServiceOptionsr}c3�(K�|]
}|j|fV��dSr!r=)r��ms  rr�z-ServiceDescriptor.__init__.<locals>.<genexpr>�s(����=�=������=�=�=�=�=�=r)
r�r8rr#rJr�r&r��methods_by_name�containing_service)
r'r>r\r�r&rGrHr]rarbrz�methodrs
            �rrJzServiceDescriptor.__init__s�����-�-�-��%�&�&�&�	�
�T�"�"�+�+��!�4��D��/�%�:L�,�N�N�N��D�J��D�L��=�=�W�=�=�=�=�=�D���,�'�'��"&�f���'�'rc��|j|S)aSearches for the specified method, and returns its descriptor.

    Args:
      name (str): Name of the method.

    Returns:
      MethodDescriptor: The descriptor for the requested method.

    Raises:
      KeyError: if the method cannot be found in the service.
    )r+)r'r>s  r�FindMethodByNamez"ServiceDescriptor.FindMethodByName�s�����%�%rc�X��tt|���|��dS)z�Copies this to a descriptor_pb2.ServiceDescriptorProto.

    Args:
      proto (descriptor_pb2.ServiceDescriptorProto): An empty descriptor proto.
    N)rr#rhr�s  �rrhzServiceDescriptor.CopyToProto�s*���
�
�T�"�"�.�.�u�5�5�5�5�5r)
NNNNNNNNNN)NNNNNN)
r	r
rrrWrr#rr#rJr/rhrrs@rr#r#Zs����������"�@�"�4��������
����
@�
@�
@�
@�?C�-1�FJ�'�'�'�'�'�'�"&�&�&�6�6�6�6�6�6�6�6�6rr#c�X��eZdZdZerejZ					dd�Z					d�fd�	Z	d�Z
�xZS)�MethodDescriptora�Descriptor for a method in a service.

  Attributes:
    name (str): Name of the method within the service.
    full_name (str): Full name of method.
    index (int): 0-indexed index of the method inside the service.
    containing_service (ServiceDescriptor): The service that contains this
      method.
    input_type (Descriptor): The descriptor of the message that this method
      accepts.
    output_type (Descriptor): The descriptor of the message that this method
      returns.
    client_streaming (bool): Whether this method uses client streaming.
    server_streaming (bool): Whether this method uses server streaming.
    options (descriptor_pb2.MethodOptions or None): Method options message, or
      None to use default method options.
  FNc�|�tj���tj�|��Sr!)rrmrnror/)rr>r\r�r,�
input_type�output_type�client_streaming�server_streamingrGrHrzs            rr#zMethodDescriptor.__new__�s0����4�4�6�6�6�
�
"�
3�
3�I�
>�
>�>rc���|turtd��tt|���|	|
d��||_||_||_||_||_	||_
||_||_dS)z�The arguments are as described in the description of MethodDescriptor
    attributes above.

    Note that containing_service may be None, and may be set later if necessary.
    r2�
MethodOptionsN)
r�r8rr2rJr>r\r�r,r4r5r6r7)
r'r>r\r�r,r4r5r6r7rGrHrzrs
            �rrJzMethodDescriptor.__init__�s����"�-�-�-��$�%�%�%�	�
�D�!�!�*�*��#�_�6�6�6��D�I��D�N��D�J�0�D�� �D�O�"�D��,�D��,�D���rc���|j�[ddlm}|���}|j�|��|�|j|j��dStd���)z�Copies this to a descriptor_pb2.MethodDescriptorProto.

    Args:
      proto (descriptor_pb2.MethodDescriptorProto): An empty descriptor proto.

    Raises:
      Error: If self couldn't be serialized, due to too few constructor
        arguments.
    NrrNz&Descriptor does not contain a service.)	r,rPrO�ServiceDescriptorProtorh�CopyFromr-r�r)r'rgrO�
service_protos    rrhzMethodDescriptor.CopyToProto�sx����*�0�0�0�0�0�0�$�;�;�=�=�m�
��)�)�-�8�8�8��n�n�]�)�$�*�5�6�6�6�6�6��:�;�;�;r)FFNNN)r	r
rrrWrr2rr#rJrhrrs@rr2r2�s����������$�?�"�3��"'�!&��#'��
?�
?�
?�
?�,!&� %��"&��-�-�-�-�-�-�><�<�<�<�<�<�<rr2c�X��eZdZdZerejZ				d�fd�	Z				d�fd�	Z	d�Z
�xZS)�FileDescriptora�Descriptor for a file. Mimics the descriptor_pb2.FileDescriptorProto.

  Note that :attr:`enum_types_by_name`, :attr:`extensions_by_name`, and
  :attr:`dependencies` fields are only set by the
  :py:mod:`google.protobuf.message_factory` module, and not by the generated
  proto code.

  Attributes:
    name (str): Name of file, relative to root of source tree.
    package (str): Name of the package
    syntax (str): string indicating syntax of the file (can be "proto2" or
      "proto3")
    serialized_pb (bytes): Byte string of serialized
      :class:`descriptor_pb2.FileDescriptorProto`.
    dependencies (list[FileDescriptor]): List of other :class:`FileDescriptor`
      objects this :class:`FileDescriptor` depends on.
    public_dependencies (list[FileDescriptor]): A subset of
      :attr:`dependencies`, which were declared as "public".
    message_types_by_name (dict(str, Descriptor)): Mapping from message names
      to their :class:`Descriptor`.
    enum_types_by_name (dict(str, EnumDescriptor)): Mapping from enum names to
      their :class:`EnumDescriptor`.
    extensions_by_name (dict(str, FieldDescriptor)): Mapping from extension
      names declared at file scope to their :class:`FieldDescriptor`.
    services_by_name (dict(str, ServiceDescriptor)): Mapping from services'
      names to their :class:`ServiceDescriptor`.
    pool (DescriptorPool): The pool this descriptor belongs to.  When not
      passed to the constructor, the global default pool is used.
  Nc���|rtj�|��Stt|���|��Sr!)rro�AddSerializedFilerr?r#)rr>�packagerGrHre�dependencies�public_dependenciesry�poolrzrs           �rr#zFileDescriptor.__new__"sB���
�7��$�6�6�}�E�E�E��^�S�)�)�1�1�#�6�6�6rc�j��|
turtd��tt|���||d��|	�ddlm}|���}	|	|_i|_	||_
||_|pd|_||_
i|_i|_i|_|pg|_|pg|_dS)zConstructor.r?�FileOptionsNr)�descriptor_poolr�)r�r8rr?rJrPrH�DefaultrE�message_types_by_namer>rBryrer�r��services_by_namerCrD)
r'r>rBrGrHrerCrDryrErzrHrs
            �rrJzFileDescriptor.__init__.s����
�-�-�-��"�#�#�#�	�.�$���(�(��#�]�4�4�4��|�1�1�1�1�1�1�
�
$�
$�
&�
&�d��D�I�!#�D���D�I��D�L��$�H�D�K�&�D�� �D�� �D���D��%�+��D�� 3� 9�r�D���rc�:�|�|j��dS)z~Copies this to a descriptor_pb2.FileDescriptorProto.

    Args:
      proto: An empty descriptor_pb2.FileDescriptorProto.
    N)rdrerfs  rrhzFileDescriptor.CopyToProtoIs!��
���$�,�-�-�-�-�-r)NNNNNNNN)r	r
rrrWrr?rr#rJrhrrs@rr?r?s����������<�
7�"�1��,0�7;�7;�37�
7�
7�
7�
7�
7�
7�-1�6:�6:�26�;�;�;�;�;�;�6.�.�.�.�.�.�.rr?c�0�|�|��|S)z�Parses serialized options.

  This helper function is used to parse serialized options in generated
  proto2 files. It must not be used outside proto2.
  )rd)�message�strings  rrTrTRs��
���&�!�!�!�	�.rc�(�d}g}|D]>}|dkr|rd}�
|r*|�|�����d}�9||z
}�?|r7|d���r|d���|d<d�|��S)z+Converts name to camel-case and returns it.F�_Tr�)�append�upper�isupper�lower�join�r>�capitalize_next�result�cs    rr�r�\s����/�
�&����a��C�x�x�	�����	���m�m�A�G�G�I�I�����o�o���k�f�f��"��q�	�!�!�#�#�"��q�	���!�!�F�1�I�	������rc�>�|�d��r|jSdS)zCReturns the value of the field `options`, or None if it is not set.rGN)r�rG)�descriptor_protos r�_OptionsOrNoner^qs&�����y�)�)���#�#��4rc��d}g}|D]<}|dkrd}�|r*|�|�����d}�7||z
}�=d�|��S)z*Converts name to Json name and returns it.FrQTrR)rSrTrWrXs    rr�r�yso���/�
�&����a��C�x�x��o�o�	���m�m�A�G�G�I�I�����o�o���k�f�f�	������rrRc��tj��dk�r.|�r+ddlm}|���}|j����|��tj	tjd�����d��}|rDtj
�|�dd��|dz��|_||_n
|dz|_t$j�|��t$j�|j��}t,r|j|jS|jg}|r|�d|��i}	|jD]_}
d�||
jgz��}t5|
j|d	d
�t7|
j��D��t:���}||	|<�`i}
|jD]K}d�||jgz��}t?|d�|��d|�
��}||
|<�Lg}|j D�]"}d�||jgz��}d	}d	}|j!r|j!}nd	}|�"d��rW|j#}d�|||�$d��dzd	�gz��}||
vr	|
|}n||	vr|	|}tK|j||j&dz
|j&|j'tJ�(|j'��|j)d	||d	dd	tU|��d|t:���}|�+|����$d�|��}tY|j|d	d	|t[|
�.����t[|	�.����gtU|��t:��
�
S)aMake a protobuf Descriptor given a DescriptorProto protobuf.

  Handles nested descriptors. Note that this is limited to the scope of defining
  a message inside of another message. Composite fields can currently only be
  resolved if the message is defined in the same scope as the field.

  Args:
    desc_proto: The descriptor_pb2.DescriptorProto protobuf message.
    package: Optional package name for the new message Descriptor (string).
    build_file_if_cpp: Update the C++ descriptor pool if api matches.
                       Set to False on recursion, so no duplicates are created.
    syntax: The syntax/semantics that should be used.  Set to "proto3" to get
            proto3 field presence semantics.
  Returns:
    A Descriptor for protobuf messages.
  rrrNr��ascii�.�/z.protoNc�X�g|]'\}}t|j||jt�����(S)�rz)rr>r�r�)r��ii�enum_vals   r�
<listcomp>z"MakeDescriptor.<locals>.<listcomp>�sM��+=�+=�+=���H�
 ��
�r�8�?�+?�
A�
A�
A�+=�+=�+=rreF)rB�build_file_if_cppry�	type_namer4)rGr�r�rz)rGrz)/rr�rPrO�FileDescriptorProtor��add�	MergeFrom�binascii�hexlify�os�urandom�decode�pathrW�replacer>rBrro�Add�FindFileByNamerWrJ�insertr�r	�	enumerater�r�r��MakeDescriptorr�r�r�rj�rfindr�r�r�r�r�r^rSrk�listr�)�
desc_protorBriryrO�file_descriptor_proto�
proto_namerZ�full_message_namert�
enum_protor\�	enum_descrs�nested_proto�nested_descrr�field_protor�rj�full_type_namer��	desc_names                       rryry�s,��$����(�*�*�/@�*�
/�.�.�.�.�.�*�>�>�@�@���&�*�*�,�,�6�6�z�B�B�B��!�"�*�R�.�.�1�1�8�8��A�A�J��9�#%�7�<�<�����S�0I�0I�0:�X�0E�$G�$G�� �&-��#�#�#-��#8�� �����3�4�4�4�
�
"�
1�
1�2G�2L�
M�
M�F��;�
�
)�*�/�
:�:�!��'���2��&�&�q�'�2�2�2��*��(�&�&�j����*�j�o�->�>�?�?�I�����D�+=�+=�!*�*�*:� ;� ;�+=�+=�+=�(�)�)�)�I�&�J�y����,� �,�*�*�l����*�l�.?�-@�@�A�A�I�!��),���2C�)D�)D�38�(.�0�0�0�K�*�L����
�&��%���k����*�k�.>�-?�?�@�@�I��I��K�����'�i�i��i����K�(�(�/��'�i��x�x� 1�!*�9�?�?�3�+?�+?��+A�+B�+B�!C� D�!E�F�F�n�	�<�	'�	'�"�>�2����Z�'�'��~�.�	����)�[�%7�!�%;���K�,��/�/��0@�A�A���4��i��u�d��{�+�+�u��(<�

>�
>�
>�E��M�M�%������h�h�(�)�)�)�	�J�O�Y��d�F���,�,�.�.�/�/��j�6G�6G�6I�6I�1J�1J�B�*�:�6�6�3�
5�
5�
5�5r)rRTN)(r�
__author__r$r:�google.protobuf.internalrrWr�rnrp�	_c_moduler�google.protobuf.pyext�	Exceptionrrr�rr"rr%r&r8r9r�rArZrkr�r	rrr#r2r?rTr�r^r�ryr
rr�<module>r�s���>��3�
���������7�7�7�7�7�7���������(�(��/�/�/��)�)�)�
�
)�(�
��.�.�.�.�.�.���$�$�$�$�$�I�$�$�$�Q�Q�Q�Q�Q�e�Q�Q�Q���
�����D������������F����	�	�����3�3�3�����v�x�x��D�D�D�D�D�2�D�D�D�D�N6@�6@�6@�6@�6@�N�6@�6@�6@�re/�e/�e/�e/�e/�&�e/�e/�e/�f~K�~K�~K�~K�~K�n�~K�~K�~K�BY3�Y3�Y3�Y3�Y3�*�Y3�Y3�Y3�x)�)�)�)�)�.�)�)�)�X%�%�%�%�%�n�%�%�%�PK6�K6�K6�K6�K6�-�K6�K6�K6�\U<�U<�U<�U<�U<�~�U<�U<�U<�pO.�O.�O.�O.�O.�^�O.�O.�O.�d������*������">B��h5�h5�h5�h5�h5�h5r

Hacked By AnonymousFox1.0, Coded By AnonymousFox