public final class GoogleCloudMlV1ReplicaConfig 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 |
|---|
GoogleCloudMlV1ReplicaConfig() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudMlV1ReplicaConfig |
clone() |
GoogleCloudMlV1AcceleratorConfig |
getAcceleratorConfig()
Represents the type and number of accelerators used by the replica.
|
List<String> |
getContainerArgs()
Arguments to the entrypoint command.
|
List<String> |
getContainerCommand()
The command with which the replica's custom container is run.
|
GoogleCloudMlV1DiskConfig |
getDiskConfig()
Represents the configuration of disk options.
|
String |
getImageUri()
The Docker image to run on the replica.
|
String |
getTpuTfVersion()
The AI Platform runtime version that includes a TensorFlow version matching the one used in the
custom container.
|
GoogleCloudMlV1ReplicaConfig |
set(String fieldName,
Object value) |
GoogleCloudMlV1ReplicaConfig |
setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig acceleratorConfig)
Represents the type and number of accelerators used by the replica.
|
GoogleCloudMlV1ReplicaConfig |
setContainerArgs(List<String> containerArgs)
Arguments to the entrypoint command.
|
GoogleCloudMlV1ReplicaConfig |
setContainerCommand(List<String> containerCommand)
The command with which the replica's custom container is run.
|
GoogleCloudMlV1ReplicaConfig |
setDiskConfig(GoogleCloudMlV1DiskConfig diskConfig)
Represents the configuration of disk options.
|
GoogleCloudMlV1ReplicaConfig |
setImageUri(String imageUri)
The Docker image to run on the replica.
|
GoogleCloudMlV1ReplicaConfig |
setTpuTfVersion(String tpuTfVersion)
The AI Platform runtime version that includes a TensorFlow version matching the one used in the
custom container.
|
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 GoogleCloudMlV1ReplicaConfig setAcceleratorConfig(GoogleCloudMlV1AcceleratorConfig acceleratorConfig)
acceleratorConfig - acceleratorConfig or null for nonepublic List<String> getContainerArgs()
null for nonepublic GoogleCloudMlV1ReplicaConfig setContainerArgs(List<String> containerArgs)
containerArgs - containerArgs or null for nonepublic List<String> getContainerCommand()
null for nonepublic GoogleCloudMlV1ReplicaConfig setContainerCommand(List<String> containerCommand)
containerCommand - containerCommand or null for nonepublic GoogleCloudMlV1DiskConfig getDiskConfig()
null for nonepublic GoogleCloudMlV1ReplicaConfig setDiskConfig(GoogleCloudMlV1DiskConfig diskConfig)
diskConfig - diskConfig or null for nonepublic String getImageUri()
null for nonepublic GoogleCloudMlV1ReplicaConfig setImageUri(String imageUri)
imageUri - imageUri or null for nonepublic String getTpuTfVersion()
null for nonepublic GoogleCloudMlV1ReplicaConfig setTpuTfVersion(String tpuTfVersion)
tpuTfVersion - tpuTfVersion or null for nonepublic GoogleCloudMlV1ReplicaConfig set(String fieldName, Object value)
set in class GenericJsonpublic GoogleCloudMlV1ReplicaConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.