code: def deserialize_proto_message(
      serialized_message: str,
      message_name: str,
      file_descriptors: Optional[
          descriptor_pb2.FileDescriptorSet
      ] = None,
  ) -> ProtoMessage:
      """Converts serialized pb message string to its original message."""
      pool = get_pool_with_descriptors(file_descriptors)
      proto_instance = _create_proto_instance_from_name(
          message_name, pool
      )
      return json_format.Parse(
          serialized_message, proto_instance, descriptor_pool=pool
      )
  
file_path: tfx/tfx/utils/proto_utils.py
imports: from typing import Any, Dict, Iterator, TypeVar, Optional
  from google.protobuf import any_pb2
  from google.protobuf import descriptor_pb2
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import json_format
  from google.protobuf import message
  from google.protobuf import message_factory
label_desc: Use image node_id 9 for calling a global function with example usage: deserialize_proto_message(serialized_message, message_name, file_descriptors) and returns: json_format