HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cppython/lib/python3.8/site-packages/proto/marshal/rules/__pycache__/wrappers.cpython-38.pyc
U

JD�g��@s�ddlmZGdd�d�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de�ZGdd�de�Z	Gdd�de�Z
Gdd�de�ZdS)�)�wrappers_pb2c@s,eZdZdZdd�ed�dd�Zdd�ZdS)�WrapperRuleaUA marshal for converting the protobuf wrapper classes to Python.

    This class converts between ``google.protobuf.BoolValue``,
    ``google.protobuf.StringValue``, and their siblings to the appropriate
    Python equivalents.

    These are effectively similar to the protobuf primitives except
    that None becomes a possible value.
    N)�absentcCst||j�r|rdS|jS|S)N)�
isinstance�_proto_type�value)�selfrr�r	�I/opt/cppython/lib/python3.8/site-packages/proto/marshal/rules/wrappers.py�	to_pythons
zWrapperRule.to_pythoncCst||j�r|j|d�S|S)N)r)r�_python_typer)rrr	r	r
�to_proto$szWrapperRule.to_proto)�__name__�
__module__�__qualname__�__doc__�boolrr
r	r	r	r
rs
rc@seZdZejZeZdS)�DoubleValueRuleN)rrrrZDoubleValuer�floatrr	r	r	r
r*src@seZdZejZeZdS)�FloatValueRuleN)rrrrZ
FloatValuerrrr	r	r	r
r/src@seZdZejZeZdS)�Int64ValueRuleN)rrrrZ
Int64Valuer�intrr	r	r	r
r4src@seZdZejZeZdS)�UInt64ValueRuleN)rrrrZUInt64Valuerrrr	r	r	r
r9src@seZdZejZeZdS)�Int32ValueRuleN)rrrrZ
Int32Valuerrrr	r	r	r
r>src@seZdZejZeZdS)�UInt32ValueRuleN)rrrrZUInt32Valuerrrr	r	r	r
rCsrc@seZdZejZeZdS)�
BoolValueRuleN)rrrrZ	BoolValuerrrr	r	r	r
rHsrc@seZdZejZeZdS)�StringValueRuleN)rrrrZStringValuer�strrr	r	r	r
rMsrc@seZdZejZeZdS)�BytesValueRuleN)rrrrZ
BytesValuer�bytesrr	r	r	r
rRsrN)Zgoogle.protobufrrrrrrrrrrrr	r	r	r
�<module>s