code: def testParseEnumValue(self):
      message = json_format_proto3_pb2.TestMessage()
      text = '{"enumValue": 0}'
      json_format.Parse(text, message)
      text = '{"enumValue": 1}'
      json_format.Parse(text, message)
      self.CheckError(
          '{"enumValue": "baz"}',
          "Failed to parse enumValue field: Invalid enum value baz "
          "for enum type proto3.EnumType.",
      )
  
imports: import json
  import math
  import sys
  from google.protobuf import any_pb2
  from google.protobuf import duration_pb2
  from google.protobuf import field_mask_pb2
  from google.protobuf import struct_pb2
  from google.protobuf import timestamp_pb2
  from google.protobuf import wrappers_pb2
  from google.protobuf.internal import well_known_types
  from google.protobuf import json_format
  from google.protobuf.util import json_format_proto3_pb2
label_desc: Use image node_id 22 for calling the JsonFormatTest obj's underlying member method code with example usage: obj.testParseEnumValue() without return types