public org.box2d.proto.Box2D.PbVec2OrBuilder getCentroidOrBuilder() {
        if (centroidBuilder_ != null) {
          return centroidBuilder_.getMessageOrBuilder();
        } else {
          return centroid_;
        }
      }