in jbang/azure-eventhubs-kafka-azure-schema-registry/azure-identity/src/main/java/com/acme/example/eventhubs/models/Order.java [251:269]
private Builder(com.acme.example.eventhubs.models.Order other) {
super(SCHEMA$);
if (isValidValue(fields()[0], other.orderId)) {
this.orderId = data().deepCopy(fields()[0].schema(), other.orderId);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.itemId)) {
this.itemId = data().deepCopy(fields()[1].schema(), other.itemId);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.userId)) {
this.userId = data().deepCopy(fields()[2].schema(), other.userId);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.quantity)) {
this.quantity = data().deepCopy(fields()[3].schema(), other.quantity);
fieldSetFlags()[3] = true;
}
}