if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.taskType)) { this.taskType = data().deepCopy(fields()[1].schema(), other.taskType); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.attemptId)) { this.attemptId = data().deepCopy(fields()[2].schema(), other.attemptId); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.startTime)) { this.startTime = data().deepCopy(fields()[3].schema(), other.startTime); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.trackerName)) { this.trackerName = data().deepCopy(fields()[4].schema(), other.trackerName); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.httpPort)) { this.httpPort = data().deepCopy(fields()[5].schema(), other.httpPort); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.shufflePort)) { this.shufflePort = data().deepCopy(fields()[6].schema(), other.shufflePort); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.containerId)) {
@Override public TaskAttemptStarted build() { try { TaskAttemptStarted record = new TaskAttemptStarted(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.taskType = fieldSetFlags()[1] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[1]); record.attemptId = fieldSetFlags()[2] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[2]); record.startTime = fieldSetFlags()[3] ? this.startTime : (java.lang.Long) defaultValue(fields()[3]); record.trackerName = fieldSetFlags()[4] ? this.trackerName : (java.lang.CharSequence) defaultValue(fields()[4]); record.httpPort = fieldSetFlags()[5] ? this.httpPort : (java.lang.Integer) defaultValue(fields()[5]); record.shufflePort = fieldSetFlags()[6] ? this.shufflePort : (java.lang.Integer) defaultValue(fields()[6]); record.containerId = fieldSetFlags()[7] ? this.containerId : (java.lang.CharSequence) defaultValue(fields()[7]); record.locality = fieldSetFlags()[8] ? this.locality : (java.lang.CharSequence) defaultValue(fields()[8]); record.avataar = fieldSetFlags()[9] ? this.avataar : (java.lang.CharSequence) defaultValue(fields()[9]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.taskType)) { this.taskType = data().deepCopy(fields()[1].schema(), other.taskType); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.attemptId)) { this.attemptId = data().deepCopy(fields()[2].schema(), other.attemptId); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.startTime)) { this.startTime = data().deepCopy(fields()[3].schema(), other.startTime); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.trackerName)) { this.trackerName = data().deepCopy(fields()[4].schema(), other.trackerName); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.httpPort)) { this.httpPort = data().deepCopy(fields()[5].schema(), other.httpPort); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.shufflePort)) { this.shufflePort = data().deepCopy(fields()[6].schema(), other.shufflePort); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.containerId)) {
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.taskType)) { this.taskType = data().deepCopy(fields()[1].schema(), other.taskType); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.attemptId)) { this.attemptId = data().deepCopy(fields()[2].schema(), other.attemptId); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.startTime)) { this.startTime = data().deepCopy(fields()[3].schema(), other.startTime); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.trackerName)) { this.trackerName = data().deepCopy(fields()[4].schema(), other.trackerName); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.httpPort)) { this.httpPort = data().deepCopy(fields()[5].schema(), other.httpPort); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.shufflePort)) { this.shufflePort = data().deepCopy(fields()[6].schema(), other.shufflePort); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.containerId)) {
if (isValidValue(fields()[0], other.taskid)) { this.taskid = data().deepCopy(fields()[0].schema(), other.taskid); fieldSetFlags()[0] = true; if (isValidValue(fields()[1], other.taskType)) { this.taskType = data().deepCopy(fields()[1].schema(), other.taskType); fieldSetFlags()[1] = true; if (isValidValue(fields()[2], other.attemptId)) { this.attemptId = data().deepCopy(fields()[2].schema(), other.attemptId); fieldSetFlags()[2] = true; if (isValidValue(fields()[3], other.startTime)) { this.startTime = data().deepCopy(fields()[3].schema(), other.startTime); fieldSetFlags()[3] = true; if (isValidValue(fields()[4], other.trackerName)) { this.trackerName = data().deepCopy(fields()[4].schema(), other.trackerName); fieldSetFlags()[4] = true; if (isValidValue(fields()[5], other.httpPort)) { this.httpPort = data().deepCopy(fields()[5].schema(), other.httpPort); fieldSetFlags()[5] = true; if (isValidValue(fields()[6], other.shufflePort)) { this.shufflePort = data().deepCopy(fields()[6].schema(), other.shufflePort); fieldSetFlags()[6] = true; if (isValidValue(fields()[7], other.containerId)) {
@Override public TaskAttemptStarted build() { try { TaskAttemptStarted record = new TaskAttemptStarted(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.taskType = fieldSetFlags()[1] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[1]); record.attemptId = fieldSetFlags()[2] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[2]); record.startTime = fieldSetFlags()[3] ? this.startTime : (java.lang.Long) defaultValue(fields()[3]); record.trackerName = fieldSetFlags()[4] ? this.trackerName : (java.lang.CharSequence) defaultValue(fields()[4]); record.httpPort = fieldSetFlags()[5] ? this.httpPort : (java.lang.Integer) defaultValue(fields()[5]); record.shufflePort = fieldSetFlags()[6] ? this.shufflePort : (java.lang.Integer) defaultValue(fields()[6]); record.containerId = fieldSetFlags()[7] ? this.containerId : (java.lang.CharSequence) defaultValue(fields()[7]); record.locality = fieldSetFlags()[8] ? this.locality : (java.lang.CharSequence) defaultValue(fields()[8]); record.avataar = fieldSetFlags()[9] ? this.avataar : (java.lang.CharSequence) defaultValue(fields()[9]); return record; } catch (Exception e) { throw new io.prestosql.hadoop.$internal.org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskAttemptStarted build() { try { TaskAttemptStarted record = new TaskAttemptStarted(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.taskType = fieldSetFlags()[1] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[1]); record.attemptId = fieldSetFlags()[2] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[2]); record.startTime = fieldSetFlags()[3] ? this.startTime : (java.lang.Long) defaultValue(fields()[3]); record.trackerName = fieldSetFlags()[4] ? this.trackerName : (java.lang.CharSequence) defaultValue(fields()[4]); record.httpPort = fieldSetFlags()[5] ? this.httpPort : (java.lang.Integer) defaultValue(fields()[5]); record.shufflePort = fieldSetFlags()[6] ? this.shufflePort : (java.lang.Integer) defaultValue(fields()[6]); record.containerId = fieldSetFlags()[7] ? this.containerId : (java.lang.CharSequence) defaultValue(fields()[7]); record.locality = fieldSetFlags()[8] ? this.locality : (java.lang.CharSequence) defaultValue(fields()[8]); record.avataar = fieldSetFlags()[9] ? this.avataar : (java.lang.CharSequence) defaultValue(fields()[9]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskAttemptStarted build() { try { TaskAttemptStarted record = new TaskAttemptStarted(); record.taskid = fieldSetFlags()[0] ? this.taskid : (java.lang.CharSequence) defaultValue(fields()[0]); record.taskType = fieldSetFlags()[1] ? this.taskType : (java.lang.CharSequence) defaultValue(fields()[1]); record.attemptId = fieldSetFlags()[2] ? this.attemptId : (java.lang.CharSequence) defaultValue(fields()[2]); record.startTime = fieldSetFlags()[3] ? this.startTime : (java.lang.Long) defaultValue(fields()[3]); record.trackerName = fieldSetFlags()[4] ? this.trackerName : (java.lang.CharSequence) defaultValue(fields()[4]); record.httpPort = fieldSetFlags()[5] ? this.httpPort : (java.lang.Integer) defaultValue(fields()[5]); record.shufflePort = fieldSetFlags()[6] ? this.shufflePort : (java.lang.Integer) defaultValue(fields()[6]); record.containerId = fieldSetFlags()[7] ? this.containerId : (java.lang.CharSequence) defaultValue(fields()[7]); record.locality = fieldSetFlags()[8] ? this.locality : (java.lang.CharSequence) defaultValue(fields()[8]); record.avataar = fieldSetFlags()[9] ? this.avataar : (java.lang.CharSequence) defaultValue(fields()[9]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing Builder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder by copying an existing TaskAttemptStarted instance */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder(org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted other) { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(other); }
/** Creates a new TaskAttemptStarted RecordBuilder */ public static org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder newBuilder() { return new org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder(); }
/** Clears the value of the 'startTime' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStarted.Builder clearStartTime() { fieldSetFlags()[3] = false; return this; }