code: def test_set_payload_format(self):
      examples = standard_artifacts.Examples()
      examples_utils.set_payload_format(
          examples, example_gen_pb2.PayloadFormat.FORMAT_PROTO
      )
      self.assertEqual(
          examples.get_string_custom_property(
              utils.PAYLOAD_FORMAT_PROPERTY_NAME
          ),
          "FORMAT_PROTO",
      )
  
file_path: tfx/tfx/components/util/examples_utils_test.py
imports: import tensorflow
  from tfx.components.example_gen import utils
  from tfx.components.util import examples_utils
  from tfx.proto import example_gen_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 5 for calling the ExamplesUtilsTest obj's underlying member method code with example usage: obj.test_set_payload_format() without return types