public final class XPSResponseExplanationMetadataInputMetadata
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
XPSResponseExplanationMetadataInputMetadata() |
Modifier and Type | Method and Description |
---|---|
XPSResponseExplanationMetadataInputMetadata |
clone() |
String |
getInputTensorName()
Name of the input tensor for this model.
|
String |
getModality()
Modality of the feature.
|
XPSVisualization |
getVisualizationConfig()
Visualization configurations for image explanation.
|
XPSResponseExplanationMetadataInputMetadata |
set(String fieldName,
Object value) |
XPSResponseExplanationMetadataInputMetadata |
setInputTensorName(String inputTensorName)
Name of the input tensor for this model.
|
XPSResponseExplanationMetadataInputMetadata |
setModality(String modality)
Modality of the feature.
|
XPSResponseExplanationMetadataInputMetadata |
setVisualizationConfig(XPSVisualization visualizationConfig)
Visualization configurations for image explanation.
|
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 XPSResponseExplanationMetadataInputMetadata()
public String getInputTensorName()
null
for nonepublic XPSResponseExplanationMetadataInputMetadata setInputTensorName(String inputTensorName)
inputTensorName
- inputTensorName or null
for nonepublic String getModality()
null
for nonepublic XPSResponseExplanationMetadataInputMetadata setModality(String modality)
modality
- modality or null
for nonepublic XPSVisualization getVisualizationConfig()
null
for nonepublic XPSResponseExplanationMetadataInputMetadata setVisualizationConfig(XPSVisualization visualizationConfig)
visualizationConfig
- visualizationConfig or null
for nonepublic XPSResponseExplanationMetadataInputMetadata set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSResponseExplanationMetadataInputMetadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.