public static class GoogleJsonError.ErrorInfo extends GenericJson
Detailed error information.
Inheritance
Object >
java.util.AbstractMap >
com.google.api.client.util.GenericData >
com.google.api.client.json.GenericJson >
GoogleJsonError.ErrorInfo
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
ErrorInfo()
Methods
clone()
public GoogleJsonError.ErrorInfo clone()
Overrides
com.google.api.client.json.GenericJson.clone()
getDomain()
public final String getDomain()
Returns the error classification or null
for none.
Returns |
Type |
Description |
String |
|
getLocation()
public final String getLocation()
Returns the location in the request that caused the error or null
for none or
null
for none.
Returns |
Type |
Description |
String |
|
getLocationType()
public final String getLocationType()
Returns the type of location in the request that caused the error or null
for none.
Returns |
Type |
Description |
String |
|
getMessage()
public final String getMessage()
Returns the human readable explanation of the error or null
for none.
Returns |
Type |
Description |
String |
|
getReason()
public final String getReason()
Returns the error reason or null
for none.
Returns |
Type |
Description |
String |
|
set(String fieldName, Object value)
public GoogleJsonError.ErrorInfo set(String fieldName, Object value)
Overrides
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)
setDomain(String domain)
public final void setDomain(String domain)
Sets the error classification or null
for none.
Parameter |
Name |
Description |
domain |
String
|
setLocation(String location)
public final void setLocation(String location)
Sets the location in the request that caused the error or null
for none or
null
for none.
Parameter |
Name |
Description |
location |
String
|
setLocationType(String locationType)
public final void setLocationType(String locationType)
Sets the type of location in the request that caused the error or null
for none.
Parameter |
Name |
Description |
locationType |
String
|
setMessage(String message)
public final void setMessage(String message)
Sets the human readable explanation of the error or null
for none.
Parameter |
Name |
Description |
message |
String
|
setReason(String reason)
public final void setReason(String reason)
Sets the error reason or null
for none.
Parameter |
Name |
Description |
reason |
String
|