Class Job.Builder (2.35.0)

public static final class Job.Builder extends JobInfo.Builder

A builder for Job objects.

Inheritance

java.lang.Object > JobInfo.Builder > Job.Builder

Methods

build()

public Job build()

Creates a JobInfo object.

Returns
TypeDescription
Job
Overrides

setConfiguration(JobConfiguration configuration)

public Job.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
NameDescription
configurationJobConfiguration
Returns
TypeDescription
Job.Builder
Overrides

setJobId(JobId jobId)

public Job.Builder setJobId(JobId jobId)

Sets the job identity.

Parameter
NameDescription
jobIdJobId
Returns
TypeDescription
Job.Builder
Overrides