# Interface DestinationConfigOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.DestinationConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.datastream.v1.DestinationConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.datastream.v1.DestinationConfigOrBuilder)

    public interface DestinationConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBigqueryDestinationConfig()

    public abstract BigQueryDestinationConfig getBigqueryDestinationConfig()

BigQuery destination configuration.

`
.google.events.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.BigQueryDestinationConfig` | The bigqueryDestinationConfig. |

### getBigqueryDestinationConfigOrBuilder()

    public abstract BigQueryDestinationConfigOrBuilder getBigqueryDestinationConfigOrBuilder()

BigQuery destination configuration.

`
.google.events.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.BigQueryDestinationConfigOrBuilder` |   |

### getDestinationConnectionProfile()

    public abstract String getDestinationConnectionProfile()

Required. Destination connection profile resource.
Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`

`string destination_connection_profile = 1;`

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

### getDestinationConnectionProfileBytes()

    public abstract ByteString getDestinationConnectionProfileBytes()

Required. Destination connection profile resource.
Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`

`string destination_connection_profile = 1;`

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

### getDestinationStreamConfigCase()

    public abstract DestinationConfig.DestinationStreamConfigCase getDestinationStreamConfigCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.DestinationConfig.DestinationStreamConfigCase` |   |

### getGcsDestinationConfig()

    public abstract GcsDestinationConfig getGcsDestinationConfig()

A configuration for how data should be loaded to Cloud Storage.

`.google.events.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.GcsDestinationConfig` | The gcsDestinationConfig. |

### getGcsDestinationConfigOrBuilder()

    public abstract GcsDestinationConfigOrBuilder getGcsDestinationConfigOrBuilder()

A configuration for how data should be loaded to Cloud Storage.

`.google.events.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.datastream.v1.GcsDestinationConfigOrBuilder` |   |

### hasBigqueryDestinationConfig()

    public abstract boolean hasBigqueryDestinationConfig()

BigQuery destination configuration.

`
.google.events.cloud.datastream.v1.BigQueryDestinationConfig bigquery_destination_config = 101;
`

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

### hasGcsDestinationConfig()

    public abstract boolean hasGcsDestinationConfig()

A configuration for how data should be loaded to Cloud Storage.

`.google.events.cloud.datastream.v1.GcsDestinationConfig gcs_destination_config = 100;
`

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