public final class SwitchRuntimeRequest 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 Notebooks 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 |
|---|
SwitchRuntimeRequest() |
| Modifier and Type | Method and Description |
|---|---|
SwitchRuntimeRequest |
clone() |
RuntimeAcceleratorConfig |
getAcceleratorConfig()
accelerator config.
|
String |
getMachineType()
machine type.
|
SwitchRuntimeRequest |
set(String fieldName,
Object value) |
SwitchRuntimeRequest |
setAcceleratorConfig(RuntimeAcceleratorConfig acceleratorConfig)
accelerator config.
|
SwitchRuntimeRequest |
setMachineType(String machineType)
machine type.
|
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 RuntimeAcceleratorConfig getAcceleratorConfig()
null for nonepublic SwitchRuntimeRequest setAcceleratorConfig(RuntimeAcceleratorConfig acceleratorConfig)
acceleratorConfig - acceleratorConfig or null for nonepublic String getMachineType()
null for nonepublic SwitchRuntimeRequest setMachineType(String machineType)
machineType - machineType or null for nonepublic SwitchRuntimeRequest set(String fieldName, Object value)
set in class GenericJsonpublic SwitchRuntimeRequest clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.