Package com.google.cloud.bigquery
Class JobId
- java.lang.Object
-
- com.google.cloud.bigquery.JobId
-
- All Implemented Interfaces:
Serializable
public abstract class JobId extends Object implements Serializable
Google BigQuery Job identity.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobId.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getJob()
Returns the job's id.abstract String
getLocation()
Returns the job's location.abstract String
getProject()
Returns job's project id.static JobId.Builder
newBuilder()
static JobId
of()
Creates a job identity with autogenerated id and no project specified.static JobId
of(String job)
Creates a job identity given only its user-defined id.static JobId
of(String project, String job)
Creates a job identity given project's and job's user-defined id.abstract JobId.Builder
toBuilder()
-
-
-
Method Detail
-
getProject
@Nullable public abstract String 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
@Nullable public abstract String getJob()
Returns the job's id.The server returns null job id for dry-run queries.
-
getLocation
@Nullable public abstract String getLocation()
Returns the job's location.When sending requests, the location must be specified for jobs whose location not "US" or "EU".
-
toBuilder
public abstract JobId.Builder toBuilder()
-
newBuilder
public static JobId.Builder newBuilder()
-
of
public static JobId of(String project, String job)
Creates a job identity given project's and job's user-defined id.
-
of
public static JobId of()
Creates a job identity with autogenerated id and no project specified.
-
-