public java.util.List<org.box2d.proto.Box2D.PbJoint> getJointsList() {
        if (jointsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(joints_);
        } else {
          return jointsBuilder_.getMessageList();
        }
      }