public static String encodeJobId(UUID jobId) {
    Preconditions.checkNotNull(jobId);
    return BaseEncoding.base64Url().encode(jobId.toString().getBytes(StandardCharsets.UTF_8));
  }
Helper functions for validating action related data.
portability-api/src/main/java/org/datatransferproject/api/action/ActionUtils.java