public org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder getStaticMineralsOrBuilder(
          int index) {
        if (staticMineralsBuilder_ == null) {
          return staticMinerals_.get(index);  } else {
          return staticMineralsBuilder_.getMessageOrBuilder(index);
        }
      }