# Interface EntitySignalsMappingOrBuilder (0.52.0)

0.52.0 (latest) 0.50.0 0.47.0 0.46.0 0.44.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface EntitySignalsMappingOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAudienceSegmentId()

    public abstract long getAudienceSegmentId()

ID of an AudienceSegment that this mapping belongs to.

`int64 audience_segment_id = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The audienceSegmentId. |

### getContentBundleId()

    public abstract long getContentBundleId()

ID of a ContentBundle that this mapping belongs to.

`int64 content_bundle_id = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The contentBundleId. |

### getCustomTargetingValueId()

    public abstract long getCustomTargetingValueId()

ID of a CustomValue that this mapping belongs to.

`int64 custom_targeting_value_id = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The customTargetingValueId. |

### getEntityCase()

    public abstract EntitySignalsMapping.EntityCase getEntityCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/ad-manager/latest/com.google.ads.admanager.v1.EntitySignalsMapping.EntityCase` |   |

### getEntitySignalsMappingId() (deprecated)

    public abstract long getEntitySignalsMappingId()

**Deprecated.** *google.ads.admanager.v1.EntitySignalsMapping.entity_signals_mapping_id is
deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=56*

Output only. Deprecated: `EntitySignalsMapping` ID.

`
optional int64 entity_signals_mapping_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The entitySignalsMappingId. |

### getName()

    public abstract String getName()

Identifier. The resource name of the `EntitySignalsMapping`.
Format:
`networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name of the `EntitySignalsMapping`.
Format:
`networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

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

### getTaxonomyCategoryIds(int index)

    public abstract long getTaxonomyCategoryIds(int index)

Optional. The IDs of the categories that are associated with the
referencing entity.

`repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The taxonomyCategoryIds at the given index. |

### getTaxonomyCategoryIdsCount()

    public abstract int getTaxonomyCategoryIdsCount()

Optional. The IDs of the categories that are associated with the
referencing entity.

`repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of taxonomyCategoryIds. |

### getTaxonomyCategoryIdsList()

    public abstract List<Long> getTaxonomyCategoryIdsList()

Optional. The IDs of the categories that are associated with the
referencing entity.

`repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html>` | A list containing the taxonomyCategoryIds. |

### hasAudienceSegmentId()

    public abstract boolean hasAudienceSegmentId()

ID of an AudienceSegment that this mapping belongs to.

`int64 audience_segment_id = 3;`

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

### hasContentBundleId()

    public abstract boolean hasContentBundleId()

ID of a ContentBundle that this mapping belongs to.

`int64 content_bundle_id = 4;`

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

### hasCustomTargetingValueId()

    public abstract boolean hasCustomTargetingValueId()

ID of a CustomValue that this mapping belongs to.

`int64 custom_targeting_value_id = 5;`

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

### hasEntitySignalsMappingId() (deprecated)

    public abstract boolean hasEntitySignalsMappingId()

**Deprecated.** *google.ads.admanager.v1.EntitySignalsMapping.entity_signals_mapping_id is
deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=56*

Output only. Deprecated: `EntitySignalsMapping` ID.

`
optional int64 entity_signals_mapping_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
`

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