code: def write_pbtxt_file(file_name: str, proto: Message) -> None:
      """Writes a text protobuf to file."""
  
      write_string_file(file_name, text_format.MessageToString(proto))
  
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 8 for calling a global function with example usage: write_pbtxt_file(file_name, proto) without return types