[protocolbuffers] check required property