static MetadataVersion parseBuild(String build) {
        VersionParser parser = new VersionParser(build);
        return parser.parseBuild();
    }
static MetadataVersion parseBuild ( String build ) { VersionParser parser = new VersionParser ( build ) ; return parser . parseBuild ( ) ; }
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