public static final class JobStatistics2.ReservationUsage
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ReservationUsage() |
Modifier and Type | Method and Description |
---|---|
JobStatistics2.ReservationUsage |
clone() |
java.lang.String |
getName()
[Output-only] Reservation name or "unreserved" for on-demand resources usage.
|
java.lang.Long |
getSlotMs()
[Output-only] Slot-milliseconds the job spent in the given reservation.
|
JobStatistics2.ReservationUsage |
set(java.lang.String fieldName,
java.lang.Object value) |
JobStatistics2.ReservationUsage |
setName(java.lang.String name)
[Output-only] Reservation name or "unreserved" for on-demand resources usage.
|
JobStatistics2.ReservationUsage |
setSlotMs(java.lang.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
public java.lang.String getName()
null
for nonepublic JobStatistics2.ReservationUsage setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Long getSlotMs()
null
for nonepublic JobStatistics2.ReservationUsage setSlotMs(java.lang.Long slotMs)
slotMs
- slotMs or null
for nonepublic JobStatistics2.ReservationUsage set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobStatistics2.ReservationUsage clone()
clone
in class com.google.api.client.json.GenericJson