public java.util.List<org.box2d.proto.Box2D.PbBody> getBodiesList() {
        if (bodiesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(bodies_);
        } else {
          return bodiesBuilder_.getMessageList();
        }
      }