/** * Checks whether the 't' field has been set. * @return True if the 't' field has been set, false otherwise. */ public boolean hasT() { return fieldSetFlags()[7]; }
/** * Checks whether the 'f64' field has been set. * @return True if the 'f64' field has been set, false otherwise. */ public boolean hasF64() { return fieldSetFlags()[4]; }
/** * Sets the value of the 'f64' field. * @param value The value of 'f64'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setF64(double value) { validate(fields()[4], value); this.f64 = value; fieldSetFlags()[4] = true; return this; }
/** * Clears the value of the 'i64' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearI64() { fieldSetFlags()[2] = false; return this; }
/** * Sets the value of the 'i32' field. * @param value The value of 'i32'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setI32(int value) { validate(fields()[1], value); this.i32 = value; fieldSetFlags()[1] = true; return this; }
/** * Checks whether the 'b' field has been set. * @return True if the 'b' field has been set, false otherwise. */ public boolean hasB() { return fieldSetFlags()[0]; }
/** * Clears the value of the 'dec' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearDec() { dec = null; fieldSetFlags()[9] = false; return this; }
/** * Sets the value of the 'dec' field. * @param value The value of 'dec'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setDec(java.math.BigDecimal value) { validate(fields()[9], value); this.dec = value; fieldSetFlags()[9] = true; return this; }
/** * Clears the value of the 'ts' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearTs() { fieldSetFlags()[8] = false; return this; }
/** * Sets the value of the 'ts' field. * @param value The value of 'ts'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setTs(java.time.Instant value) { validate(fields()[8], value); this.ts = value; fieldSetFlags()[8] = true; return this; }
/** * Sets the value of the 't' field. * @param value The value of 't'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setT(java.time.LocalTime value) { validate(fields()[7], value); this.t = value; fieldSetFlags()[7] = true; return this; }
/** * Clears the value of the 's' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearS() { s = null; fieldSetFlags()[5] = false; return this; }
/** * Checks whether the 'i64' field has been set. * @return True if the 'i64' field has been set, false otherwise. */ public boolean hasI64() { return fieldSetFlags()[2]; }
/** * Clears the value of the 'i32' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearI32() { fieldSetFlags()[1] = false; return this; }
/** * Checks whether the 'd' field has been set. * @return True if the 'd' field has been set, false otherwise. */ public boolean hasD() { return fieldSetFlags()[6]; }
/** * Sets the value of the 'd' field. * @param value The value of 'd'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setD(java.time.LocalDate value) { validate(fields()[6], value); this.d = value; fieldSetFlags()[6] = true; return this; }
/** * Checks whether the 's' field has been set. * @return True if the 's' field has been set, false otherwise. */ public boolean hasS() { return fieldSetFlags()[5]; }
/** * Sets the value of the 's' field. * @param value The value of 's'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setS(java.lang.CharSequence value) { validate(fields()[5], value); this.s = value; fieldSetFlags()[5] = true; return this; }
/** * Clears the value of the 'f64' field. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder clearF64() { fieldSetFlags()[4] = false; return this; }
/** * Sets the value of the 'i64' field. * @param value The value of 'i64'. * @return This builder. */ public TestRecordWithJsr310LogicalTypes.Builder setI64(long value) { validate(fields()[2], value); this.i64 = value; fieldSetFlags()[2] = true; return this; }