public final class GoogleCloudMlV1Version 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 |
|---|
GoogleCloudMlV1Version() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1Version |
clone() |
byte[] |
decodeEtag()
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Version |
encodeEtag(byte[] etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1AcceleratorConfig |
getAcceleratorConfig()
Optional.
|
GoogleCloudMlV1AutoScaling |
getAutoScaling()
Automatically scale the number of nodes used to serve the model in response to increases and
decreases in traffic.
|
GoogleCloudMlV1ContainerSpec |
getContainer()
Optional.
|
String |
getCreateTime()
Output only.
|
String |
getDeploymentUri()
The Cloud Storage URI of a directory containing trained model artifacts to be used to create
the model version.
|
String |
getDescription()
Optional.
|
String |
getErrorMessage()
Output only.
|
String |
getEtag()
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1ExplanationConfig |
getExplanationConfig()
Optional.
|
String |
getFramework()
Optional.
|
Boolean |
getIsDefault()
Output only.
|
Map<String,String> |
getLabels()
Optional.
|
String |
getLastMigrationModelId()
Output only.
|
String |
getLastMigrationTime()
Output only.
|
String |
getLastUseTime()
Output only.
|
String |
getMachineType()
Optional.
|
GoogleCloudMlV1ManualScaling |
getManualScaling()
Manually select the number of nodes to use for serving the model.
|
String |
getName()
Required.
|
List<String> |
getPackageUris()
Optional.
|
String |
getPredictionClass()
Optional.
|
String |
getPythonVersion()
Required.
|
GoogleCloudMlV1RequestLoggingConfig |
getRequestLoggingConfig()
Optional.
|
GoogleCloudMlV1RouteMap |
getRoutes()
Optional.
|
String |
getRuntimeVersion()
Required.
|
String |
getServiceAccount()
Optional.
|
String |
getState()
Output only.
|
GoogleCloudMlV1Version |
set(String fieldName,
Object value) |
GoogleCloudMlV1Version |
setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig acceleratorConfig)
Optional.
|
GoogleCloudMlV1Version |
setAutoScaling(GoogleCloudMlV1AutoScaling autoScaling)
Automatically scale the number of nodes used to serve the model in response to increases and
decreases in traffic.
|
GoogleCloudMlV1Version |
setContainer(GoogleCloudMlV1ContainerSpec container)
Optional.
|
GoogleCloudMlV1Version |
setCreateTime(String createTime)
Output only.
|
GoogleCloudMlV1Version |
setDeploymentUri(String deploymentUri)
The Cloud Storage URI of a directory containing trained model artifacts to be used to create
the model version.
|
GoogleCloudMlV1Version |
setDescription(String description)
Optional.
|
GoogleCloudMlV1Version |
setErrorMessage(String errorMessage)
Output only.
|
GoogleCloudMlV1Version |
setEtag(String etag)
`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates
of a model from overwriting each other.
|
GoogleCloudMlV1Version |
setExplanationConfig(GoogleCloudMlV1ExplanationConfig explanationConfig)
Optional.
|
GoogleCloudMlV1Version |
setFramework(String framework)
Optional.
|
GoogleCloudMlV1Version |
setIsDefault(Boolean isDefault)
Output only.
|
GoogleCloudMlV1Version |
setLabels(Map<String,String> labels)
Optional.
|
GoogleCloudMlV1Version |
setLastMigrationModelId(String lastMigrationModelId)
Output only.
|
GoogleCloudMlV1Version |
setLastMigrationTime(String lastMigrationTime)
Output only.
|
GoogleCloudMlV1Version |
setLastUseTime(String lastUseTime)
Output only.
|
GoogleCloudMlV1Version |
setMachineType(String machineType)
Optional.
|
GoogleCloudMlV1Version |
setManualScaling(GoogleCloudMlV1ManualScaling manualScaling)
Manually select the number of nodes to use for serving the model.
|
GoogleCloudMlV1Version |
setName(String name)
Required.
|
GoogleCloudMlV1Version |
setPackageUris(List<String> packageUris)
Optional.
|
GoogleCloudMlV1Version |
setPredictionClass(String predictionClass)
Optional.
|
GoogleCloudMlV1Version |
setPythonVersion(String pythonVersion)
Required.
|
GoogleCloudMlV1Version |
setRequestLoggingConfig(GoogleCloudMlV1RequestLoggingConfig requestLoggingConfig)
Optional.
|
GoogleCloudMlV1Version |
setRoutes(GoogleCloudMlV1RouteMap routes)
Optional.
|
GoogleCloudMlV1Version |
setRuntimeVersion(String runtimeVersion)
Required.
|
GoogleCloudMlV1Version |
setServiceAccount(String serviceAccount)
Optional.
|
GoogleCloudMlV1Version |
setState(String state)
Output only.
|
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 GoogleCloudMlV1AcceleratorConfig getAcceleratorConfig()
null for nonepublic GoogleCloudMlV1Version setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig acceleratorConfig)
acceleratorConfig - acceleratorConfig or null for nonepublic GoogleCloudMlV1AutoScaling getAutoScaling()
null for nonepublic GoogleCloudMlV1Version setAutoScaling(GoogleCloudMlV1AutoScaling autoScaling)
autoScaling - autoScaling or null for nonepublic GoogleCloudMlV1ContainerSpec getContainer()
null for nonepublic GoogleCloudMlV1Version setContainer(GoogleCloudMlV1ContainerSpec container)
container - container or null for nonepublic String getCreateTime()
null for nonepublic GoogleCloudMlV1Version setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDeploymentUri()
null for nonepublic GoogleCloudMlV1Version setDeploymentUri(String deploymentUri)
deploymentUri - deploymentUri or null for nonepublic String getDescription()
null for nonepublic GoogleCloudMlV1Version setDescription(String description)
description - description or null for nonepublic String getErrorMessage()
null for nonepublic GoogleCloudMlV1Version setErrorMessage(String errorMessage)
errorMessage - errorMessage or null for nonepublic String getEtag()
null for nonedecodeEtag()public byte[] decodeEtag()
null for nonegetEtag()public GoogleCloudMlV1Version setEtag(String etag)
etag - etag or null for none#encodeEtag()public GoogleCloudMlV1Version encodeEtag(byte[] etag)
The value is encoded Base64 or {@code null} for none.
public GoogleCloudMlV1ExplanationConfig getExplanationConfig()
null for nonepublic GoogleCloudMlV1Version setExplanationConfig(GoogleCloudMlV1ExplanationConfig explanationConfig)
explanationConfig - explanationConfig or null for nonepublic String getFramework()
null for nonepublic GoogleCloudMlV1Version setFramework(String framework)
framework - framework or null for nonepublic Boolean getIsDefault()
null for nonepublic GoogleCloudMlV1Version setIsDefault(Boolean isDefault)
isDefault - isDefault or null for nonepublic Map<String,String> getLabels()
null for nonepublic GoogleCloudMlV1Version setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getLastMigrationModelId()
null for nonepublic GoogleCloudMlV1Version setLastMigrationModelId(String lastMigrationModelId)
lastMigrationModelId - lastMigrationModelId or null for nonepublic String getLastMigrationTime()
null for nonepublic GoogleCloudMlV1Version setLastMigrationTime(String lastMigrationTime)
lastMigrationTime - lastMigrationTime or null for nonepublic String getLastUseTime()
null for nonepublic GoogleCloudMlV1Version setLastUseTime(String lastUseTime)
lastUseTime - lastUseTime or null for nonepublic String getMachineType()
null for nonepublic GoogleCloudMlV1Version setMachineType(String machineType)
machineType - machineType or null for nonepublic GoogleCloudMlV1ManualScaling getManualScaling()
null for nonepublic GoogleCloudMlV1Version setManualScaling(GoogleCloudMlV1ManualScaling manualScaling)
manualScaling - manualScaling or null for nonepublic String getName()
null for nonepublic GoogleCloudMlV1Version setName(String name)
name - name or null for nonepublic List<String> getPackageUris()
null for nonepublic GoogleCloudMlV1Version setPackageUris(List<String> packageUris)
packageUris - packageUris or null for nonepublic String getPredictionClass()
null for nonepublic GoogleCloudMlV1Version setPredictionClass(String predictionClass)
predictionClass - predictionClass or null for nonepublic String getPythonVersion()
null for nonepublic GoogleCloudMlV1Version setPythonVersion(String pythonVersion)
pythonVersion - pythonVersion or null for nonepublic GoogleCloudMlV1RequestLoggingConfig getRequestLoggingConfig()
null for nonepublic GoogleCloudMlV1Version setRequestLoggingConfig(GoogleCloudMlV1RequestLoggingConfig requestLoggingConfig)
requestLoggingConfig - requestLoggingConfig or null for nonepublic GoogleCloudMlV1RouteMap getRoutes()
null for nonepublic GoogleCloudMlV1Version setRoutes(GoogleCloudMlV1RouteMap routes)
routes - routes or null for nonepublic String getRuntimeVersion()
null for nonepublic GoogleCloudMlV1Version setRuntimeVersion(String runtimeVersion)
runtimeVersion - runtimeVersion or null for nonepublic String getServiceAccount()
null for nonepublic GoogleCloudMlV1Version setServiceAccount(String serviceAccount)
serviceAccount - serviceAccount or null for nonepublic String getState()
null for nonepublic GoogleCloudMlV1Version setState(String state)
state - state or null for nonepublic GoogleCloudMlV1Version set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1Version clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.