(self, enum_descriptor)
return enum_descriptor
Registers the given enum descriptor in the local database.

    Args:
      enum_descriptor: a descriptor.EnumDescriptor.

    Returns:
      The provided descriptor.
Registers the given enum descriptor in the local database.
Registers the given enum descriptor in the local database .
def RegisterEnumDescriptor(self, enum_descriptor):
    """Registers the given enum descriptor in the local database.

    Args:
      enum_descriptor: a descriptor.EnumDescriptor.

    Returns:
      The provided descriptor.
    """
    self.pool.AddEnumDescriptor(enum_descriptor)
    return enum_descriptor
def RegisterEnumDescriptor ( self , enum_descriptor ) : self . pool . AddEnumDescriptor ( enum_descriptor ) return enum_descriptor