Send feedback
Class GoogleJsonError.Details (2.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
2.9.1 (latest)
2.9.0
2.8.1
2.7.2
2.6.0
2.5.1
2.4.1
2.1.2
2.0.1
1.35.2
1.34.1
1.33.4
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
Send feedback
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 2026-10-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-02 UTC."],[],[]]