public org.bwapi.proxy.messages.GameMessages.TechTypeOrBuilder getRequiredTechOrBuilder() {
        if (requiredTechBuilder_ != null) {
          return requiredTechBuilder_.getMessageOrBuilder();
        } else {
          return requiredTech_;
        }
      }