class_docstr: Splitter for ManyField proto.
class_docstr_tok: ["Splitter","for","ManyField","proto","."]
code: def build_chunks(self):
      self.add_chunk(
          self._proto.field_one,
          [
              test_message_pb2.ManyFields.DESCRIPTOR.fields_by_name[
                  "field_one"
              ].number
          ],
      )
      self._proto.ClearField("field_one")
      for map_key, map_value in self._proto.nested_map_bool.items():
          self.add_chunk(
              map_value,
              [
                  test_message_pb2.ManyFields.DESCRIPTOR.fields_by_name[
                      "nested_map_bool"
                  ].number,
                  map_key,
              ],
          )
      self._proto.ClearField("nested_map_bool")
  
file_path: tensorflow/tensorflow/tools/proto_splitter/testdata/many_field_gen.py
imports: from collections.abc import Sequence
  import os
  from absl import app
  from absl import flags
  from tensorflow.python.lib.io import file_io
  from tensorflow.tools.proto_splitter import split
  from tensorflow.tools.proto_splitter.testdata import test_message_pb2
label_desc: Use image node_id 1 for calling the ManyFieldSplitter obj's underlying member method code with example usage: obj.build_chunks() without return types