code: def ParseMessage(descriptor, byte_str):
      """Generate a new Message instance from this Descriptor and a byte string.
  
      Args:
        descriptor: Protobuf Descriptor object
        byte_str: Serialized protocol buffer byte string
  
      Returns:
        Newly created protobuf Message object.
      """
      result_class = MakeClass(descriptor)
      new_msg = result_class()
      new_msg.ParseFromString(byte_str)
      return new_msg
  
imports: from google.protobuf.internal import api_implementation
  from google.protobuf import message
label_desc: Use image node_id 1 for calling a global function with example usage: ParseMessage(descriptor, byte_str) and returns: new_msg