public final class Diagnostic
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 Google Service Management 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| Constructor and Description |
|---|
Diagnostic() |
| Modifier and Type | Method and Description |
|---|---|
Diagnostic |
clone() |
java.lang.String |
getKind()
The kind of diagnostic information provided.
|
java.lang.String |
getLocation()
File name and line number of the error or warning.
|
java.lang.String |
getMessage()
Message describing the error or warning.
|
Diagnostic |
set(java.lang.String fieldName,
java.lang.Object value) |
Diagnostic |
setKind(java.lang.String kind)
The kind of diagnostic information provided.
|
Diagnostic |
setLocation(java.lang.String location)
File name and line number of the error or warning.
|
Diagnostic |
setMessage(java.lang.String message)
Message describing the error or warning.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic Diagnostic setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLocation()
null for nonepublic Diagnostic setLocation(java.lang.String location)
location - location or null for nonepublic java.lang.String getMessage()
null for nonepublic Diagnostic setMessage(java.lang.String message)
message - message or null for nonepublic Diagnostic set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Diagnostic clone()
clone in class com.google.api.client.json.GenericJson