private com.google.protobuf.RepeatedFieldBuilder<
          org.bwapi.proxy.messages.GameMessages.UnitId, org.bwapi.proxy.messages.GameMessages.UnitId.Builder, org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder> 
          getMineralsFieldBuilder() {
        if (mineralsBuilder_ == null) {
          mineralsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
              org.bwapi.proxy.messages.GameMessages.UnitId, org.bwapi.proxy.messages.GameMessages.UnitId.Builder, org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder>(
                  minerals_,
                  ((bitField0_ & 0x00000040) == 0x00000040),
                  getParentForChildren(),
                  isClean());
          minerals_ = null;
        }
        return mineralsBuilder_;
      }