public static UUID decodeJobId(String encodedJobId) {
    Preconditions.checkArgument(!Strings.isNullOrEmpty(encodedJobId));
    return UUID.fromString(new String(BaseEncoding.base64Url().decode(encodedJobId),
        StandardCharsets.UTF_8));
  }
Helper functions for validating action related data.
portability-api/src/main/java/org/datatransferproject/api/action/ActionUtils.java