For sure I would try to find a better way but... Not sure if you can add a variable boolean success to avoid it but you can build it get the value and continue with another builder instance:
Something temp= builder.build();
boolean success= temp.isSuccess();
builder= temp.toBuilder();