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