public final class DiagnosticMessage
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 Cloud Spanner 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DiagnosticMessage() |
Modifier and Type | Method and Description |
---|---|
DiagnosticMessage |
clone() |
LocalizedString |
getInfo()
Information about this diagnostic information.
|
LocalizedString |
getMetric()
The metric.
|
Boolean |
getMetricSpecific()
Whether this message is specific only for the current metric.
|
String |
getSeverity()
The severity of the diagnostic message.
|
LocalizedString |
getShortMessage()
The short message.
|
DiagnosticMessage |
set(String fieldName,
Object value) |
DiagnosticMessage |
setInfo(LocalizedString info)
Information about this diagnostic information.
|
DiagnosticMessage |
setMetric(LocalizedString metric)
The metric.
|
DiagnosticMessage |
setMetricSpecific(Boolean metricSpecific)
Whether this message is specific only for the current metric.
|
DiagnosticMessage |
setSeverity(String severity)
The severity of the diagnostic message.
|
DiagnosticMessage |
setShortMessage(LocalizedString shortMessage)
The short message.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public LocalizedString getInfo()
null
for nonepublic DiagnosticMessage setInfo(LocalizedString info)
info
- info or null
for nonepublic LocalizedString getMetric()
null
for nonepublic DiagnosticMessage setMetric(LocalizedString metric)
metric
- metric or null
for nonepublic Boolean getMetricSpecific()
null
for nonepublic DiagnosticMessage setMetricSpecific(Boolean metricSpecific)
metricSpecific
- metricSpecific or null
for nonepublic String getSeverity()
null
for nonepublic DiagnosticMessage setSeverity(String severity)
severity
- severity or null
for nonepublic LocalizedString getShortMessage()
null
for nonepublic DiagnosticMessage setShortMessage(LocalizedString shortMessage)
shortMessage
- shortMessage or null
for nonepublic DiagnosticMessage set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DiagnosticMessage clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.