code: def unpack_proto_any(
      any_proto: any_pb2.Any,
      pool: Optional[descriptor_pool.DescriptorPool] = None,
  ) -> ProtoMessage:
      """Unpacks a google.protobuf.Any message into its concrete type."""
      pool = pool or descriptor_pool.Default()
      message_name = any_proto.type_url.split("/")[-1]
      proto_instance = _create_proto_instance_from_name(
          message_name, pool
      )
      any_proto.Unpack(proto_instance)
      return proto_instance
  
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 10 for calling a global function with example usage: unpack_proto_any(any_proto, pool) and returns: proto_instance