public final class JobStatistics
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 BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
JobStatistics.ReservationUsage
Model definition for JobStatisticsReservationUsage.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobStatistics() |
Modifier and Type | Method and Description |
---|---|
JobStatistics |
clone() |
java.lang.Double |
getCompletionRatio()
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
|
java.lang.Long |
getCreationTime()
[Output-only] Creation time of this job, in milliseconds since the epoch.
|
java.lang.Long |
getEndTime()
[Output-only] End time of this job, in milliseconds since the epoch.
|
JobStatistics4 |
getExtract()
[Output-only] Statistics for an extract job.
|
JobStatistics3 |
getLoad()
[Output-only] Statistics for a load job.
|
java.lang.Long |
getNumChildJobs()
[Output-only] Number of child jobs executed.
|
java.lang.String |
getParentJobId()
[Output-only] If this is a child job, the id of the parent.
|
JobStatistics2 |
getQuery()
[Output-only] Statistics for a query job.
|
java.util.List<java.lang.String> |
getQuotaDeferments()
[Output-only] Quotas which delayed this job's start time.
|
java.util.List<JobStatistics.ReservationUsage> |
getReservationUsage()
[Output-only] Job resource usage breakdown by reservation.
|
java.lang.Long |
getStartTime()
[Output-only] Start time of this job, in milliseconds since the epoch.
|
java.lang.Long |
getTotalBytesProcessed()
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
|
java.lang.Long |
getTotalSlotMs()
[Output-only] Slot-milliseconds for the job.
|
JobStatistics |
set(java.lang.String fieldName,
java.lang.Object value) |
JobStatistics |
setCompletionRatio(java.lang.Double completionRatio)
[TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.
|
JobStatistics |
setCreationTime(java.lang.Long creationTime)
[Output-only] Creation time of this job, in milliseconds since the epoch.
|
JobStatistics |
setEndTime(java.lang.Long endTime)
[Output-only] End time of this job, in milliseconds since the epoch.
|
JobStatistics |
setExtract(JobStatistics4 extract)
[Output-only] Statistics for an extract job.
|
JobStatistics |
setLoad(JobStatistics3 load)
[Output-only] Statistics for a load job.
|
JobStatistics |
setNumChildJobs(java.lang.Long numChildJobs)
[Output-only] Number of child jobs executed.
|
JobStatistics |
setParentJobId(java.lang.String parentJobId)
[Output-only] If this is a child job, the id of the parent.
|
JobStatistics |
setQuery(JobStatistics2 query)
[Output-only] Statistics for a query job.
|
JobStatistics |
setQuotaDeferments(java.util.List<java.lang.String> quotaDeferments)
[Output-only] Quotas which delayed this job's start time.
|
JobStatistics |
setReservationUsage(java.util.List<JobStatistics.ReservationUsage> reservationUsage)
[Output-only] Job resource usage breakdown by reservation.
|
JobStatistics |
setStartTime(java.lang.Long startTime)
[Output-only] Start time of this job, in milliseconds since the epoch.
|
JobStatistics |
setTotalBytesProcessed(java.lang.Long totalBytesProcessed)
[Output-only] [Deprecated] Use the bytes processed in the query statistics instead.
|
JobStatistics |
setTotalSlotMs(java.lang.Long totalSlotMs)
[Output-only] Slot-milliseconds for the job.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Double getCompletionRatio()
null
for nonepublic JobStatistics setCompletionRatio(java.lang.Double completionRatio)
completionRatio
- completionRatio or null
for nonepublic java.lang.Long getCreationTime()
null
for nonepublic JobStatistics setCreationTime(java.lang.Long creationTime)
creationTime
- creationTime or null
for nonepublic java.lang.Long getEndTime()
null
for nonepublic JobStatistics setEndTime(java.lang.Long endTime)
endTime
- endTime or null
for nonepublic JobStatistics4 getExtract()
null
for nonepublic JobStatistics setExtract(JobStatistics4 extract)
extract
- extract or null
for nonepublic JobStatistics3 getLoad()
null
for nonepublic JobStatistics setLoad(JobStatistics3 load)
load
- load or null
for nonepublic java.lang.Long getNumChildJobs()
null
for nonepublic JobStatistics setNumChildJobs(java.lang.Long numChildJobs)
numChildJobs
- numChildJobs or null
for nonepublic java.lang.String getParentJobId()
null
for nonepublic JobStatistics setParentJobId(java.lang.String parentJobId)
parentJobId
- parentJobId or null
for nonepublic JobStatistics2 getQuery()
null
for nonepublic JobStatistics setQuery(JobStatistics2 query)
query
- query or null
for nonepublic java.util.List<java.lang.String> getQuotaDeferments()
null
for nonepublic JobStatistics setQuotaDeferments(java.util.List<java.lang.String> quotaDeferments)
quotaDeferments
- quotaDeferments or null
for nonepublic java.util.List<JobStatistics.ReservationUsage> getReservationUsage()
null
for nonepublic JobStatistics setReservationUsage(java.util.List<JobStatistics.ReservationUsage> reservationUsage)
reservationUsage
- reservationUsage or null
for nonepublic java.lang.Long getStartTime()
null
for nonepublic JobStatistics setStartTime(java.lang.Long startTime)
startTime
- startTime or null
for nonepublic java.lang.Long getTotalBytesProcessed()
null
for nonepublic JobStatistics setTotalBytesProcessed(java.lang.Long totalBytesProcessed)
totalBytesProcessed
- totalBytesProcessed or null
for nonepublic java.lang.Long getTotalSlotMs()
null
for nonepublic JobStatistics setTotalSlotMs(java.lang.Long totalSlotMs)
totalSlotMs
- totalSlotMs or null
for nonepublic JobStatistics set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobStatistics clone()
clone
in class com.google.api.client.json.GenericJson