public java.util.List<? extends org.box2d.proto.Box2D.PbBodyOrBuilder> 
           getBodiesOrBuilderList() {
        if (bodiesBuilder_ != null) {
          return bodiesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(bodies_);
        }
      }