public org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder getRallyUnitOrBuilder() {
        if (rallyUnitBuilder_ != null) {
          return rallyUnitBuilder_.getMessageOrBuilder();
        } else {
          return rallyUnit_;
        }
      }