public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt64(1, tag_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeEnum(2, type_.getNumber());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeMessage(10, center_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeFloat(11, radius_);
      }
      for (int i = 0; i < points_.size(); i++) {
        output.writeMessage(20, points_.get(i));
      }
      for (int i = 0; i < normals_.size(); i++) {
        output.writeMessage(21, normals_.get(i));
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeMessage(22, centroid_);
      }
      getUnknownFields().writeTo(output);
    }