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 YouTube Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ErrorProto() |
| Modifier and Type | Method and Description |
|---|---|
ErrorProto |
clone() |
List<String> |
getArgument()
Error arguments, to be used when building user-friendly error messages given the error domain
and code.
|
String |
getCode()
Error code in the error domain.
|
String |
getDebugInfo()
Debugging information, which should not be shared externally.
|
String |
getDomain()
Error domain.
|
String |
getExternalErrorMessage()
A short explanation for the error, which can be shared outside Google.
|
String |
getLocation()
Location of the error, as specified by the location type.
|
String |
getLocationType() |
ErrorProto |
set(String fieldName,
Object value) |
ErrorProto |
setArgument(List<String> argument)
Error arguments, to be used when building user-friendly error messages given the error domain
and code.
|
ErrorProto |
setCode(String code)
Error code in the error domain.
|
ErrorProto |
setDebugInfo(String debugInfo)
Debugging information, which should not be shared externally.
|
ErrorProto |
setDomain(String domain)
Error domain.
|
ErrorProto |
setExternalErrorMessage(String externalErrorMessage)
A short explanation for the error, which can be shared outside Google.
|
ErrorProto |
setLocation(String location)
Location of the error, as specified by the location type.
|
ErrorProto |
setLocationType(String locationType) |
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getArgument()
null for nonepublic ErrorProto setArgument(List<String> argument)
argument - argument or null for nonepublic String getCode()
null for nonepublic ErrorProto setCode(String code)
code - code or null for nonepublic String getDebugInfo()
null for nonepublic ErrorProto setDebugInfo(String debugInfo)
debugInfo - debugInfo or null for nonepublic String getDomain()
null for nonepublic ErrorProto setDomain(String domain)
domain - domain or null for nonepublic String getExternalErrorMessage()
null for nonepublic ErrorProto setExternalErrorMessage(String externalErrorMessage)
externalErrorMessage - externalErrorMessage or null for nonepublic String getLocation()
null for nonepublic ErrorProto setLocation(String location)
location - location or null for nonepublic String getLocationType()
null for nonepublic ErrorProto setLocationType(String locationType)
locationType - locationType or null for nonepublic ErrorProto set(String fieldName, Object value)
set in class GenericJsonpublic ErrorProto clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.