Class JobInfo.Builder (2.36.0)

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
TypeDescription
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
NameDescription
configurationJobConfiguration
Returns
TypeDescription
JobInfo.Builder

setJobId(JobId jobId)

public abstract JobInfo.Builder setJobId(JobId jobId)

Sets the job identity.

Parameter
NameDescription
jobIdJobId
Returns
TypeDescription
JobInfo.Builder