public static final class EntitySignalsMapping.Builder extends GeneratedMessageV3.Builder<EntitySignalsMapping.Builder> implements EntitySignalsMappingOrBuilder
The EntitySignalsMapping
resource.
Protobuf type google.ads.admanager.v1.EntitySignalsMapping
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EntitySignalsMapping.BuilderImplements
EntitySignalsMappingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTaxonomyCategoryIds(Iterable<? extends Long> values)
public EntitySignalsMapping.Builder addAllTaxonomyCategoryIds(Iterable<? extends Long> values)
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 |
values |
Iterable<? extends java.lang.Long> The taxonomyCategoryIds to add. |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EntitySignalsMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
addTaxonomyCategoryIds(long value)
public EntitySignalsMapping.Builder addTaxonomyCategoryIds(long value)
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 |
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 |
clearAudienceSegmentId()
public EntitySignalsMapping.Builder clearAudienceSegmentId()
ID of an AudienceSegment that this mapping belongs to.
int64 audience_segment_id = 3;
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
clearContentBundleId()
public EntitySignalsMapping.Builder clearContentBundleId()
ID of a ContentBundle that this mapping belongs to.
int64 content_bundle_id = 4;
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
clearCustomTargetingValueId()
public EntitySignalsMapping.Builder clearCustomTargetingValueId()
ID of a CustomValue that this mapping belongs to.
int64 custom_targeting_value_id = 5;
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
clearEntity()
public EntitySignalsMapping.Builder clearEntity()
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
clearEntitySignalsMappingId()
public EntitySignalsMapping.Builder clearEntitySignalsMappingId()
Output only. EntitySignalsMapping
ID.
int64 entity_signals_mapping_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EntitySignalsMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EntitySignalsMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
clearTaxonomyCategoryIds()
public EntitySignalsMapping.Builder clearTaxonomyCategoryIds()
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 |
EntitySignalsMapping.Builder |
This builder for chaining. |
clone()
public EntitySignalsMapping.Builder clone()
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EntitySignalsMapping.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EntitySignalsMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
setAudienceSegmentId(long value)
public EntitySignalsMapping.Builder setAudienceSegmentId(long value)
ID of an AudienceSegment that this mapping belongs to.
int64 audience_segment_id = 3;
Parameter | |
---|---|
Name | Description |
value |
long The audienceSegmentId to set. |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
setContentBundleId(long value)
public EntitySignalsMapping.Builder setContentBundleId(long value)
ID of a ContentBundle that this mapping belongs to.
int64 content_bundle_id = 4;
Parameter | |
---|---|
Name | Description |
value |
long The contentBundleId to set. |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
setCustomTargetingValueId(long value)
public EntitySignalsMapping.Builder setCustomTargetingValueId(long value)
ID of a CustomValue that this mapping belongs to.
int64 custom_targeting_value_id = 5;
Parameter | |
---|---|
Name | Description |
value |
long The customTargetingValueId to set. |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
setEntitySignalsMappingId(long value)
public EntitySignalsMapping.Builder setEntitySignalsMappingId(long value)
Output only. EntitySignalsMapping
ID.
int64 entity_signals_mapping_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The entitySignalsMappingId to set. |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EntitySignalsMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EntitySignalsMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |
setTaxonomyCategoryIds(int index, long value)
public EntitySignalsMapping.Builder setTaxonomyCategoryIds(int index, long value)
Required. The IDs of the categories that are associated with the referencing entity.
repeated int64 taxonomy_category_ids = 6 [(.google.api.field_behavior) = REQUIRED];
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EntitySignalsMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EntitySignalsMapping.Builder |