code: def FillAllFields(self, message):
      message.int32_value = 20
      message.int64_value = -20
      message.uint32_value = 3120987654
      message.uint64_value = 12345678900
      message.float_value = float("-inf")
      message.double_value = 3.1415
      message.bool_value = True
      message.string_value = "foo"
      message.bytes_value = b"bar"
      message.message_value.value = 10
      message.enum_value = json_format_proto3_pb2.BAR
      # Repeated
      message.repeated_int32_value.append(0x7FFFFFFF)
      message.repeated_int32_value.append(-2147483648)
      message.repeated_int64_value.append(9007199254740992)
      message.repeated_int64_value.append(-9007199254740992)
      message.repeated_uint32_value.append(0xFFFFFFF)
      message.repeated_uint32_value.append(0x7FFFFFF)
      message.repeated_uint64_value.append(9007199254740992)
      message.repeated_uint64_value.append(9007199254740991)
      message.repeated_float_value.append(0)
  
      message.repeated_double_value.append(1e-15)
      message.repeated_double_value.append(float("inf"))
      message.repeated_bool_value.append(True)
      message.repeated_bool_value.append(False)
      message.repeated_string_value.append("Few symbols!#$,;")
      message.repeated_string_value.append("bar")
      message.repeated_bytes_value.append(b"foo")
      message.repeated_bytes_value.append(b"bar")
      message.repeated_message_value.add().value = 10
      message.repeated_message_value.add().value = 11
      message.repeated_enum_value.append(json_format_proto3_pb2.FOO)
      message.repeated_enum_value.append(json_format_proto3_pb2.BAR)
      self.message = message
  
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 1 for calling the JsonFormatBase obj's underlying member method code with example usage: obj.FillAllFields(message) without return types