[protocolbuffers\enum] add getName method

this is useful when displaying constatnt definitions with thier number.