if (profile.getState() == UserBitShared.QueryResult.QueryState.FAILED) { zip.putNextEntry(new ZipEntry(String.format("log_attempt_%d.json", attemptIndex))); outIncludesLogs.value = recordLog(zip, userId, profile.getStart(), profile.getEnd(), jobId, submissionId);
setState(other.getState());
output.writeEnum(8, message.getState().getNumber(), false); if(message.hasTotalFragments()) output.writeInt32(9, message.getTotalFragments(), false);