public org.box2d.proto.Box2D.PbBody getBodies(int index) {
        if (bodiesBuilder_ == null) {
          return bodies_.get(index);
        } else {
          return bodiesBuilder_.getMessage(index);
        }
      }