/** * Creates a Builder by copying an existing HandshakeRequest instance * @param other The existing instance to copy. */ private Builder(org.apache.avro.ipc.HandshakeRequest other) { super(SCHEMA$); if (isValidValue(fields()[0], other.clientHash)) { this.clientHash = data().deepCopy(fields()[0].schema(), other.clientHash); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.clientProtocol)) { this.clientProtocol = data().deepCopy(fields()[1].schema(), other.clientProtocol); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.serverHash)) { this.serverHash = data().deepCopy(fields()[2].schema(), other.serverHash); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.meta)) { this.meta = data().deepCopy(fields()[3].schema(), other.meta); fieldSetFlags()[3] = true; } }
/** * Creates a Builder by copying an existing Builder. * @param other The existing Builder to copy. */ private Builder(org.apache.avro.ipc.HandshakeRequest.Builder other) { super(other); if (isValidValue(fields()[0], other.clientHash)) { this.clientHash = data().deepCopy(fields()[0].schema(), other.clientHash); fieldSetFlags()[0] = other.fieldSetFlags()[0]; } if (isValidValue(fields()[1], other.clientProtocol)) { this.clientProtocol = data().deepCopy(fields()[1].schema(), other.clientProtocol); fieldSetFlags()[1] = other.fieldSetFlags()[1]; } if (isValidValue(fields()[2], other.serverHash)) { this.serverHash = data().deepCopy(fields()[2].schema(), other.serverHash); fieldSetFlags()[2] = other.fieldSetFlags()[2]; } if (isValidValue(fields()[3], other.meta)) { this.meta = data().deepCopy(fields()[3].schema(), other.meta); fieldSetFlags()[3] = other.fieldSetFlags()[3]; } }
/** * Creates a Builder by copying an existing HandshakeRequest instance * @param other The existing instance to copy. */ private Builder(org.apache.avro.ipc.HandshakeRequest other) { super(SCHEMA$); if (isValidValue(fields()[0], other.clientHash)) { this.clientHash = data().deepCopy(fields()[0].schema(), other.clientHash); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.clientProtocol)) { this.clientProtocol = data().deepCopy(fields()[1].schema(), other.clientProtocol); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.serverHash)) { this.serverHash = data().deepCopy(fields()[2].schema(), other.serverHash); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.meta)) { this.meta = data().deepCopy(fields()[3].schema(), other.meta); fieldSetFlags()[3] = true; } }
/** * Creates a Builder by copying an existing Builder. * @param other The existing Builder to copy. */ private Builder(org.apache.avro.ipc.HandshakeRequest.Builder other) { super(other); if (isValidValue(fields()[0], other.clientHash)) { this.clientHash = data().deepCopy(fields()[0].schema(), other.clientHash); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.clientProtocol)) { this.clientProtocol = data().deepCopy(fields()[1].schema(), other.clientProtocol); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.serverHash)) { this.serverHash = data().deepCopy(fields()[2].schema(), other.serverHash); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.meta)) { this.meta = data().deepCopy(fields()[3].schema(), other.meta); fieldSetFlags()[3] = true; } }