# Interface DestinationOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface DestinationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getLinkedAccount()

    public abstract ProductAccount getLinkedAccount()

Optional. An account that the calling user's
`login_account` has
access to, through an established account link. For example, a data
partner's `login_account` might have access to a client's `linked_account`.
The partner might use this field to send data from the `linked_account` to
another
`operating_account`.

`
.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccount` | The linkedAccount. |

### getLinkedAccountOrBuilder()

    public abstract ProductAccountOrBuilder getLinkedAccountOrBuilder()

Optional. An account that the calling user's
`login_account` has
access to, through an established account link. For example, a data
partner's `login_account` might have access to a client's `linked_account`.
The partner might use this field to send data from the `linked_account` to
another
`operating_account`.

`
.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccountOrBuilder` |   |

### getLoginAccount()

    public abstract ProductAccount getLoginAccount()

Optional. The account used to make this API call. To add or remove data
from the
`operating_account`,
this `login_account` must have write access to the `operating_account`. For
example, a manager account of the `operating_account`, or an account with
an established link to the `operating_account`.

`
.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccount` | The loginAccount. |

### getLoginAccountOrBuilder()

    public abstract ProductAccountOrBuilder getLoginAccountOrBuilder()

Optional. The account used to make this API call. To add or remove data
from the
`operating_account`,
this `login_account` must have write access to the `operating_account`. For
example, a manager account of the `operating_account`, or an account with
an established link to the `operating_account`.

`
.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccountOrBuilder` |   |

### getOperatingAccount()

    public abstract ProductAccount getOperatingAccount()

Required. The account to send the data to or remove the data from.

`
.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccount` | The operatingAccount. |

### getOperatingAccountOrBuilder()

    public abstract ProductAccountOrBuilder getOperatingAccountOrBuilder()

Required. The account to send the data to or remove the data from.

`
.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ProductAccountOrBuilder` |   |

### getProductDestinationId()

    public abstract String getProductDestinationId()

Required. The object within the product account to ingest into. For
example, a Google Ads audience ID, a Display \& Video 360 audience ID or a
Google Ads conversion action ID.

`string product_destination_id = 5 [(.google.api.field_behavior) = REQUIRED];`

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

### getProductDestinationIdBytes()

    public abstract ByteString getProductDestinationIdBytes()

Required. The object within the product account to ingest into. For
example, a Google Ads audience ID, a Display \& Video 360 audience ID or a
Google Ads conversion action ID.

`string product_destination_id = 5 [(.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 productDestinationId. |

### getReference()

    public abstract String getReference()

Optional. ID for this `Destination` resource, unique within the request.
Use to reference this `Destination` in the
IngestEventsRequest and
IngestAudienceMembersRequest.

`string reference = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getReferenceBytes()

    public abstract ByteString getReferenceBytes()

Optional. ID for this `Destination` resource, unique within the request.
Use to reference this `Destination` in the
IngestEventsRequest and
IngestAudienceMembersRequest.

`string reference = 1 [(.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 reference. |

### hasLinkedAccount()

    public abstract boolean hasLinkedAccount()

Optional. An account that the calling user's
`login_account` has
access to, through an established account link. For example, a data
partner's `login_account` might have access to a client's `linked_account`.
The partner might use this field to send data from the `linked_account` to
another
`operating_account`.

`
.google.ads.datamanager.v1.ProductAccount linked_account = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasLoginAccount()

    public abstract boolean hasLoginAccount()

Optional. The account used to make this API call. To add or remove data
from the
`operating_account`,
this `login_account` must have write access to the `operating_account`. For
example, a manager account of the `operating_account`, or an account with
an established link to the `operating_account`.

`
.google.ads.datamanager.v1.ProductAccount login_account = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasOperatingAccount()

    public abstract boolean hasOperatingAccount()

Required. The account to send the data to or remove the data from.

`
.google.ads.datamanager.v1.ProductAccount operating_account = 4 [(.google.api.field_behavior) = REQUIRED];
`

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