void (_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case NEEDS_MORE_INPUT: if (value == null) { unsetNeedsMoreInput(); } else { setNeedsMoreInput((java.lang.Boolean)value); } break; case EXCEPTION_OCCURRED: if (value == null) { unsetExceptionOccurred(); } else { setExceptionOccurred((java.lang.Boolean)value); } break; } }