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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetJob()Returns the job's id.abstract StringReturns the job's location.protected io.opentelemetry.api.common.Attributesabstract StringReturns job's project id.static JobId.Builderstatic JobIdof()Creates a job identity with autogenerated id and no project specified.static JobIdCreates a job identity given only its user-defined id.static JobIdCreates 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. -
getOtelAttributes
protected io.opentelemetry.api.common.Attributes getOtelAttributes()
-