public org.bwapi.proxy.messages.TerrainMessages.Polygon getHoles(int index) {
        if (holesBuilder_ == null) {
          return holes_.get(index);
        } else {
          return holesBuilder_.getMessage(index);
        }
      }