public final class XPSResponseExplanationSpec
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 Natural Language 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
XPSResponseExplanationSpec() |
| Modifier and Type | Method and Description |
|---|---|
XPSResponseExplanationSpec |
clone() |
String |
getExplanationType()
Explanation type.
|
XPSResponseExplanationMetadata |
getMetadata()
Metadata describing the Model's input and output for explanation.
|
XPSResponseExplanationParameters |
getParameters()
Parameters that configure explaining of the Model's predictions.
|
XPSResponseExplanationSpec |
set(String fieldName,
Object value) |
XPSResponseExplanationSpec |
setExplanationType(String explanationType)
Explanation type.
|
XPSResponseExplanationSpec |
setMetadata(XPSResponseExplanationMetadata metadata)
Metadata describing the Model's input and output for explanation.
|
XPSResponseExplanationSpec |
setParameters(XPSResponseExplanationParameters parameters)
Parameters that configure explaining of the Model's predictions.
|
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 getExplanationType()
null for nonepublic XPSResponseExplanationSpec setExplanationType(String explanationType)
explanationType - explanationType or null for nonepublic XPSResponseExplanationMetadata getMetadata()
null for nonepublic XPSResponseExplanationSpec setMetadata(XPSResponseExplanationMetadata metadata)
metadata - metadata or null for nonepublic XPSResponseExplanationParameters getParameters()
null for nonepublic XPSResponseExplanationSpec setParameters(XPSResponseExplanationParameters parameters)
parameters - parameters or null for nonepublic XPSResponseExplanationSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic XPSResponseExplanationSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.