o
    Zh                  	   @   s   d Z ddlmZ ddlmZ ddlmZ ddlmZ 		dded	ee	 d
ee
 defddZdedede
fddZdede	fddZdedejde
f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   J/var/www/html/lang_env/lib/python3.10/site-packages/google/protobuf/any.pypack   s
   r   r   c                 C   s   | j |dS )N)r   )Unpack)r   r   r   r   r   unpack   s   r   c                 C   s   |   S N)ZTypeName)r   r   r   r   	type_name"   s   r   desc                 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&   
