# Interface BigQueryJobOrBuilder (0.21.0)

0.21.0 (latest) 0.19.0 0.16.0 0.15.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface BigQueryJobOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDestinationTable()

    public abstract BigQueryTableReference getDestinationTable()

Optional. A reference to the destination table of the job's query results.

See
[JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).

`
.google.cloud.geminidataanalytics.v1.BigQueryTableReference destination_table = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.BigQueryTableReference` | The destinationTable. |

### getDestinationTableOrBuilder()

    public abstract BigQueryTableReferenceOrBuilder getDestinationTableOrBuilder()

Optional. A reference to the destination table of the job's query results.

See
[JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).

`
.google.cloud.geminidataanalytics.v1.BigQueryTableReference destination_table = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceOrBuilder` |   |

### getJobId()

    public abstract String getJobId()

Required. The ID of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string job_id = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The jobId. |

### getJobIdBytes()

    public abstract ByteString getJobIdBytes()

Required. The ID of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string job_id = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for jobId. |

### getLocation()

    public abstract String getLocation()

Optional. The location of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string location = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The location. |

### getLocationBytes()

    public abstract ByteString getLocationBytes()

Optional. The location of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string location = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for location. |

### getProjectId()

    public abstract String getProjectId()

Required. The project that the job belongs to.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string project_id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The projectId. |

### getProjectIdBytes()

    public abstract ByteString getProjectIdBytes()

Required. The project that the job belongs to.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

`string project_id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for projectId. |

### getSchema()

    public abstract Schema getSchema()

Optional. The schema of the job's query results.

See
[JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).

`
.google.cloud.geminidataanalytics.v1.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.Schema` | The schema. |

### getSchemaOrBuilder()

    public abstract SchemaOrBuilder getSchemaOrBuilder()

Optional. The schema of the job's query results.

See
[JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).

`
.google.cloud.geminidataanalytics.v1.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/com.google.cloud.geminidataanalytics.v1.SchemaOrBuilder` |   |

### hasDestinationTable()

    public abstract boolean hasDestinationTable()

Optional. A reference to the destination table of the job's query results.

See
[JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).

`
.google.cloud.geminidataanalytics.v1.BigQueryTableReference destination_table = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the destinationTable field is set. |

### hasSchema()

    public abstract boolean hasSchema()

Optional. The schema of the job's query results.

See
[JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).

`
.google.cloud.geminidataanalytics.v1.Schema schema = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the schema field is set. |