/** Creates a Builder by copying an existing JobQueueChange instance */ private Builder(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange other) { super(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.SCHEMA$); if (isValidValue(fields()[0], other.jobid)) { this.jobid = data().deepCopy(fields()[0].schema(), other.jobid); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.jobQueueName)) { this.jobQueueName = data().deepCopy(fields()[1].schema(), other.jobQueueName); fieldSetFlags()[1] = true; } }
/** Creates a Builder by copying an existing JobQueueChange instance */ private Builder(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange other) { super(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.SCHEMA$); if (isValidValue(fields()[0], other.jobid)) { this.jobid = data().deepCopy(fields()[0].schema(), other.jobid); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.jobQueueName)) { this.jobQueueName = data().deepCopy(fields()[1].schema(), other.jobQueueName); fieldSetFlags()[1] = true; } }
/** Creates a Builder by copying an existing JobQueueChange instance */ private Builder(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange other) { super(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.SCHEMA$); if (isValidValue(fields()[0], other.jobid)) { this.jobid = data().deepCopy(fields()[0].schema(), other.jobid); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.jobQueueName)) { this.jobQueueName = data().deepCopy(fields()[1].schema(), other.jobQueueName); fieldSetFlags()[1] = true; } }
/** Creates a Builder by copying an existing JobQueueChange instance */ private Builder(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange other) { super(org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.SCHEMA$); if (isValidValue(fields()[0], other.jobid)) { this.jobid = data().deepCopy(fields()[0].schema(), other.jobid); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.jobQueueName)) { this.jobQueueName = data().deepCopy(fields()[1].schema(), other.jobQueueName); fieldSetFlags()[1] = true; } }
/** Sets the value of the 'jobid' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobid(java.lang.CharSequence value) { validate(fields()[0], value); this.jobid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'jobid' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobid(java.lang.CharSequence value) { validate(fields()[0], value); this.jobid = value; fieldSetFlags()[0] = true; return this; }
/** Sets the value of the 'jobQueueName' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobQueueName(java.lang.CharSequence value) { validate(fields()[1], value); this.jobQueueName = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'jobid' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobid(java.lang.CharSequence value) { validate(fields()[0], value); this.jobid = value; fieldSetFlags()[0] = true; return this; }
@Override public JobQueueChange build() { try { JobQueueChange record = new JobQueueChange(); record.jobid = fieldSetFlags()[0] ? this.jobid : (java.lang.CharSequence) defaultValue(fields()[0]); record.jobQueueName = fieldSetFlags()[1] ? this.jobQueueName : (java.lang.CharSequence) defaultValue(fields()[1]); return record; } catch (Exception e) { throw new io.prestosql.hadoop.$internal.org.apache.avro.AvroRuntimeException(e); } } }
/** Sets the value of the 'jobQueueName' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobQueueName(java.lang.CharSequence value) { validate(fields()[1], value); this.jobQueueName = value; fieldSetFlags()[1] = true; return this; }
@Override public JobQueueChange build() { try { JobQueueChange record = new JobQueueChange(); record.jobid = fieldSetFlags()[0] ? this.jobid : (java.lang.CharSequence) defaultValue(fields()[0]); record.jobQueueName = fieldSetFlags()[1] ? this.jobQueueName : (java.lang.CharSequence) defaultValue(fields()[1]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public JobQueueChange build() { try { JobQueueChange record = new JobQueueChange(); record.jobid = fieldSetFlags()[0] ? this.jobid : (java.lang.CharSequence) defaultValue(fields()[0]); record.jobQueueName = fieldSetFlags()[1] ? this.jobQueueName : (java.lang.CharSequence) defaultValue(fields()[1]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
@Override public JobQueueChange build() { try { JobQueueChange record = new JobQueueChange(); record.jobid = fieldSetFlags()[0] ? this.jobid : (java.lang.CharSequence) defaultValue(fields()[0]); record.jobQueueName = fieldSetFlags()[1] ? this.jobQueueName : (java.lang.CharSequence) defaultValue(fields()[1]); return record; } catch (Exception e) { throw new org.apache.avro.AvroRuntimeException(e); } } }
/** Sets the value of the 'jobQueueName' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobQueueName(java.lang.CharSequence value) { validate(fields()[1], value); this.jobQueueName = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'jobQueueName' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobQueueName(java.lang.CharSequence value) { validate(fields()[1], value); this.jobQueueName = value; fieldSetFlags()[1] = true; return this; }
/** Sets the value of the 'jobid' field */ public org.apache.hadoop.mapreduce.jobhistory.JobQueueChange.Builder setJobid(java.lang.CharSequence value) { validate(fields()[0], value); this.jobid = value; fieldSetFlags()[0] = true; return this; }