public org.box2d.proto.Box2D.PbVec2 getCentroid() {
        if (centroidBuilder_ == null) {
          return centroid_;
        } else {
          return centroidBuilder_.getMessage();
        }
      }