Class EntitySignalsMapping.Builder (0.62.0)

public static final class EntitySignalsMapping.Builder extends GeneratedMessage.Builder<EntitySignalsMapping.Builder> implements EntitySignalsMappingOrBuilder

The EntitySignalsMapping resource.

Protobuf type google.ads.admanager.v1.EntitySignalsMapping

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTaxonomyCategories(Iterable<String> values)

public EntitySignalsMapping.Builder addAllTaxonomyCategories(Iterable<String> values)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The taxonomyCategories to add.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

addAllTaxonomyCategoryIds(Iterable<? extends Long> values) (deprecated)

public EntitySignalsMapping.Builder addAllTaxonomyCategoryIds(Iterable<? extends Long> values)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends java.lang.Long>

The taxonomyCategoryIds to add.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

addTaxonomyCategories(String value)

public EntitySignalsMapping.Builder addTaxonomyCategories(String value)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The taxonomyCategories to add.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

addTaxonomyCategoriesBytes(ByteString value)

public EntitySignalsMapping.Builder addTaxonomyCategoriesBytes(ByteString value)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the taxonomyCategories to add.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

addTaxonomyCategoryIds(long value) (deprecated)

public EntitySignalsMapping.Builder addTaxonomyCategoryIds(long value)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The taxonomyCategoryIds to add.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

build()

public EntitySignalsMapping build()
Returns
Type Description
EntitySignalsMapping

buildPartial()

public EntitySignalsMapping buildPartial()
Returns
Type Description
EntitySignalsMapping

clear()

public EntitySignalsMapping.Builder clear()
Returns
Type Description
EntitySignalsMapping.Builder
Overrides

clearAudienceSegment()

public EntitySignalsMapping.Builder clearAudienceSegment()

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearAudienceSegmentId() (deprecated)

public EntitySignalsMapping.Builder clearAudienceSegmentId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.audience_segment_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=41

Deprecated: ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3 [deprecated = true];

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearContentBundle()

public EntitySignalsMapping.Builder clearContentBundle()

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearContentBundleId() (deprecated)

public EntitySignalsMapping.Builder clearContentBundleId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.content_bundle_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=44

Deprecated: ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4 [deprecated = true];

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearCustomTargetingValue()

public EntitySignalsMapping.Builder clearCustomTargetingValue()

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearCustomTargetingValueId() (deprecated)

public EntitySignalsMapping.Builder clearCustomTargetingValueId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.custom_targeting_value_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=47

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

int64 custom_targeting_value_id = 5 [deprecated = true];

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearEntity()

public EntitySignalsMapping.Builder clearEntity()
Returns
Type Description
EntitySignalsMapping.Builder

clearEntityName()

public EntitySignalsMapping.Builder clearEntityName()
Returns
Type Description
EntitySignalsMapping.Builder

clearEntitySignalsMappingId() (deprecated)

public EntitySignalsMapping.Builder clearEntitySignalsMappingId()

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

Output only. Deprecated: EntitySignalsMapping ID.

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

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearName()

public EntitySignalsMapping.Builder clearName()

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
EntitySignalsMapping.Builder

This builder for chaining.

clearTaxonomyCategories()

public EntitySignalsMapping.Builder clearTaxonomyCategories()

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

clearTaxonomyCategoryIds() (deprecated)

public EntitySignalsMapping.Builder clearTaxonomyCategoryIds()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

getAudienceSegment()

public String getAudienceSegment()

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The audienceSegment.

getAudienceSegmentBytes()

public ByteString getAudienceSegmentBytes()

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for audienceSegment.

getAudienceSegmentId() (deprecated)

public long getAudienceSegmentId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.audience_segment_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=41

Deprecated: ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3 [deprecated = true];

Returns
Type Description
long

The audienceSegmentId.

getContentBundle()

public String getContentBundle()

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The contentBundle.

getContentBundleBytes()

public ByteString getContentBundleBytes()

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for contentBundle.

getContentBundleId() (deprecated)

public long getContentBundleId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.content_bundle_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=44

Deprecated: ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4 [deprecated = true];

Returns
Type Description
long

The contentBundleId.

getCustomTargetingValue()

public String getCustomTargetingValue()

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The customTargetingValue.

getCustomTargetingValueBytes()

public ByteString getCustomTargetingValueBytes()

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for customTargetingValue.

getCustomTargetingValueId() (deprecated)

public long getCustomTargetingValueId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.custom_targeting_value_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=47

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

int64 custom_targeting_value_id = 5 [deprecated = true];

Returns
Type Description
long

The customTargetingValueId.

getDefaultInstanceForType()

public EntitySignalsMapping getDefaultInstanceForType()
Returns
Type Description
EntitySignalsMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntityCase()

public EntitySignalsMapping.EntityCase getEntityCase()
Returns
Type Description
EntitySignalsMapping.EntityCase

getEntityNameCase()

public EntitySignalsMapping.EntityNameCase getEntityNameCase()
Returns
Type Description
EntitySignalsMapping.EntityNameCase

getEntitySignalsMappingId() (deprecated)

public 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=83

Output only. Deprecated: EntitySignalsMapping ID.

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

Returns
Type Description
long

The entitySignalsMappingId.

getName()

public 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
String

The name.

getNameBytes()

public 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
ByteString

The bytes for name.

getTaxonomyCategories(int index)

public String getTaxonomyCategories(int index)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The taxonomyCategories at the given index.

getTaxonomyCategoriesBytes(int index)

public ByteString getTaxonomyCategoriesBytes(int index)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the taxonomyCategories at the given index.

getTaxonomyCategoriesCount()

public int getTaxonomyCategoriesCount()

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of taxonomyCategories.

getTaxonomyCategoriesList()

public ProtocolStringList getTaxonomyCategoriesList()

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the taxonomyCategories.

getTaxonomyCategoryIds(int index) (deprecated)

public long getTaxonomyCategoryIds(int index)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The taxonomyCategoryIds at the given index.

getTaxonomyCategoryIdsCount() (deprecated)

public int getTaxonomyCategoryIdsCount()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of taxonomyCategoryIds.

getTaxonomyCategoryIdsList() (deprecated)

public List<Long> getTaxonomyCategoryIdsList()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Long>

A list containing the taxonomyCategoryIds.

hasAudienceSegment()

public boolean hasAudienceSegment()

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the audienceSegment field is set.

hasAudienceSegmentId() (deprecated)

public boolean hasAudienceSegmentId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.audience_segment_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=41

Deprecated: ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the audienceSegmentId field is set.

hasContentBundle()

public boolean hasContentBundle()

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the contentBundle field is set.

hasContentBundleId() (deprecated)

public boolean hasContentBundleId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.content_bundle_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=44

Deprecated: ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4 [deprecated = true];

Returns
Type Description
boolean

Whether the contentBundleId field is set.

hasCustomTargetingValue()

public boolean hasCustomTargetingValue()

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the customTargetingValue field is set.

hasCustomTargetingValueId() (deprecated)

public boolean hasCustomTargetingValueId()

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.custom_targeting_value_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=47

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

int64 custom_targeting_value_id = 5 [deprecated = true];

Returns
Type Description
boolean

Whether the customTargetingValueId field is set.

hasEntitySignalsMappingId() (deprecated)

public 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=83

Output only. Deprecated: EntitySignalsMapping ID.

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

Returns
Type Description
boolean

Whether the entitySignalsMappingId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntitySignalsMapping other)

public EntitySignalsMapping.Builder mergeFrom(EntitySignalsMapping other)
Parameter
Name Description
other EntitySignalsMapping
Returns
Type Description
EntitySignalsMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EntitySignalsMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EntitySignalsMapping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntitySignalsMapping.Builder
Overrides

setAudienceSegment(String value)

public EntitySignalsMapping.Builder setAudienceSegment(String value)

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The audienceSegment to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setAudienceSegmentBytes(ByteString value)

public EntitySignalsMapping.Builder setAudienceSegmentBytes(ByteString value)

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

string audience_segment = 10 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for audienceSegment to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setAudienceSegmentId(long value) (deprecated)

public EntitySignalsMapping.Builder setAudienceSegmentId(long value)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.audience_segment_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=41

Deprecated: ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3 [deprecated = true];

Parameter
Name Description
value long

The audienceSegmentId to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setContentBundle(String value)

public EntitySignalsMapping.Builder setContentBundle(String value)

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The contentBundle to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setContentBundleBytes(ByteString value)

public EntitySignalsMapping.Builder setContentBundleBytes(ByteString value)

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

string content_bundle = 11 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for contentBundle to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setContentBundleId(long value) (deprecated)

public EntitySignalsMapping.Builder setContentBundleId(long value)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.content_bundle_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=44

Deprecated: ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4 [deprecated = true];

Parameter
Name Description
value long

The contentBundleId to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setCustomTargetingValue(String value)

public EntitySignalsMapping.Builder setCustomTargetingValue(String value)

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The customTargetingValue to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setCustomTargetingValueBytes(ByteString value)

public EntitySignalsMapping.Builder setCustomTargetingValueBytes(ByteString value)

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

string custom_targeting_value = 12 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for customTargetingValue to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setCustomTargetingValueId(long value) (deprecated)

public EntitySignalsMapping.Builder setCustomTargetingValueId(long value)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.custom_targeting_value_id is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=47

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

int64 custom_targeting_value_id = 5 [deprecated = true];

Parameter
Name Description
value long

The customTargetingValueId to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setEntitySignalsMappingId(long value) (deprecated)

public EntitySignalsMapping.Builder setEntitySignalsMappingId(long value)

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

Output only. Deprecated: EntitySignalsMapping ID.

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

Parameter
Name Description
value long

The entitySignalsMappingId to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setName(String value)

public EntitySignalsMapping.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EntitySignalsMapping.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setTaxonomyCategories(int index, String value)

public EntitySignalsMapping.Builder setTaxonomyCategories(int index, String value)

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

repeated string taxonomy_categories = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The taxonomyCategories to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.

setTaxonomyCategoryIds(int index, long value) (deprecated)

public EntitySignalsMapping.Builder setTaxonomyCategoryIds(int index, long value)

Deprecated. google.ads.admanager.v1.EntitySignalsMapping.taxonomy_category_ids is deprecated. See google/ads/admanager/v1/entity_signals_mapping_messages.proto;l=88

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

repeated int64 taxonomy_category_ids = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value long

The taxonomyCategoryIds to set.

Returns
Type Description
EntitySignalsMapping.Builder

This builder for chaining.