public final class ErrorProto extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ErrorProto() |
Modifier and Type | Method and Description |
---|---|
ErrorProto |
clone() |
String |
getDebugInfo()
Debugging information.
|
String |
getLocation()
Specifies where the error occurred, if present.
|
String |
getMessage()
A human-readable description of the error.
|
String |
getReason()
A short error code that summarizes the error.
|
ErrorProto |
set(String fieldName,
Object value) |
ErrorProto |
setDebugInfo(String debugInfo)
Debugging information.
|
ErrorProto |
setLocation(String location)
Specifies where the error occurred, if present.
|
ErrorProto |
setMessage(String message)
A human-readable description of the error.
|
ErrorProto |
setReason(String reason)
A short error code that summarizes the error.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getDebugInfo()
null
for nonepublic ErrorProto setDebugInfo(String debugInfo)
debugInfo
- debugInfo or null
for nonepublic String getLocation()
null
for nonepublic ErrorProto setLocation(String location)
location
- location or null
for nonepublic String getMessage()
null
for nonepublic ErrorProto setMessage(String message)
message
- message or null
for nonepublic String getReason()
null
for nonepublic ErrorProto setReason(String reason)
reason
- reason or null
for nonepublic ErrorProto set(String fieldName, Object value)
set
in class GenericJson
public ErrorProto clone()
clone
in class GenericJson