/** * Creates a Builder by copying an existing HttpOperation instance * @param other The existing instance to copy. */ private Builder(org.apache.gobblin.http.HttpOperation other) { super(SCHEMA$); if (isValidValue(fields()[0], other.keys)) { this.keys = data().deepCopy(fields()[0].schema(), other.keys); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.queryParams)) { this.queryParams = data().deepCopy(fields()[1].schema(), other.queryParams); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.headers)) { this.headers = data().deepCopy(fields()[2].schema(), other.headers); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.body)) { this.body = data().deepCopy(fields()[3].schema(), other.body); fieldSetFlags()[3] = true; } }
/** * Creates a Builder by copying an existing Builder. * @param other The existing Builder to copy. */ private Builder(org.apache.gobblin.http.HttpOperation.Builder other) { super(other); if (isValidValue(fields()[0], other.keys)) { this.keys = data().deepCopy(fields()[0].schema(), other.keys); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.queryParams)) { this.queryParams = data().deepCopy(fields()[1].schema(), other.queryParams); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.headers)) { this.headers = data().deepCopy(fields()[2].schema(), other.headers); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.body)) { this.body = data().deepCopy(fields()[3].schema(), other.body); fieldSetFlags()[3] = true; } }
/** * Creates a Builder by copying an existing HttpOperation instance * @param other The existing instance to copy. */ private Builder(org.apache.gobblin.http.HttpOperation other) { super(SCHEMA$); if (isValidValue(fields()[0], other.keys)) { this.keys = data().deepCopy(fields()[0].schema(), other.keys); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.queryParams)) { this.queryParams = data().deepCopy(fields()[1].schema(), other.queryParams); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.headers)) { this.headers = data().deepCopy(fields()[2].schema(), other.headers); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.body)) { this.body = data().deepCopy(fields()[3].schema(), other.body); fieldSetFlags()[3] = true; } }
/** * Creates a Builder by copying an existing Builder. * @param other The existing Builder to copy. */ private Builder(org.apache.gobblin.http.HttpOperation.Builder other) { super(other); if (isValidValue(fields()[0], other.keys)) { this.keys = data().deepCopy(fields()[0].schema(), other.keys); fieldSetFlags()[0] = true; } if (isValidValue(fields()[1], other.queryParams)) { this.queryParams = data().deepCopy(fields()[1].schema(), other.queryParams); fieldSetFlags()[1] = true; } if (isValidValue(fields()[2], other.headers)) { this.headers = data().deepCopy(fields()[2].schema(), other.headers); fieldSetFlags()[2] = true; } if (isValidValue(fields()[3], other.body)) { this.body = data().deepCopy(fields()[3].schema(), other.body); fieldSetFlags()[3] = true; } }