public final class ErrorProto
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ErrorProto() |
Modifier and Type | Method and Description |
---|---|
ErrorProto |
clone() |
java.lang.String |
getDebugInfo()
Debugging information.
|
java.lang.String |
getLocation()
Specifies where the error occurred, if present.
|
java.lang.String |
getMessage()
A human-readable description of the error.
|
java.lang.String |
getReason()
A short error code that summarizes the error.
|
ErrorProto |
set(java.lang.String fieldName,
java.lang.Object value) |
ErrorProto |
setDebugInfo(java.lang.String debugInfo)
Debugging information.
|
ErrorProto |
setLocation(java.lang.String location)
Specifies where the error occurred, if present.
|
ErrorProto |
setMessage(java.lang.String message)
A human-readable description of the error.
|
ErrorProto |
setReason(java.lang.String reason)
A short error code that summarizes the error.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getDebugInfo()
null
for nonepublic ErrorProto setDebugInfo(java.lang.String debugInfo)
debugInfo
- debugInfo or null
for nonepublic java.lang.String getLocation()
null
for nonepublic ErrorProto setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getMessage()
null
for nonepublic ErrorProto setMessage(java.lang.String message)
message
- message or null
for nonepublic java.lang.String getReason()
null
for nonepublic ErrorProto setReason(java.lang.String reason)
reason
- reason or null
for nonepublic ErrorProto set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ErrorProto clone()
clone
in class com.google.api.client.json.GenericJson