public int getStaticMineralsCount() {
        if (staticMineralsBuilder_ == null) {
          return staticMinerals_.size();
        } else {
          return staticMineralsBuilder_.getCount();
        }
      }