public final class ErrorDetail 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 Cloud Healthcare 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 |
|---|
ErrorDetail() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetail |
clone() |
Status |
getError()
The status of the error.
|
String |
getResource()
The identifier of the resource.
|
ErrorDetail |
set(String fieldName,
Object value) |
ErrorDetail |
setError(Status error)
The status of the error.
|
ErrorDetail |
setResource(String resource)
The identifier of the resource.
|
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 Status getError()
null for nonepublic ErrorDetail setError(Status error)
error - error or null for nonepublic String getResource()
null for nonepublic ErrorDetail setResource(String resource)
resource - resource or null for nonepublic ErrorDetail set(String fieldName, Object value)
set in class GenericJsonpublic ErrorDetail clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.