public org.bwapi.proxy.messages.GameMessages.UnitId getStaticMinerals(int index) {
        if (staticMineralsBuilder_ == null) {
          return staticMinerals_.get(index);
        } else {
          return staticMineralsBuilder_.getMessage(index);
        }
      }