public final class OperationError 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 SQL Admin 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 |
|---|
OperationError() |
| Modifier and Type | Method and Description |
|---|---|
OperationError |
clone() |
String |
getCode()
Identifies the specific error that occurred.
|
String |
getKind()
This is always *sql#operationError*.
|
String |
getMessage()
Additional information about the error encountered.
|
OperationError |
set(String fieldName,
Object value) |
OperationError |
setCode(String code)
Identifies the specific error that occurred.
|
OperationError |
setKind(String kind)
This is always *sql#operationError*.
|
OperationError |
setMessage(String message)
Additional information about the error encountered.
|
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 OperationError setCode(String code)
code - code or null for nonepublic String getKind()
null for nonepublic OperationError setKind(String kind)
kind - kind or null for nonepublic String getMessage()
null for nonepublic OperationError setMessage(String message)
message - message or null for nonepublic OperationError set(String fieldName, Object value)
set in class GenericJsonpublic OperationError clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.