public final class XPSImageModelArtifactSpec
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 |
---|
XPSImageModelArtifactSpec() |
Modifier and Type | Method and Description |
---|---|
XPSImageModelArtifactSpec |
clone() |
XPSModelArtifactItem |
getCheckpointArtifact()
The Tensorflow checkpoint files.
|
List<XPSModelArtifactItem> |
getExportArtifact()
The model binary files in different formats for model export.
|
String |
getLabelGcsUri()
Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
|
XPSModelArtifactItem |
getServingArtifact()
The default model binary file used for serving (e.g.
|
String |
getTfJsBinaryGcsPrefix()
Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'.
|
String |
getTfLiteMetadataGcsUri()
Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
|
XPSImageModelArtifactSpec |
set(String fieldName,
Object value) |
XPSImageModelArtifactSpec |
setCheckpointArtifact(XPSModelArtifactItem checkpointArtifact)
The Tensorflow checkpoint files.
|
XPSImageModelArtifactSpec |
setExportArtifact(List<XPSModelArtifactItem> exportArtifact)
The model binary files in different formats for model export.
|
XPSImageModelArtifactSpec |
setLabelGcsUri(String labelGcsUri)
Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
|
XPSImageModelArtifactSpec |
setServingArtifact(XPSModelArtifactItem servingArtifact)
The default model binary file used for serving (e.g.
|
XPSImageModelArtifactSpec |
setTfJsBinaryGcsPrefix(String tfJsBinaryGcsPrefix)
Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'.
|
XPSImageModelArtifactSpec |
setTfLiteMetadataGcsUri(String tfLiteMetadataGcsUri)
Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
|
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 XPSModelArtifactItem getCheckpointArtifact()
null
for nonepublic XPSImageModelArtifactSpec setCheckpointArtifact(XPSModelArtifactItem checkpointArtifact)
checkpointArtifact
- checkpointArtifact or null
for nonepublic List<XPSModelArtifactItem> getExportArtifact()
null
for nonepublic XPSImageModelArtifactSpec setExportArtifact(List<XPSModelArtifactItem> exportArtifact)
exportArtifact
- exportArtifact or null
for nonepublic String getLabelGcsUri()
null
for nonepublic XPSImageModelArtifactSpec setLabelGcsUri(String labelGcsUri)
labelGcsUri
- labelGcsUri or null
for nonepublic XPSModelArtifactItem getServingArtifact()
null
for nonepublic XPSImageModelArtifactSpec setServingArtifact(XPSModelArtifactItem servingArtifact)
servingArtifact
- servingArtifact or null
for nonepublic String getTfJsBinaryGcsPrefix()
null
for nonepublic XPSImageModelArtifactSpec setTfJsBinaryGcsPrefix(String tfJsBinaryGcsPrefix)
tfJsBinaryGcsPrefix
- tfJsBinaryGcsPrefix or null
for nonepublic String getTfLiteMetadataGcsUri()
null
for nonepublic XPSImageModelArtifactSpec setTfLiteMetadataGcsUri(String tfLiteMetadataGcsUri)
tfLiteMetadataGcsUri
- tfLiteMetadataGcsUri or null
for nonepublic XPSImageModelArtifactSpec set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSImageModelArtifactSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.