107108109110111112113114115116117
builder.clearJobId(); this.jobId = jobId; } @Override public synchronized JobState getJobState() { JobReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasJobState()) { return null; } return convertFromProtoFormat(p.getJobState()); }
125126127128129130131132
} builder.setJobState(convertToProtoFormat(jobState)); } @Override public synchronized float getMapProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getMapProgress()); }
136137138139140141142143
maybeInitBuilder(); builder.setMapProgress((mapProgress)); } @Override public synchronized float getReduceProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getReduceProgress()); }
147148149150151152153154
maybeInitBuilder(); builder.setReduceProgress((reduceProgress)); } @Override public synchronized float getCleanupProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getCleanupProgress()); }
158159160161162163164165
maybeInitBuilder(); builder.setCleanupProgress((cleanupProgress)); } @Override public synchronized float getSetupProgress() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getSetupProgress()); }
170171172173174175176177
builder.setSetupProgress((setupProgress)); } @Override public synchronized long getSubmitTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getSubmitTime()); }
182183184185186187188189
builder.setSubmitTime((submitTime)); } @Override public synchronized long getStartTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getStartTime()); }
193194195196197198199200
maybeInitBuilder(); builder.setStartTime((startTime)); } @Override public synchronized long getFinishTime() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getFinishTime()); }
205206207208209210211212
builder.setFinishTime((finishTime)); } @Override public synchronized String getUser() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getUser()); }
217218219220221222223224
builder.setUser((user)); } @Override public synchronized String getJobName() { JobReportProtoOrBuilder p = viaProto ? proto : builder; return (p.getJobName()); }