Class EntitySignalsMapping (0.62.0)

public final class EntitySignalsMapping extends GeneratedMessage implements EntitySignalsMappingOrBuilder

The EntitySignalsMapping resource.

Protobuf type google.ads.admanager.v1.EntitySignalsMapping

Static Fields

AUDIENCE_SEGMENT_FIELD_NUMBER

public static final int AUDIENCE_SEGMENT_FIELD_NUMBER
Field Value
Type Description
int

AUDIENCE_SEGMENT_ID_FIELD_NUMBER

public static final int AUDIENCE_SEGMENT_ID_FIELD_NUMBER
Field Value
Type Description
int

CONTENT_BUNDLE_FIELD_NUMBER

public static final int CONTENT_BUNDLE_FIELD_NUMBER
Field Value
Type Description
int

CONTENT_BUNDLE_ID_FIELD_NUMBER

public static final int CONTENT_BUNDLE_ID_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_TARGETING_VALUE_FIELD_NUMBER

public static final int CUSTOM_TARGETING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_TARGETING_VALUE_ID_FIELD_NUMBER

public static final int CUSTOM_TARGETING_VALUE_ID_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_SIGNALS_MAPPING_ID_FIELD_NUMBER

public static final int ENTITY_SIGNALS_MAPPING_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TAXONOMY_CATEGORIES_FIELD_NUMBER

public static final int TAXONOMY_CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

TAXONOMY_CATEGORY_IDS_FIELD_NUMBER

public static final int TAXONOMY_CATEGORY_IDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EntitySignalsMapping getDefaultInstance()
Returns
Type Description
EntitySignalsMapping

getDescriptor()

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

newBuilder()

public static EntitySignalsMapping.Builder newBuilder()
Returns
Type Description
EntitySignalsMapping.Builder

newBuilder(EntitySignalsMapping prototype)

public static EntitySignalsMapping.Builder newBuilder(EntitySignalsMapping prototype)
Parameter
Name Description
prototype EntitySignalsMapping
Returns
Type Description
EntitySignalsMapping.Builder

parseDelimitedFrom(InputStream input)

public static EntitySignalsMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EntitySignalsMapping parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntitySignalsMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntitySignalsMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EntitySignalsMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EntitySignalsMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntitySignalsMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntitySignalsMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EntitySignalsMapping> parser()
Returns
Type Description
Parser<EntitySignalsMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<EntitySignalsMapping> getParserForType()
Returns
Type Description
Parser<EntitySignalsMapping>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EntitySignalsMapping.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntitySignalsMapping.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException