code: def parse_pbtxt_file(
      file_name: str, message: ProtoMessage
  ) -> ProtoMessage:
      """Parses a protobuf message from a text file and return message itself."""
      contents = fileio.open(file_name).read()
      text_format.Parse(contents, message)
      return message
  
imports: import os
  import re
  import tempfile
  from typing import List, TypeVar, Iterable
  from tfx.dsl.io import fileio
  from google.protobuf import json_format
  from google.protobuf import text_format
  from google.protobuf.message import Message
label_desc: Use image node_id 10 for calling a global function with example usage: parse_pbtxt_file(file_name, message) and returns: message