public final class XPSTextComponentModel
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 |
|---|
XPSTextComponentModel() |
| Modifier and Type | Method and Description |
|---|---|
XPSTextComponentModel |
clone() |
String |
getBatchPredictionModelGcsUri()
The Cloud Storage resource path to hold batch prediction model.
|
String |
getOnlinePredictionModelGcsUri()
The Cloud Storage resource path to hold online prediction model.
|
String |
getPartition()
The partition where the model is deployed.
|
XPSModelArtifactItem |
getServingArtifact()
The default model binary file used for serving (e.g.
|
String |
getServoModelName()
The name of servo model.
|
String |
getSubmodelName()
The name of the trained NL submodel.
|
String |
getSubmodelType()
The type of trained NL submodel
|
String |
getTfRuntimeVersion()
## The fields below are only populated under uCAIP request scope.
|
Long |
getVersionNumber()
The servomatic model version number.
|
XPSTextComponentModel |
set(String fieldName,
Object value) |
XPSTextComponentModel |
setBatchPredictionModelGcsUri(String batchPredictionModelGcsUri)
The Cloud Storage resource path to hold batch prediction model.
|
XPSTextComponentModel |
setOnlinePredictionModelGcsUri(String onlinePredictionModelGcsUri)
The Cloud Storage resource path to hold online prediction model.
|
XPSTextComponentModel |
setPartition(String partition)
The partition where the model is deployed.
|
XPSTextComponentModel |
setServingArtifact(XPSModelArtifactItem servingArtifact)
The default model binary file used for serving (e.g.
|
XPSTextComponentModel |
setServoModelName(String servoModelName)
The name of servo model.
|
XPSTextComponentModel |
setSubmodelName(String submodelName)
The name of the trained NL submodel.
|
XPSTextComponentModel |
setSubmodelType(String submodelType)
The type of trained NL submodel
|
XPSTextComponentModel |
setTfRuntimeVersion(String tfRuntimeVersion)
## The fields below are only populated under uCAIP request scope.
|
XPSTextComponentModel |
setVersionNumber(Long versionNumber)
The servomatic model version number.
|
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 getBatchPredictionModelGcsUri()
null for nonepublic XPSTextComponentModel setBatchPredictionModelGcsUri(String batchPredictionModelGcsUri)
batchPredictionModelGcsUri - batchPredictionModelGcsUri or null for nonepublic String getOnlinePredictionModelGcsUri()
null for nonepublic XPSTextComponentModel setOnlinePredictionModelGcsUri(String onlinePredictionModelGcsUri)
onlinePredictionModelGcsUri - onlinePredictionModelGcsUri or null for nonepublic String getPartition()
null for nonepublic XPSTextComponentModel setPartition(String partition)
partition - partition or null for nonepublic XPSModelArtifactItem getServingArtifact()
null for nonepublic XPSTextComponentModel setServingArtifact(XPSModelArtifactItem servingArtifact)
servingArtifact - servingArtifact or null for nonepublic String getServoModelName()
null for nonepublic XPSTextComponentModel setServoModelName(String servoModelName)
servoModelName - servoModelName or null for nonepublic String getSubmodelName()
null for nonepublic XPSTextComponentModel setSubmodelName(String submodelName)
submodelName - submodelName or null for nonepublic String getSubmodelType()
null for nonepublic XPSTextComponentModel setSubmodelType(String submodelType)
submodelType - submodelType or null for nonepublic String getTfRuntimeVersion()
null for nonepublic XPSTextComponentModel setTfRuntimeVersion(String tfRuntimeVersion)
tfRuntimeVersion - tfRuntimeVersion or null for nonepublic Long getVersionNumber()
null for nonepublic XPSTextComponentModel setVersionNumber(Long versionNumber)
versionNumber - versionNumber or null for nonepublic XPSTextComponentModel set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic XPSTextComponentModel clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.