code: private void handlePrefixes(
        String bucketName, List<String> prefixes, List<GoogleCloudStorageItemInfo> objectInfos) {
      if (storageOptions.isInferImplicitDirectoriesEnabled()) {
        for (String prefix : prefixes) {
          objectInfos.add(
              GoogleCloudStorageItemInfo.createInferredDirectory(
                  new StorageResourceId(bucketName, prefix)));
        }
      } else {
        logger.atInfo().log(
            "Inferred directories are disabled, giving up on retrieving missing directories: %s",
            prefixes);
      }
    }
docs: Handle prefixes without prefix objects.