public final class GoogleCloudMlV1PredictionInput extends 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 AI Platform Training & Prediction API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudMlV1PredictionInput() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1PredictionInput |
clone() |
Long |
getBatchSize()
Optional.
|
String |
getDataFormat()
Required.
|
List<String> |
getInputPaths()
Required.
|
Long |
getMaxWorkerCount()
Optional.
|
String |
getModelName()
Use this field if you want to use the default version for the specified model.
|
String |
getOutputDataFormat()
Optional.
|
String |
getOutputPath()
Required.
|
String |
getRegion()
Required.
|
String |
getRuntimeVersion()
Optional.
|
String |
getSignatureName()
Optional.
|
String |
getUri()
Use this field if you want to specify a Google Cloud Storage path for the model to use.
|
String |
getVersionName()
Use this field if you want to specify a version of the model to use.
|
GoogleCloudMlV1PredictionInput |
set(String fieldName,
Object value) |
GoogleCloudMlV1PredictionInput |
setBatchSize(Long batchSize)
Optional.
|
GoogleCloudMlV1PredictionInput |
setDataFormat(String dataFormat)
Required.
|
GoogleCloudMlV1PredictionInput |
setInputPaths(List<String> inputPaths)
Required.
|
GoogleCloudMlV1PredictionInput |
setMaxWorkerCount(Long maxWorkerCount)
Optional.
|
GoogleCloudMlV1PredictionInput |
setModelName(String modelName)
Use this field if you want to use the default version for the specified model.
|
GoogleCloudMlV1PredictionInput |
setOutputDataFormat(String outputDataFormat)
Optional.
|
GoogleCloudMlV1PredictionInput |
setOutputPath(String outputPath)
Required.
|
GoogleCloudMlV1PredictionInput |
setRegion(String region)
Required.
|
GoogleCloudMlV1PredictionInput |
setRuntimeVersion(String runtimeVersion)
Optional.
|
GoogleCloudMlV1PredictionInput |
setSignatureName(String signatureName)
Optional.
|
GoogleCloudMlV1PredictionInput |
setUri(String uri)
Use this field if you want to specify a Google Cloud Storage path for the model to use.
|
GoogleCloudMlV1PredictionInput |
setVersionName(String versionName)
Use this field if you want to specify a version of the model to use.
|
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 Long getBatchSize()
null for nonepublic GoogleCloudMlV1PredictionInput setBatchSize(Long batchSize)
batchSize - batchSize or null for nonepublic String getDataFormat()
null for nonepublic GoogleCloudMlV1PredictionInput setDataFormat(String dataFormat)
dataFormat - dataFormat or null for nonepublic List<String> getInputPaths()
null for nonepublic GoogleCloudMlV1PredictionInput setInputPaths(List<String> inputPaths)
inputPaths - inputPaths or null for nonepublic Long getMaxWorkerCount()
null for nonepublic GoogleCloudMlV1PredictionInput setMaxWorkerCount(Long maxWorkerCount)
maxWorkerCount - maxWorkerCount or null for nonepublic String getModelName()
null for nonepublic GoogleCloudMlV1PredictionInput setModelName(String modelName)
modelName - modelName or null for nonepublic String getOutputDataFormat()
null for nonepublic GoogleCloudMlV1PredictionInput setOutputDataFormat(String outputDataFormat)
outputDataFormat - outputDataFormat or null for nonepublic String getOutputPath()
null for nonepublic GoogleCloudMlV1PredictionInput setOutputPath(String outputPath)
outputPath - outputPath or null for nonepublic String getRegion()
null for nonepublic GoogleCloudMlV1PredictionInput setRegion(String region)
region - region or null for nonepublic String getRuntimeVersion()
null for nonepublic GoogleCloudMlV1PredictionInput setRuntimeVersion(String runtimeVersion)
runtimeVersion - runtimeVersion or null for nonepublic String getSignatureName()
null for nonepublic GoogleCloudMlV1PredictionInput setSignatureName(String signatureName)
signatureName - signatureName or null for nonepublic String getUri()
null for nonepublic GoogleCloudMlV1PredictionInput setUri(String uri)
uri - uri or null for nonepublic String getVersionName()
null for nonepublic GoogleCloudMlV1PredictionInput setVersionName(String versionName)
versionName - versionName or null for nonepublic GoogleCloudMlV1PredictionInput set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1PredictionInput clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.