def describe_enum_value(enum_value):
  enum_value_descriptor = EnumValueDescriptor()
  enum_value_descriptor.name = unicode(enum_value.name)
  enum_value_descriptor.number = enum_value.number
  return enum_value_descriptor
Build descriptor for Enum instance.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/descriptor.py/describe_enum_value