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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobStatistics() |
Modifier and Type | Method and Description |
---|---|
JobStatistics |
clone() |
java.lang.Double |
getCompletionRatio()
[Experimental] [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.
|
JobStatistics2 |
getQuery()
[Output-only] Statistics for a query job.
|
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.
|
JobStatistics |
set(java.lang.String fieldName,
java.lang.Object value) |
JobStatistics |
setCompletionRatio(java.lang.Double completionRatio)
[Experimental] [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 |
setQuery(JobStatistics2 query)
[Output-only] Statistics for a query job.
|
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
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 JobStatistics2 getQuery()
null
for nonepublic JobStatistics setQuery(JobStatistics2 query)
query
- query 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 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