U
    ÉZjÏ  ã                   @   sŒ   d Z ddlmZ ddlmZ ddlmZ ddlmZ deee	 ee
 edœd	d
„Zeee
dœdd„Zee	dœdd„Zeeje
dœdd„ZdS )zContains the Any helper APIs.é    )ÚOptional)Ú
descriptor)ÚMessage)ÚAnyútype.googleapis.com/N)ÚmsgÚtype_url_prefixÚdeterministicÚreturnc                 C   s   t ƒ }|j| ||d� |S )N)r   r   r	   )r   ZPack)r   r   r	   Úany_msg© r   úV/var/www/html/TRUCKING_PROJECT/venv/lib/python3.8/site-packages/google/protobuf/any.pyÚpack   s      ÿr   )r   r   r
   c                 C   s   | j |d�S )N)r   )ÚUnpack)r   r   r   r   r   Úunpack   s    r   )r   r
   c                 C   s   |   ¡ S ©N)ZTypeName)r   r   r   r   Ú	type_name"   s    r   )r   Údesr
   c                 C   s
   |   |¡S r   )ÚIs)r   r   r   r   r   Úis_type&   s    r   )r   N)Ú__doc__Útypingr   Zgoogle.protobufr   Zgoogle.protobuf.messager   Zgoogle.protobuf.any_pb2r   ÚstrÚboolr   r   r   Z
Descriptorr   r   r   r   r   Ú<module>   s     ýü