@Override public TaskStarted build() { try { TaskStarted record = new TaskStarted(); 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.startTime = fieldSetFlags()[2] ? this.startTime : (java.lang.Long) defaultValue(fields()[2]); record.splitLocations = fieldSetFlags()[3] ? this.splitLocations : (java.lang.CharSequence) defaultValue(fields()[3]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskStarted build() { try { TaskStarted record = new TaskStarted(); 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.startTime = fieldSetFlags()[2] ? this.startTime : (java.lang.Long) defaultValue(fields()[2]); record.splitLocations = fieldSetFlags()[3] ? this.splitLocations : (java.lang.CharSequence) defaultValue(fields()[3]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskStarted build() { try { TaskStarted record = new TaskStarted(); 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.startTime = fieldSetFlags()[2] ? this.startTime : (java.lang.Long) defaultValue(fields()[2]); record.splitLocations = fieldSetFlags()[3] ? this.splitLocations : (java.lang.CharSequence) defaultValue(fields()[3]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public TaskStarted build() { try { TaskStarted record = new TaskStarted(); 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.startTime = fieldSetFlags()[2] ? this.startTime : (java.lang.Long) defaultValue(fields()[2]); record.splitLocations = fieldSetFlags()[3] ? this.splitLocations : (java.lang.CharSequence) defaultValue(fields()[3]); return record; } catch (Exception e) { throw new io.prestosql.hadoop.$internal.org.apache.avro.AvroRuntimeException(e); } } }
/** Sets the value of the 'taskid' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskid(java.lang.CharSequence value) { validate(fields()[0], value); this.taskid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'taskType' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskType(java.lang.CharSequence value) { validate(fields()[1], value); this.taskType = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'startTime' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setStartTime(long value) { validate(fields()[2], value); this.startTime = value; fieldSetFlags()[2] = true; return this; }
/** Sets the value of the 'taskType' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskType(java.lang.CharSequence value) { validate(fields()[1], value); this.taskType = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'taskType' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskType(java.lang.CharSequence value) { validate(fields()[1], value); this.taskType = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'splitLocations' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setSplitLocations(java.lang.CharSequence value) { validate(fields()[3], value); this.splitLocations = value; fieldSetFlags()[3] = true; return this; }
/** Sets the value of the 'taskid' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskid(java.lang.CharSequence value) { validate(fields()[0], value); this.taskid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'taskType' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskType(java.lang.CharSequence value) { validate(fields()[1], value); this.taskType = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'taskid' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskid(java.lang.CharSequence value) { validate(fields()[0], value); this.taskid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'splitLocations' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setSplitLocations(java.lang.CharSequence value) { validate(fields()[3], value); this.splitLocations = value; fieldSetFlags()[3] = true; return this; }
/** Sets the value of the 'startTime' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setStartTime(long value) { validate(fields()[2], value); this.startTime = value; fieldSetFlags()[2] = true; return this; }
/** Sets the value of the 'startTime' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setStartTime(long value) { validate(fields()[2], value); this.startTime = value; fieldSetFlags()[2] = true; return this; }
/** Sets the value of the 'startTime' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setStartTime(long value) { validate(fields()[2], value); this.startTime = value; fieldSetFlags()[2] = true; return this; }
/** Sets the value of the 'splitLocations' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setSplitLocations(java.lang.CharSequence value) { validate(fields()[3], value); this.splitLocations = value; fieldSetFlags()[3] = true; return this; }
/** Sets the value of the 'taskid' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setTaskid(java.lang.CharSequence value) { validate(fields()[0], value); this.taskid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'splitLocations' field */ public org.apache.hadoop.mapreduce.jobhistory.TaskStarted.Builder setSplitLocations(java.lang.CharSequence value) { validate(fields()[3], value); this.splitLocations = value; fieldSetFlags()[3] = true; return this; }