remove unused variables
[protocolbuffersmessage] add discardUnknownFields
[protocolbuffersmessage] add clear method