/** * Sets the value of the 'method' field. * @param value The value of 'method'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setMethod(java.lang.String value) { validate(fields()[1], value); this.method = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'requestUrl' field. * @param value The value of 'requestUrl'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setRequestUrl(java.lang.String value) { validate(fields()[0], value); this.requestUrl = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'statusCode' field. * @param value The value of 'statusCode'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setStatusCode(int value) { validate(fields()[3], value); this.statusCode = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'body' field. * @param value The value of 'body'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setBody(java.nio.ByteBuffer value) { validate(fields()[4], value); this.body = value; fieldSetFlags()[4] = true; return this; }
/** * Sets the value of the 'contentType' field. * @param value The value of 'contentType'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setContentType(java.lang.String value) { validate(fields()[2], value); this.contentType = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'body' field. * @param value The value of 'body'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setBody(java.nio.ByteBuffer value) { validate(fields()[4], value); this.body = value; fieldSetFlags()[4] = true; return this; }
/** * Sets the value of the 'method' field. * @param value The value of 'method'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setMethod(java.lang.String value) { validate(fields()[1], value); this.method = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'contentType' field. * @param value The value of 'contentType'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setContentType(java.lang.String value) { validate(fields()[2], value); this.contentType = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'requestUrl' field. * @param value The value of 'requestUrl'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setRequestUrl(java.lang.String value) { validate(fields()[0], value); this.requestUrl = value; fieldSetFlags()[0] = true; return this; }
/** * Sets the value of the 'statusCode' field. * @param value The value of 'statusCode'. * @return This builder. */ public org.apache.gobblin.http.HttpRequestResponseRecord.Builder setStatusCode(int value) { validate(fields()[3], value); this.statusCode = value; fieldSetFlags()[3] = true; return this; }