/** Creates a Builder by copying an existing StandardEvent instance */ private Builder(org.kitesdk.data.event.StandardEvent other) { super(org.kitesdk.data.event.StandardEvent.SCHEMA$); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.event_name)) { this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.user_id)) { this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.session_id)) { this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; } if (isValidValue(fields()[4], other.ip)) { this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; } if (isValidValue(fields()[5], other.timestamp)) { this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; } }
/** Creates a Builder by copying an existing Builder */ private Builder(org.kitesdk.data.event.StandardEvent.Builder other) { super(other); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.event_name)) { this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.user_id)) { this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.session_id)) { this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; } if (isValidValue(fields()[4], other.ip)) { this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; } if (isValidValue(fields()[5], other.timestamp)) { this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; } }
super(other); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; this.event_details = data().deepCopy(fields()[6].schema(), other.event_details); fieldSetFlags()[6] = true;
super(org.kitesdk.data.event.StandardEvent.SCHEMA$); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; this.event_details = data().deepCopy(fields()[6].schema(), other.event_details); fieldSetFlags()[6] = true;
/** Creates a Builder by copying an existing StandardEvent instance */ private Builder(org.kitesdk.data.event.StandardEvent other) { super(org.kitesdk.data.event.StandardEvent.SCHEMA$); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.event_name)) { this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.user_id)) { this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.session_id)) { this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; } if (isValidValue(fields()[4], other.ip)) { this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; } if (isValidValue(fields()[5], other.timestamp)) { this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; } }
/** Creates a Builder by copying an existing Builder */ private Builder(org.kitesdk.data.event.StandardEvent.Builder other) { super(other); if (isValidValue(fields()[0], other.event_initiator)) { this.event_initiator = data().deepCopy(fields()[0].schema(), other.event_initiator); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.event_name)) { this.event_name = data().deepCopy(fields()[1].schema(), other.event_name); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.user_id)) { this.user_id = data().deepCopy(fields()[2].schema(), other.user_id); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.session_id)) { this.session_id = data().deepCopy(fields()[3].schema(), other.session_id); fieldSetFlags()[3] = true; } if (isValidValue(fields()[4], other.ip)) { this.ip = data().deepCopy(fields()[4].schema(), other.ip); fieldSetFlags()[4] = true; } if (isValidValue(fields()[5], other.timestamp)) { this.timestamp = data().deepCopy(fields()[5].schema(), other.timestamp); fieldSetFlags()[5] = true; } }