public org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder getHatcheryOrBuilder() {
        if (hatcheryBuilder_ != null) {
          return hatcheryBuilder_.getMessageOrBuilder();
        } else {
          return hatchery_;
        }
      }