@@ -99,8 +99,7 @@ public static final class Builder {
9999 */
100100 @ Deprecated
101101 public Builder requestMethod (RequestMethod requestMethod ) {
102- this .requestMethod = requestMethod ;
103- return this ;
102+ return setRequestMethod (requestMethod );
104103 }
105104
106105 /**
@@ -118,8 +117,7 @@ public Builder setRequestMethod(RequestMethod requestMethod) {
118117 */
119118 @ Deprecated
120119 public Builder requestUrl (String requestUrl ) {
121- this .requestUrl = requestUrl ;
122- return this ;
120+ return setRequestUrl (requestUrl );
123121 }
124122
125123 /**
@@ -138,8 +136,7 @@ public Builder setRequestUrl(String requestUrl) {
138136 */
139137 @ Deprecated
140138 public Builder requestSize (long requestSize ) {
141- this .requestSize = requestSize ;
142- return this ;
139+ return setRequestSize (requestSize );
143140 }
144141
145142 /**
@@ -156,8 +153,7 @@ public Builder setRequestSize(long requestSize) {
156153 */
157154 @ Deprecated
158155 public Builder status (int status ) {
159- this .status = status ;
160- return this ;
156+ return setStatus (status );
161157 }
162158
163159 /**
@@ -174,8 +170,7 @@ public Builder setStatus(int status) {
174170 */
175171 @ Deprecated
176172 public Builder responseSize (long responseSize ) {
177- this .responseSize = responseSize ;
178- return this ;
173+ return setResponseSize (responseSize );
179174 }
180175
181176 /**
@@ -193,8 +188,7 @@ public Builder setResponseSize(long responseSize) {
193188 */
194189 @ Deprecated
195190 public Builder userAgent (String userAgent ) {
196- this .userAgent = userAgent ;
197- return this ;
191+ return setUserAgent (userAgent );
198192 }
199193
200194 /**
@@ -212,8 +206,7 @@ public Builder setUserAgent(String userAgent) {
212206 */
213207 @ Deprecated
214208 public Builder remoteIp (String remoteIp ) {
215- this .remoteIp = remoteIp ;
216- return this ;
209+ return setRemoteIp (remoteIp );
217210 }
218211
219212 /**
@@ -231,8 +224,7 @@ public Builder setRemoteIp(String remoteIp) {
231224 */
232225 @ Deprecated
233226 public Builder serverIp (String serverIp ) {
234- this .serverIp = serverIp ;
235- return this ;
227+ return setServerIp (serverIp );
236228 }
237229
238230 /**
@@ -252,8 +244,7 @@ public Builder setServerIp(String serverIp) {
252244 */
253245 @ Deprecated
254246 public Builder referer (String referer ) {
255- this .referer = referer ;
256- return this ;
247+ return setReferer (referer );
257248 }
258249
259250 /**
@@ -272,8 +263,7 @@ public Builder setReferer(String referer) {
272263 */
273264 @ Deprecated
274265 public Builder cacheLookup (boolean cacheLookup ) {
275- this .cacheLookup = cacheLookup ;
276- return this ;
266+ return setCacheLookup (cacheLookup );
277267 }
278268
279269 /**
@@ -290,8 +280,7 @@ public Builder setCacheLookup(boolean cacheLookup) {
290280 */
291281 @ Deprecated
292282 public Builder cacheHit (boolean cacheHit ) {
293- this .cacheHit = cacheHit ;
294- return this ;
283+ return setCacheHit (cacheHit );
295284 }
296285
297286 /**
@@ -310,8 +299,7 @@ public Builder setCacheHit(boolean cacheHit) {
310299 */
311300 @ Deprecated
312301 public Builder cacheValidatedWithOriginServer (boolean cacheValidatedWithOriginServer ) {
313- this .cacheValidatedWithOriginServer = cacheValidatedWithOriginServer ;
314- return this ;
302+ return setCacheValidatedWithOriginServer (cacheValidatedWithOriginServer );
315303 }
316304
317305 /**
@@ -330,8 +318,7 @@ public Builder setCacheValidatedWithOriginServer(boolean cacheValidatedWithOrigi
330318 */
331319 @ Deprecated
332320 public Builder cacheFillBytes (long cacheFillBytes ) {
333- this .cacheFillBytes = cacheFillBytes ;
334- return this ;
321+ return setCacheFillBytes (cacheFillBytes );
335322 }
336323
337324 /**
@@ -372,7 +359,7 @@ public HttpRequest build() {
372359 */
373360 @ Deprecated
374361 public RequestMethod requestMethod () {
375- return requestMethod ;
362+ return getRequestMethod () ;
376363 }
377364
378365 /**
@@ -389,7 +376,7 @@ public RequestMethod getRequestMethod() {
389376 */
390377 @ Deprecated
391378 public String requestUrl () {
392- return requestUrl ;
379+ return getRequestUrl () ;
393380 }
394381
395382 /**
@@ -407,7 +394,7 @@ public String getRequestUrl() {
407394 */
408395 @ Deprecated
409396 public Long requestSize () {
410- return requestSize ;
397+ return getRequestSize () ;
411398 }
412399
413400 /**
@@ -423,7 +410,7 @@ public Long getRequestSize() {
423410 */
424411 @ Deprecated
425412 public Integer status () {
426- return status ;
413+ return getStatus () ;
427414 }
428415
429416 /**
@@ -439,7 +426,7 @@ public Integer getStatus() {
439426 */
440427 @ Deprecated
441428 public Long responseSize () {
442- return responseSize ;
429+ return getResponseSize () ;
443430 }
444431
445432 /**
@@ -456,7 +443,7 @@ public Long getResponseSize() {
456443 */
457444 @ Deprecated
458445 public String userAgent () {
459- return userAgent ;
446+ return getUserAgent () ;
460447 }
461448
462449 /**
@@ -473,7 +460,7 @@ public String getUserAgent() {
473460 */
474461 @ Deprecated
475462 public String remoteIp () {
476- return remoteIp ;
463+ return getRemoteIp () ;
477464 }
478465
479466 /**
@@ -490,7 +477,7 @@ public String getRemoteIp() {
490477 */
491478 @ Deprecated
492479 public String serverIp () {
493- return serverIp ;
480+ return getServerIp () ;
494481 }
495482
496483 /**
@@ -509,7 +496,7 @@ public String getServerIp() {
509496 */
510497 @ Deprecated
511498 public String referer () {
512- return referer ;
499+ return getReferer () ;
513500 }
514501
515502 /**
@@ -553,7 +540,7 @@ public boolean cacheValidatedWithOriginServer() {
553540 */
554541 @ Deprecated
555542 public Long cacheFillBytes () {
556- return cacheFillBytes ;
543+ return getCacheFillBytes () ;
557544 }
558545
559546 /**
@@ -665,7 +652,7 @@ com.google.logging.type.HttpRequest toPb() {
665652 */
666653 @ Deprecated
667654 public static Builder builder () {
668- return new Builder ();
655+ return newBuilder ();
669656 }
670657
671658 /**
0 commit comments