Class EntitySignalsMapping (0.14.0)

public final class EntitySignalsMapping extends GeneratedMessageV3 implements EntitySignalsMappingOrBuilder

The EntitySignalsMapping resource.

Protobuf type google.ads.admanager.v1.EntitySignalsMapping

Static Fields

AUDIENCE_SEGMENT_ID_FIELD_NUMBER

public static final int AUDIENCE_SEGMENT_ID_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_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_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

getAudienceSegmentId()

public long getAudienceSegmentId()

ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3;

Returns
Type Description
long

The audienceSegmentId.

getContentBundleId()

public long getContentBundleId()

ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4;

Returns
Type Description
long

The contentBundleId.

getCustomTargetingValueId()

public long getCustomTargetingValueId()

ID of a CustomValue that this mapping belongs to.

int64 custom_targeting_value_id = 5;

Returns
Type Description
long

The customTargetingValueId.

getDefaultInstanceForType()

public EntitySignalsMapping getDefaultInstanceForType()
Returns
Type Description
EntitySignalsMapping

getEntityCase()

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

getEntitySignalsMappingId()

public long getEntitySignalsMappingId()

Output only. EntitySignalsMapping ID.

int64 entity_signals_mapping_id = 2 [(.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

getTaxonomyCategoryIds(int index)

public long getTaxonomyCategoryIds(int index)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The taxonomyCategoryIds at the given index.

getTaxonomyCategoryIdsCount()

public int getTaxonomyCategoryIdsCount()

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

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

Returns
Type Description
int

The count of taxonomyCategoryIds.

getTaxonomyCategoryIdsList()

public List<Long> getTaxonomyCategoryIdsList()

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

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

Returns
Type Description
List<Long>

A list containing the taxonomyCategoryIds.

hasAudienceSegmentId()

public boolean hasAudienceSegmentId()

ID of an AudienceSegment that this mapping belongs to.

int64 audience_segment_id = 3;

Returns
Type Description
boolean

Whether the audienceSegmentId field is set.

hasContentBundleId()

public boolean hasContentBundleId()

ID of a ContentBundle that this mapping belongs to.

int64 content_bundle_id = 4;

Returns
Type Description
boolean

Whether the contentBundleId field is set.

hasCustomTargetingValueId()

public boolean hasCustomTargetingValueId()

ID of a CustomValue that this mapping belongs to.

int64 custom_targeting_value_id = 5;

Returns
Type Description
boolean

Whether the customTargetingValueId field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
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