Package com.google.cloud.bigquery
Class JobId
java.lang.Object
com.google.cloud.bigquery.JobId
- All Implemented Interfaces:
Serializable
Google BigQuery Job identity.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
getJob()
Returns the job's id.abstract String
Returns the job's location.abstract String
Returns job's project id.static JobId.Builder
static JobId
of()
Creates a job identity with autogenerated id and no project specified.static JobId
Creates a job identity given only its user-defined id.static JobId
Creates a job identity given project's and job's user-defined id.abstract JobId.Builder
-
Method Details
-
getProject
Returns job's project id.When sending requests with null project, the client will attempt to infer the project name from the environment.
-
getJob
Returns the job's id.The server returns null job id for dry-run queries.
-
getLocation
Returns the job's location.When sending requests, the location must be specified for jobs whose location not "US" or "EU".
-
toBuilder
-
newBuilder
-
of
Creates a job identity given project's and job's user-defined id. -
of
Creates a job identity given only its user-defined id. -
of
Creates a job identity with autogenerated id and no project specified.
-