public final class Errors 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 |
|---|
Errors() |
| Modifier and Type | Method and Description |
|---|---|
Errors |
clone() |
String |
getCode()
Global error code.
|
List<ErrorProto> |
getError()
Specific error description and codes
|
String |
getRequestId()
Request identifier generated by the service, which can be used to identify the error in the
logs
|
Errors |
set(String fieldName,
Object value) |
Errors |
setCode(String code)
Global error code.
|
Errors |
setError(List<ErrorProto> error)
Specific error description and codes
|
Errors |
setRequestId(String requestId)
Request identifier generated by the service, which can be used to identify the error in the
logs
|
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 String getCode()
null for nonepublic Errors setCode(String code)
code - code or null for nonepublic List<ErrorProto> getError()
null for nonepublic Errors setError(List<ErrorProto> error)
error - error or null for nonepublic String getRequestId()
null for nonepublic Errors setRequestId(String requestId)
requestId - requestId or null for nonepublic Errors set(String fieldName, Object value)
set in class GenericJsonpublic Errors clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.