public static class GoogleJsonError.ErrorInfo extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ErrorInfo() |
Modifier and Type | Method and Description |
---|---|
GoogleJsonError.ErrorInfo |
clone() |
String |
getDomain()
Returns the error classification or
null for none. |
String |
getLocation()
Returns the location in the request that caused the error or
null for none or null for none. |
String |
getLocationType()
Returns the type of location in the request that caused the error or
null for none. |
String |
getMessage()
Returns the human readable explanation of the error or
null for none. |
String |
getReason()
Returns the error reason or
null for none. |
GoogleJsonError.ErrorInfo |
set(String fieldName,
Object value) |
void |
setDomain(String domain)
Sets the error classification or
null for none. |
void |
setLocation(String location)
Sets the location in the request that caused the error or
null for none or null for none. |
void |
setLocationType(String locationType)
Sets the type of location in the request that caused the error or
null for none. |
void |
setMessage(String message)
Sets the human readable explanation of the error or
null for none. |
void |
setReason(String reason)
Sets the error reason or
null for none. |
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public final String getDomain()
null
for none.public final void setDomain(String domain)
null
for none.public final String getReason()
null
for none.public final void setReason(String reason)
null
for none.public final String getMessage()
null
for none.public final void setMessage(String message)
null
for none.public final String getLocation()
null
for none or null
for none.public final void setLocation(String location)
null
for none or null
for none.public final String getLocationType()
null
for none.public final void setLocationType(String locationType)
null
for none.public GoogleJsonError.ErrorInfo set(String fieldName, Object value)
set
in class GenericJson
public GoogleJsonError.ErrorInfo clone()
clone
in class GenericJson
Copyright © 2010–2022 Google. All rights reserved.