half way protobuf detection