code: static MetadataVersion parseBuild(String build) {
          VersionParser parser = new VersionParser(build);
          return parser.parseBuild();
      }
docs: Parses the build metadata.
  
  @param build the build metadata string to parse
  @return a valid build metadata object
  @throws IllegalArgumentException if the input string is {@code NULL} or empty
  @throws ParseException when there is a grammar error
  @throws UnexpectedCharacterException when encounters an unexpected character type