public final class TpuConfig 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 Kubernetes Engine 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 |
|---|
TpuConfig() |
| Modifier and Type | Method and Description |
|---|---|
TpuConfig |
clone() |
Boolean |
getEnabled()
Whether Cloud TPU integration is enabled or not.
|
String |
getIpv4CidrBlock()
IPv4 CIDR block reserved for Cloud TPU in the VPC.
|
Boolean |
getUseServiceNetworking()
Whether to use service networking for Cloud TPU or not.
|
TpuConfig |
set(String fieldName,
Object value) |
TpuConfig |
setEnabled(Boolean enabled)
Whether Cloud TPU integration is enabled or not.
|
TpuConfig |
setIpv4CidrBlock(String ipv4CidrBlock)
IPv4 CIDR block reserved for Cloud TPU in the VPC.
|
TpuConfig |
setUseServiceNetworking(Boolean useServiceNetworking)
Whether to use service networking for Cloud TPU or not.
|
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 Boolean getEnabled()
null for nonepublic TpuConfig setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic String getIpv4CidrBlock()
null for nonepublic TpuConfig setIpv4CidrBlock(String ipv4CidrBlock)
ipv4CidrBlock - ipv4CidrBlock or null for nonepublic Boolean getUseServiceNetworking()
null for nonepublic TpuConfig setUseServiceNetworking(Boolean useServiceNetworking)
useServiceNetworking - useServiceNetworking or null for nonepublic TpuConfig set(String fieldName, Object value)
set in class GenericJsonpublic TpuConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.