public static final class JobStatistics2.ReservationUsage extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReservationUsage() |
Modifier and Type | Method and Description |
---|---|
JobStatistics2.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.
|
JobStatistics2.ReservationUsage |
set(String fieldName,
Object value) |
JobStatistics2.ReservationUsage |
setName(String name)
[Output only] Reservation name or "unreserved" for on-demand resources usage.
|
JobStatistics2.ReservationUsage |
setSlotMs(Long slotMs)
[Output only] Slot-milliseconds the job spent in the given reservation.
|
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 String getName()
null
for nonepublic JobStatistics2.ReservationUsage setName(String name)
name
- name or null
for nonepublic Long getSlotMs()
null
for nonepublic JobStatistics2.ReservationUsage setSlotMs(Long slotMs)
slotMs
- slotMs or null
for nonepublic JobStatistics2.ReservationUsage set(String fieldName, Object value)
set
in class GenericJson
public JobStatistics2.ReservationUsage clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.