public final class RamMetric
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RamMetric() |
Modifier and Type | Method and Description |
---|---|
RamMetric |
clone() |
Long |
getGibSec()
Required.
|
String |
getMachineSpec()
Required.
|
Double |
getMemories()
Required.
|
String |
getRamType()
Required.
|
Map<String,String> |
getTrackingLabels()
Billing tracking labels.
|
RamMetric |
set(String fieldName,
Object value) |
RamMetric |
setGibSec(Long gibSec)
Required.
|
RamMetric |
setMachineSpec(String machineSpec)
Required.
|
RamMetric |
setMemories(Double memories)
Required.
|
RamMetric |
setRamType(String ramType)
Required.
|
RamMetric |
setTrackingLabels(Map<String,String> trackingLabels)
Billing tracking labels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getGibSec()
null
for nonepublic RamMetric setGibSec(Long gibSec)
gibSec
- gibSec or null
for nonepublic String getMachineSpec()
null
for nonepublic RamMetric setMachineSpec(String machineSpec)
machineSpec
- machineSpec or null
for nonepublic Double getMemories()
null
for nonepublic RamMetric setMemories(Double memories)
memories
- memories or null
for nonepublic String getRamType()
null
for nonepublic RamMetric setRamType(String ramType)
ramType
- ramType or null
for nonepublic Map<String,String> getTrackingLabels()
null
for nonepublic RamMetric setTrackingLabels(Map<String,String> trackingLabels)
trackingLabels
- trackingLabels or null
for nonepublic RamMetric set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RamMetric clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.