public final class InfraUsage
extends com.google.api.client.json.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 Cloud Natural Language API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InfraUsage() |
| Modifier and Type | Method and Description |
|---|---|
InfraUsage |
clone() |
List<CpuMetric> |
getCpuMetrics()
Aggregated core metrics since requested start_time.
|
List<DiskMetric> |
getDiskMetrics()
Aggregated persistent disk metrics since requested start_time.
|
List<GpuMetric> |
getGpuMetrics()
Aggregated gpu metrics since requested start_time.
|
List<RamMetric> |
getRamMetrics()
Aggregated ram metrics since requested start_time.
|
List<TpuMetric> |
getTpuMetrics()
Aggregated tpu metrics since requested start_time.
|
InfraUsage |
set(String fieldName,
Object value) |
InfraUsage |
setCpuMetrics(List<CpuMetric> cpuMetrics)
Aggregated core metrics since requested start_time.
|
InfraUsage |
setDiskMetrics(List<DiskMetric> diskMetrics)
Aggregated persistent disk metrics since requested start_time.
|
InfraUsage |
setGpuMetrics(List<GpuMetric> gpuMetrics)
Aggregated gpu metrics since requested start_time.
|
InfraUsage |
setRamMetrics(List<RamMetric> ramMetrics)
Aggregated ram metrics since requested start_time.
|
InfraUsage |
setTpuMetrics(List<TpuMetric> tpuMetrics)
Aggregated tpu metrics since requested start_time.
|
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<CpuMetric> getCpuMetrics()
null for nonepublic InfraUsage setCpuMetrics(List<CpuMetric> cpuMetrics)
cpuMetrics - cpuMetrics or null for nonepublic List<DiskMetric> getDiskMetrics()
null for nonepublic InfraUsage setDiskMetrics(List<DiskMetric> diskMetrics)
diskMetrics - diskMetrics or null for nonepublic List<GpuMetric> getGpuMetrics()
null for nonepublic InfraUsage setGpuMetrics(List<GpuMetric> gpuMetrics)
gpuMetrics - gpuMetrics or null for nonepublic List<RamMetric> getRamMetrics()
null for nonepublic InfraUsage setRamMetrics(List<RamMetric> ramMetrics)
ramMetrics - ramMetrics or null for nonepublic List<TpuMetric> getTpuMetrics()
null for nonepublic InfraUsage setTpuMetrics(List<TpuMetric> tpuMetrics)
tpuMetrics - tpuMetrics or null for nonepublic InfraUsage set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic InfraUsage clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.