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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.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, 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 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 com.google.api.client.json.GenericJson
public ErrorProto clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.