public final class UsageSnapshot
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 Dataproc 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 |
|---|
UsageSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
UsageSnapshot |
clone() |
Long |
getMilliDcu()
Optional.
|
Long |
getMilliDcuPremium()
Optional.
|
Long |
getShuffleStorageGb()
Optional.
|
Long |
getShuffleStorageGbPremium()
Optional.
|
String |
getSnapshotTime()
Optional.
|
UsageSnapshot |
set(String fieldName,
Object value) |
UsageSnapshot |
setMilliDcu(Long milliDcu)
Optional.
|
UsageSnapshot |
setMilliDcuPremium(Long milliDcuPremium)
Optional.
|
UsageSnapshot |
setShuffleStorageGb(Long shuffleStorageGb)
Optional.
|
UsageSnapshot |
setShuffleStorageGbPremium(Long shuffleStorageGbPremium)
Optional.
|
UsageSnapshot |
setSnapshotTime(String snapshotTime)
Optional.
|
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 Long getMilliDcu()
null for nonepublic UsageSnapshot setMilliDcu(Long milliDcu)
milliDcu - milliDcu or null for nonepublic Long getMilliDcuPremium()
null for nonepublic UsageSnapshot setMilliDcuPremium(Long milliDcuPremium)
milliDcuPremium - milliDcuPremium or null for nonepublic Long getShuffleStorageGb()
null for nonepublic UsageSnapshot setShuffleStorageGb(Long shuffleStorageGb)
shuffleStorageGb - shuffleStorageGb or null for nonepublic Long getShuffleStorageGbPremium()
null for nonepublic UsageSnapshot setShuffleStorageGbPremium(Long shuffleStorageGbPremium)
shuffleStorageGbPremium - shuffleStorageGbPremium or null for nonepublic String getSnapshotTime()
null for nonepublic UsageSnapshot setSnapshotTime(String snapshotTime)
snapshotTime - snapshotTime or null for nonepublic UsageSnapshot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UsageSnapshot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.