pbspark/_proto.py
def message_to_dict(
        self,
        message: Message,
        including_default_value_fields=False,
        preserving_proto_field_name=False,
        use_integers_for_enums=False,
        descriptor_pool=None,
        float_precision=None,
    ):
        """Custom MessageToDict using overridden printer."""
        printer = _Printer(
            custom_serializers=self._custom_serializers,
            including_default_value_fields=including_default_value_fields,
            preserving_proto_field_name=preserving_proto_field_name,
            use_integers_for_enums=use_integers_for_enums,
            descriptor_pool=descriptor_pool,
            float_precision=float_precision,
        )
        return printer._MessageToJsonObject(message=message)
Custom MessageToDict using overridden printer.
Custom MessageToDict using overridden printer.
Custom MessageToDict using overridden printer .
def message_to_dict(
        self,
        message: Message,
        including_default_value_fields=False,
        preserving_proto_field_name=False,
        use_integers_for_enums=False,
        descriptor_pool=None,
        float_precision=None,
    ):
        printer = _Printer(
            custom_serializers=self._custom_serializers,
            including_default_value_fields=including_default_value_fields,
            preserving_proto_field_name=preserving_proto_field_name,
            use_integers_for_enums=use_integers_for_enums,
            descriptor_pool=descriptor_pool,
            float_precision=float_precision,
        )
        return printer._MessageToJsonObject(message=message)
def message_to_dict ( self , message : Message , including_default_value_fields = False , preserving_proto_field_name = False , use_integers_for_enums = False , descriptor_pool = None , float_precision = None , ) : printer = _Printer ( custom_serializers = self . _custom_serializers , including_default_value_fields = including_default_value_fields , preserving_proto_field_name = preserving_proto_field_name , use_integers_for_enums = use_integers_for_enums , descriptor_pool = descriptor_pool , float_precision = float_precision , ) return printer . _MessageToJsonObject ( message = message )
Custom MessageToDict using overridden printer.
Custom MessageToDict using overridden printer .
"""Custom MessageToDict using overridden printer."""
self
message
Message
including_default_value_fields
preserving_proto_field_name
use_integers_for_enums
descriptor_pool
float_precision