target.apidocs.com.google.api.services.bigquery.model.JobStatistics2.ReservationUsage.html Maven / Gradle / Ivy
JobStatistics2.ReservationUsage (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class JobStatistics2.ReservationUsage
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.JobStatistics2.ReservationUsage
-
- Enclosing class:
- JobStatistics2
public static final class JobStatistics2.ReservationUsage
extends com.google.api.client.json.GenericJson
Job resource usage breakdown by reservation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ReservationUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
JobStatistics2.ReservationUsage
clone()
String
getName()
Reservation name or "unreserved" for on-demand resource usage and multi-statement queries.
Long
getSlotMs()
Total slot milliseconds used by the reservation for a particular job.
JobStatistics2.ReservationUsage
set(String fieldName,
Object value)
JobStatistics2.ReservationUsage
setName(String name)
Reservation name or "unreserved" for on-demand resource usage and multi-statement queries.
JobStatistics2.ReservationUsage
setSlotMs(Long slotMs)
Total slot milliseconds used by the reservation for a particular job.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getName
public String getName()
Reservation name or "unreserved" for on-demand resource usage and multi-statement queries.
- Returns:
- value or
null
for none
-
setName
public JobStatistics2.ReservationUsage setName(String name)
Reservation name or "unreserved" for on-demand resource usage and multi-statement queries.
- Parameters:
name
- name or null
for none
-
getSlotMs
public Long getSlotMs()
Total slot milliseconds used by the reservation for a particular job.
- Returns:
- value or
null
for none
-
setSlotMs
public JobStatistics2.ReservationUsage setSlotMs(Long slotMs)
Total slot milliseconds used by the reservation for a particular job.
- Parameters:
slotMs
- slotMs or null
for none
-
set
public JobStatistics2.ReservationUsage set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public JobStatistics2.ReservationUsage clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.