public final class GoogleCloudMlV1ContainerSpec 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 |
|---|
GoogleCloudMlV1ContainerSpec() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1ContainerSpec |
clone() |
List<String> |
getArgs()
Immutable.
|
List<String> |
getCommand()
Immutable.
|
List<GoogleCloudMlV1EnvVar> |
getEnv()
Immutable.
|
String |
getImage()
URI of the Docker image to be used as the custom container for serving predictions.
|
List<GoogleCloudMlV1ContainerPort> |
getPorts()
Immutable.
|
GoogleCloudMlV1ContainerSpec |
set(String fieldName,
Object value) |
GoogleCloudMlV1ContainerSpec |
setArgs(List<String> args)
Immutable.
|
GoogleCloudMlV1ContainerSpec |
setCommand(List<String> command)
Immutable.
|
GoogleCloudMlV1ContainerSpec |
setEnv(List<GoogleCloudMlV1EnvVar> env)
Immutable.
|
GoogleCloudMlV1ContainerSpec |
setImage(String image)
URI of the Docker image to be used as the custom container for serving predictions.
|
GoogleCloudMlV1ContainerSpec |
setPorts(List<GoogleCloudMlV1ContainerPort> ports)
Immutable.
|
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 List<String> getArgs()
null for nonepublic GoogleCloudMlV1ContainerSpec setArgs(List<String> args)
args - args or null for nonepublic List<String> getCommand()
null for nonepublic GoogleCloudMlV1ContainerSpec setCommand(List<String> command)
command - command or null for nonepublic List<GoogleCloudMlV1EnvVar> getEnv()
null for nonepublic GoogleCloudMlV1ContainerSpec setEnv(List<GoogleCloudMlV1EnvVar> env)
env - env or null for nonepublic String getImage()
null for nonepublic GoogleCloudMlV1ContainerSpec setImage(String image)
image - image or null for nonepublic List<GoogleCloudMlV1ContainerPort> getPorts()
null for nonepublic GoogleCloudMlV1ContainerSpec setPorts(List<GoogleCloudMlV1ContainerPort> ports)
ports - ports or null for nonepublic GoogleCloudMlV1ContainerSpec set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1ContainerSpec clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.