code: def get_components(self, proto):
      return metadata.parse_plugin_metadata(
          proto.metadata.plugin_data.content
      ).components
  
file_path: tensorboard/tensorboard/plugins/mesh/summary_test.py
imports: import json
  import tensorflow
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.mesh import summary
  from tensorboard.plugins.mesh import metadata
  from tensorboard.plugins.mesh import plugin_data_pb2
  from tensorboard.plugins.mesh import test_utils
label_desc: Use image node_id 2 for calling the MeshSummaryTest obj's underlying member method code with example usage: obj.get_components(proto) and returns: metadata