@@ -184,72 +184,72 @@ public ErrorInfo clone() {
184
184
}
185
185
}
186
186
187
- // public static class Details {
188
- // @Key("@type")
189
- // private String type;
190
- //
191
- // @Key private String detail;
192
- // @Key private String reason;
193
- // @Key private List<ParameterViolations> parameterViolations;
194
- //
195
- // public String getType() {
196
- // return type;
197
- // }
198
- //
199
- // public void setType(String type) {
200
- // this.type = type;
201
- // }
202
- //
203
- // public String getDetail() {
204
- // return detail;
205
- // }
206
- //
207
- // public void setDetail(String detail) {
208
- // this.detail = detail;
209
- // }
210
- //
211
- // public String getReason() {
212
- // return reason;
213
- // }
214
- //
215
- // public void setReason(String reason) {
216
- // this.reason = reason;
217
- // }
218
- //
219
- // public List<ParameterViolations> getParameterViolations() {
220
- // return parameterViolations;
221
- // }
222
- //
223
- // /**
224
- // * Sets parameterViolations list as immutable to prevent exposing mutable state.
225
- // *
226
- // * @param parameterViolations
227
- // */
228
- // public void setParameterViolations(List<ParameterViolations> parameterViolations) {
229
- // this.parameterViolations = ImmutableList.copyOf(parameterViolations);
230
- // }
231
- // }
232
- //
233
- // public static class ParameterViolations {
234
- // @Key private String parameter;
235
- // @Key private String description;
236
- //
237
- // public String getDescription() {
238
- // return description;
239
- // }
240
- //
241
- // public void setDescription(String description) {
242
- // this.description = description;
243
- // }
244
- //
245
- // public String getParameter() {
246
- // return parameter;
247
- // }
248
- //
249
- // public void setParameter(String parameter) {
250
- // this.parameter = parameter;
251
- // }
252
- // }
187
+ // public static class Details {
188
+ // @Key("@type")
189
+ // private String type;
190
+ //
191
+ // @Key private String detail;
192
+ // @Key private String reason;
193
+ // @Key private List<ParameterViolations> parameterViolations;
194
+ //
195
+ // public String getType() {
196
+ // return type;
197
+ // }
198
+ //
199
+ // public void setType(String type) {
200
+ // this.type = type;
201
+ // }
202
+ //
203
+ // public String getDetail() {
204
+ // return detail;
205
+ // }
206
+ //
207
+ // public void setDetail(String detail) {
208
+ // this.detail = detail;
209
+ // }
210
+ //
211
+ // public String getReason() {
212
+ // return reason;
213
+ // }
214
+ //
215
+ // public void setReason(String reason) {
216
+ // this.reason = reason;
217
+ // }
218
+ //
219
+ // public List<ParameterViolations> getParameterViolations() {
220
+ // return parameterViolations;
221
+ // }
222
+ //
223
+ // /**
224
+ // * Sets parameterViolations list as immutable to prevent exposing mutable state.
225
+ // *
226
+ // * @param parameterViolations
227
+ // */
228
+ // public void setParameterViolations(List<ParameterViolations> parameterViolations) {
229
+ // this.parameterViolations = ImmutableList.copyOf(parameterViolations);
230
+ // }
231
+ // }
232
+ //
233
+ // public static class ParameterViolations {
234
+ // @Key private String parameter;
235
+ // @Key private String description;
236
+ //
237
+ // public String getDescription() {
238
+ // return description;
239
+ // }
240
+ //
241
+ // public void setDescription(String description) {
242
+ // this.description = description;
243
+ // }
244
+ //
245
+ // public String getParameter() {
246
+ // return parameter;
247
+ // }
248
+ //
249
+ // public void setParameter(String parameter) {
250
+ // this.parameter = parameter;
251
+ // }
252
+ // }
253
253
254
254
/** List of detailed errors or {@code null} for none. */
255
255
@ Key private List <ErrorInfo > errors ;
@@ -260,8 +260,8 @@ public ErrorInfo clone() {
260
260
/** Human-readable explanation of the error or {@code null} for none. */
261
261
@ Key private String message ;
262
262
263
- // /** Lists type and parameterViolation details of an Exception. */
264
- // @Key private List<Details> details;
263
+ // /** Lists type and parameterViolation details of an Exception. */
264
+ // @Key private List<Details> details;
265
265
266
266
/**
267
267
* Returns the list of detailed errors or {@code null} for none.
@@ -318,19 +318,19 @@ public final void setMessage(String message) {
318
318
this .message = message ;
319
319
}
320
320
321
- // public List<Details> getDetails() {
322
- // return details;
323
- // }
324
- //
325
- // /**
326
- // * Sets the list of invalid parameter error details as immutable to prevent exposing mutable
327
- // * state.
328
- // *
329
- // * @param details
330
- // */
331
- // public void setDetails(List<Details> details) {
332
- // this.details = ImmutableList.copyOf(details);
333
- // }
321
+ // public List<Details> getDetails() {
322
+ // return details;
323
+ // }
324
+ //
325
+ // /**
326
+ // * Sets the list of invalid parameter error details as immutable to prevent exposing mutable
327
+ // * state.
328
+ // *
329
+ // * @param details
330
+ // */
331
+ // public void setDetails(List<Details> details) {
332
+ // this.details = ImmutableList.copyOf(details);
333
+ // }
334
334
335
335
@ Override
336
336
public GoogleJsonError set (String fieldName , Object value ) {
0 commit comments