bring in protobuf input code from ocelib