presto-spi/src/main/java/io/prestosql/spi/PrestoWarning.java/PrestoWarning/getWarningCode
class PrestoWarning:    @JsonProperty
    public WarningCode getWarningCode()
    {
        return warningCode;
    }