Class JobInfo.Builder (2.39.1)

public abstract static class JobInfo.Builder

A builder for JobInfo objects.

Inheritance

java.lang.Object > JobInfo.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract JobInfo build()

Creates a JobInfo object.

Returns
Type Description
JobInfo

setConfiguration(JobConfiguration configuration)

public abstract JobInfo.Builder setConfiguration(JobConfiguration configuration)

Sets a configuration for the JobInfo object. 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.

Parameter
Name Description
configuration JobConfiguration
Returns
Type Description
JobInfo.Builder

setJobId(JobId jobId)

public abstract JobInfo.Builder setJobId(JobId jobId)

Sets the job identity.

Parameter
Name Description
jobId JobId
Returns
Type Description
JobInfo.Builder