def RegisterEnumDescriptor(self, enum_descriptor):
self.pool.AddEnumDescriptor(enum_descriptor)<EOL>return enum_descriptor<EOL>
Registers the given enum descriptor in the local database.

        Args:
          enum_descriptor: a descriptor.EnumDescriptor.

        Returns:
          The provided descriptor.