public class JobInfo extends Object implements Serializable
CopyJobConfiguration for a job that copies
 an existing table. Use ExtractJobConfiguration for a job that exports a table to Google
 Cloud Storage. Use LoadJobConfiguration for a job that loads data from Google Cloud
 Storage into a table. Use QueryJobConfiguration for a job that runs a query.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
JobInfo.Builder
A builder for  
JobInfo objects. | 
static class  | 
JobInfo.CreateDisposition
Specifies whether the job is allowed to create new tables. 
 | 
static class  | 
JobInfo.SchemaUpdateOption
Specifies options relating to allowing the schema of the destination table to be updated as a
 side effect of the load or query job. 
 | 
static class  | 
JobInfo.WriteDisposition
Specifies the action that occurs if the destination table already exists. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
<C extends JobConfiguration> | 
getConfiguration()
Returns the job's configuration. 
 | 
String | 
getEtag()
Returns the hash of the job resource. 
 | 
String | 
getGeneratedId()
Returns the service-generated id for the job. 
 | 
JobId | 
getJobId()
Returns the job identity. 
 | 
String | 
getSelfLink()
Returns an URL that can be used to access the resource again. 
 | 
<S extends JobStatistics> | 
getStatistics()
Returns information about the job, including starting time and ending time of the job. 
 | 
JobStatus | 
getStatus()
Returns the status of this job. 
 | 
String | 
getUserEmail()
Returns the email address of the user who ran the job. 
 | 
int | 
hashCode()  | 
static JobInfo.Builder | 
newBuilder(JobConfiguration configuration)
Returns a builder for a  
JobInfo object given the job configuration. | 
static JobInfo | 
of(JobConfiguration configuration)
Returns a  
JobInfo object given the job configuration. | 
static JobInfo | 
of(JobId jobId,
  JobConfiguration configuration)
Returns a builder for a  
JobInfo object given the job identity and configuration. | 
JobInfo.Builder | 
toBuilder()
Returns a builder for the job object. 
 | 
String | 
toString()  | 
public String getEtag()
public String getGeneratedId()
public JobId getJobId()
public String getSelfLink()
public JobStatus getStatus()
public <S extends JobStatistics> S getStatistics()
public String getUserEmail()
public <C extends JobConfiguration> C getConfiguration()
public JobInfo.Builder toBuilder()
public static JobInfo.Builder newBuilder(JobConfiguration configuration)
JobInfo object given the job configuration. Use CopyJobConfiguration for a job that copies an existing table. Use ExtractJobConfiguration for a job that exports a table to Google Cloud Storage. Use LoadJobConfiguration for a job that loads data from Google Cloud Storage into a table. Use
 QueryJobConfiguration for a job that runs a query.public static JobInfo of(JobConfiguration configuration)
JobInfo object given the job configuration. Use CopyJobConfiguration
 for a job that copies an existing table. Use ExtractJobConfiguration for a job that
 exports a table to Google Cloud Storage. Use LoadJobConfiguration for a job that loads
 data from Google Cloud Storage into a table. Use QueryJobConfiguration for a job that
 runs a query.public static JobInfo of(JobId jobId, JobConfiguration configuration)
JobInfo object given the job identity and configuration. Use
 CopyJobConfiguration for a job that copies an existing table. Use ExtractJobConfiguration for a job that exports a table to Google Cloud Storage. Use LoadJobConfiguration for a job that loads data from Google Cloud Storage into a table. Use
 QueryJobConfiguration for a job that runs a query.Copyright © 2019 Google LLC. All rights reserved.