docs: private Input processGA4GHInput(String input) throws IOException, GeneralSecurityException, URISyntaxException {
      GA4GHUrl url = new GA4GHUrl(input);
      SAMFilePump pump;
      if (usingGrpc) {
        factoryGrpc.configure(url.getRootUrl(), 
          new Settings(clientSecretsFilename, apiKey, noLocalServer));
        pump = new ReadIteratorToSAMFilePump<
            com.google.genomics.v1.Read,
            com.google.genomics.v1.ReadGroupSet, 
            com.google.genomics.v1.Reference>(
                factoryGrpc
                  .get(url.getRootUrl())
                  .getReads(url));
      } else {
        factoryRest.configure(url.getRootUrl(), 
            new Settings(clientSecretsFilename, apiKey, noLocalServer));
          pump = new ReadIteratorToSAMFilePump<
              com.google.api.services.genomics.model.Read,
              com.google.api.services.genomics.model.ReadGroupSet, 
              com.google.api.services.genomics.model.Reference>(
                  factoryRest
                    .get(url.getRootUrl())
                    .getReads(url)); 
      }
      return new Input(input, STDIN_FILE_NAME, pump);
    }