Class GoogleJsonError.Details (2.8.1)
public static class GoogleJsonError.Details extends GenericJson
Inheritance
java.lang.Object >
java.util.AbstractMap >
com.google.api.client.util.GenericData >
com.google.api.client.json.GenericJson >
GoogleJsonError.Details
Inherited Members
com.google.api.client.json.GenericJson.clone()
com.google.api.client.json.GenericJson.getFactory()
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)
com.google.api.client.json.GenericJson.setFactory(com.google.api.client.json.JsonFactory)
com.google.api.client.json.GenericJson.toPrettyString()
com.google.api.client.json.GenericJson.toString()
com.google.api.client.util.GenericData.entrySet()
com.google.api.client.util.GenericData.equals(java.lang.Object)
com.google.api.client.util.GenericData.get(java.lang.Object)
com.google.api.client.util.GenericData.getClassInfo()
com.google.api.client.util.GenericData.getUnknownKeys()
com.google.api.client.util.GenericData.hashCode()
com.google.api.client.util.GenericData.put(java.lang.String,java.lang.Object)
com.google.api.client.util.GenericData.putAll(java.util.Map<? extends java.lang.String,?>)
com.google.api.client.util.GenericData.remove(java.lang.Object)
com.google.api.client.util.GenericData.setUnknownKeys(java.util.Map<java.lang.String,java.lang.Object>)
Constructors
Details()
Methods
getDetail()
public String getDetail()
Returns |
Type |
Description |
String |
|
getParameterViolations()
public List<GoogleJsonError.ParameterViolations> getParameterViolations()
getReason()
public String getReason()
Returns |
Type |
Description |
String |
|
getType()
Returns |
Type |
Description |
String |
|
setDetail(String detail)
public void setDetail(String detail)
Parameter |
Name |
Description |
detail |
String
|
setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)
public void setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)
Sets parameterViolations list as immutable to prevent exposing mutable state.
setReason(String reason)
public void setReason(String reason)
Parameter |
Name |
Description |
reason |
String
|
setType(String type)
public void setType(String type)
Parameter |
Name |
Description |
type |
String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]