code: def testBuildParsedValueDict(self):
      int_value = text_format.Parse(
          """
            field_value {
              int_value: 1
            }
          """,
          pipeline_pb2.Value(),
      )
      string_value = text_format.Parse(
          """
            field_value {
              string_value: 'random str'
            }
          """,
          pipeline_pb2.Value(),
      )
      bool_value = text_format.Parse(
          """
            field_value {
              string_value: 'false'
            }
            schema {
              value_type {
                boolean_type {}
              }
            }
          """,
          pipeline_pb2.Value(),
      )
      proto_value = text_format.Parse(
          """
            field_value {
              string_value: '{"string_value":"hello"}'
            }
            schema {
              value_type {
                proto_type {
                  message_type: 'ml_metadata.Value'
                }
              }
            }
          """,
          pipeline_pb2.Value(),
      )
      list_boolean_value = text_format.Parse(
          """
            field_value {
              string_value: '[false, true]'
            }
            schema {
              value_type {
                list_type {
                  boolean_type {}
                }
              }
            }
          """,
          pipeline_pb2.Value(),
      )
      list_str_value = text_format.Parse(
          """
            field_value {
              string_value: '["true", "false", "random"]'
            }
            schema {
              value_type {
                list_type {}
              }
            }
          """,
          pipeline_pb2.Value(),
      )
      value_dict = {
          "int_val": int_value,
          "string_val": string_value,
          "bool_val": bool_value,
          "proto_val": proto_value,
          "list_boolean_value": list_boolean_value,
          "list_str_value": list_str_value,
      }
      expected_parsed_dict = {
          "int_val": 1,
          "string_val": "random str",
          "bool_val": False,
          "list_boolean_value": [False, True],
          "list_str_value": ["true", "false", "random"],
          "proto_val": metadata_store_pb2.Value(string_value="hello"),
      }
      self.assertEqual(
          expected_parsed_dict,
          data_types_utils.build_parsed_value_dict(value_dict),
      )
  
imports: from absl.testing import parameterized
  import tensorflow
  from tfx import types
  from tfx.orchestration import data_types_utils
  from tfx.proto.orchestration import execution_result_pb2
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types import artifact_utils
  from tfx.utils import proto_utils
  from tfx.utils import test_case_utils
  from google.protobuf import struct_pb2
  from google.protobuf import text_format
  from ml_metadata.proto import metadata_store_pb2
  from ml_metadata.proto import metadata_store_service_pb2
label_desc: Use image node_id 7 for calling the DataTypesUtilsTest obj's underlying member method code with example usage: obj.testBuildParsedValueDict() without return types