public static final class JobStatistics.ReservationUsage
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReservationUsage() |
Modifier and Type | Method and Description |
---|---|
JobStatistics.ReservationUsage |
clone() |
String |
getName()
[Output-only] Reservation name or "unreserved" for on-demand resources usage.
|
Long |
getSlotMs()
[Output-only] Slot-milliseconds the job spent in the given reservation.
|
JobStatistics.ReservationUsage |
set(String fieldName,
Object value) |
JobStatistics.ReservationUsage |
setName(String name)
[Output-only] Reservation name or "unreserved" for on-demand resources usage.
|
JobStatistics.ReservationUsage |
setSlotMs(Long slotMs)
[Output-only] Slot-milliseconds the job spent in the given reservation.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getName()
null
for nonepublic JobStatistics.ReservationUsage setName(String name)
name
- name or null
for nonepublic Long getSlotMs()
null
for nonepublic JobStatistics.ReservationUsage setSlotMs(Long slotMs)
slotMs
- slotMs or null
for nonepublic JobStatistics.ReservationUsage set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public JobStatistics.ReservationUsage clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.