code: def _read_descriptor_set_file(filePath: str) -> bytes:
      # TODO(SPARK-43847): Throw structured errors like "PROTOBUF_DESCRIPTOR_FILE_NOT_FOUND" etc.
      with open(filePath, "rb") as f:
          return f.read()
  
file_path: spark/python/pyspark/sql/protobuf/functions.py
imports: from typing import Dict, Optional, TYPE_CHECKING, cast
  from py4j.java_gateway import JVMView
  from pyspark.sql.column import Column, _to_java_column
  from pyspark.sql.utils import get_active_spark_context, try_remote_protobuf_functions
  from pyspark.util import _print_missing_jar
label_desc: Use image node_id 3 for calling a global function with example usage: _read_descriptor_set_file(filePath) and returns: f