code: def _Database(self):
      if descriptor._USE_C_DESCRIPTORS:
          # The C++ implementation does not allow mixing descriptors from
          # different pools.
          db = symbol_database.SymbolDatabase(
              pool=descriptor_pool.Default()
          )
      else:
          db = symbol_database.SymbolDatabase()
      # Register representative types from unittest_pb2.
      db.RegisterFileDescriptor(unittest_pb2.DESCRIPTOR)
      db.RegisterMessage(unittest_pb2.TestAllTypes)
      db.RegisterMessage(unittest_pb2.TestAllTypes.NestedMessage)
      db.RegisterMessage(unittest_pb2.TestAllTypes.OptionalGroup)
      db.RegisterMessage(unittest_pb2.TestAllTypes.RepeatedGroup)
      db.RegisterEnumDescriptor(unittest_pb2.ForeignEnum.DESCRIPTOR)
      db.RegisterEnumDescriptor(
          unittest_pb2.TestAllTypes.NestedEnum.DESCRIPTOR
      )
      db.RegisterServiceDescriptor(unittest_pb2._TESTSERVICE)
      return db
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/protobuf/python/google/protobuf/internal/symbol_database_test.py
imports: from google.protobuf import unittest_pb2
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import symbol_database
label_desc: Use image node_id 1 for calling the SymbolDatabaseTest obj's underlying member method code with example usage: obj._Database() and returns: db