# Interface BigQueryDestinationOrBuilder (0.16.0)

0.16.0 (latest) 0.14.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface BigQueryDestinationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCreateDisposition()

    public abstract BigQueryDestination.CreateDisposition getCreateDisposition()

Optional. Specifies the action that occurs if the destination table does
not exist

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition create_disposition = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition` | The createDisposition. |

### getCreateDispositionValue()

    public abstract int getCreateDispositionValue()

Optional. Specifies the action that occurs if the destination table does
not exist

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition create_disposition = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for createDisposition. |

### getDataset()

    public abstract String getDataset()

Required. The BigQuery dataset in format
"projects/{projectId}/datasets/{datasetId}", to which the snapshot result
should be exported. If this dataset does not exist, the export call returns
an INVALID_ARGUMENT error.

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

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

### getDatasetBytes()

    public abstract ByteString getDatasetBytes()

Required. The BigQuery dataset in format
"projects/{projectId}/datasets/{datasetId}", to which the snapshot result
should be exported. If this dataset does not exist, the export call returns
an INVALID_ARGUMENT error.

`string dataset = 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 dataset. |

### getGcsLocation()

    public abstract String getGcsLocation()

Optional. Specifies the Cloud Storage location.
Users can choose to provide a location for Cloud Storage bucket to store
the exported data. (as it is possible that some locations are restricted
via org policy for that project) Temporary Cloud Storage bucket creation is
an interim step for BigQuery upload. If no value is provided, the default
location used will be 'US'.

`string gcs_location = 6 [(.google.api.field_behavior) = OPTIONAL];`

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

### getGcsLocationBytes()

    public abstract ByteString getGcsLocationBytes()

Optional. Specifies the Cloud Storage location.
Users can choose to provide a location for Cloud Storage bucket to store
the exported data. (as it is possible that some locations are restricted
via org policy for that project) Temporary Cloud Storage bucket creation is
an interim step for BigQuery upload. If no value is provided, the default
location used will be 'US'.

`string gcs_location = 6 [(.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 gcsLocation. |

### getPartitionKey()

    public abstract BigQueryDestination.PartitionKey getPartitionKey()

Optional. The partition key for BigQuery partitioned table.

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey partition_key = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey` | The partitionKey. |

### getPartitionKeyValue()

    public abstract int getPartitionKeyValue()

Optional. The partition key for BigQuery partitioned table.

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey partition_key = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for partitionKey. |

### getTable()

    public abstract String getTable()

Required. The BigQuery table to which the snapshot result should be
written.

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

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

### getTableBytes()

    public abstract ByteString getTableBytes()

Required. The BigQuery table to which the snapshot result should be
written.

`string table = 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 table. |

### getWriteDisposition()

    public abstract BigQueryDestination.WriteDisposition getWriteDisposition()

Optional. Specifies the action that occurs if the destination table or
partition already exists.

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/com.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition` | The writeDisposition. |

### getWriteDispositionValue()

    public abstract int getWriteDispositionValue()

Optional. Specifies the action that occurs if the destination table or
partition already exists.

`
.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for writeDisposition. |