public static final class PublisherProvidedSignalsTargeting.Builder extends GeneratedMessage.Builder<PublisherProvidedSignalsTargeting.Builder> implements PublisherProvidedSignalsTargetingOrBuilderPublisher Provided Signals Targeting
Protobuf type google.ads.admanager.v1.PublisherProvidedSignalsTargeting
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PublisherProvidedSignalsTargeting.BuilderImplements
PublisherProvidedSignalsTargetingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedTaxonomyCategories(Iterable<String> values)
public PublisherProvidedSignalsTargeting.Builder addAllExcludedTaxonomyCategories(Iterable<String> values)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
addAllTargetedTaxonomyCategories(Iterable<String> values)
public PublisherProvidedSignalsTargeting.Builder addAllTargetedTaxonomyCategories(Iterable<String> values)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The targetedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
addExcludedTaxonomyCategories(String value)
public PublisherProvidedSignalsTargeting.Builder addExcludedTaxonomyCategories(String value)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
addExcludedTaxonomyCategoriesBytes(ByteString value)
public PublisherProvidedSignalsTargeting.Builder addExcludedTaxonomyCategoriesBytes(ByteString value)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
addTargetedTaxonomyCategories(String value)
public PublisherProvidedSignalsTargeting.Builder addTargetedTaxonomyCategories(String value)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
addTargetedTaxonomyCategoriesBytes(ByteString value)
public PublisherProvidedSignalsTargeting.Builder addTargetedTaxonomyCategoriesBytes(ByteString value)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the targetedTaxonomyCategories to add. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
build()
public PublisherProvidedSignalsTargeting build()| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting |
|
buildPartial()
public PublisherProvidedSignalsTargeting buildPartial()| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting |
|
clear()
public PublisherProvidedSignalsTargeting.Builder clear()| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
|
clearExcludedTaxonomyCategories()
public PublisherProvidedSignalsTargeting.Builder clearExcludedTaxonomyCategories()Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
clearTargetedTaxonomyCategories()
public PublisherProvidedSignalsTargeting.Builder clearTargetedTaxonomyCategories()Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PublisherProvidedSignalsTargeting getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludedTaxonomyCategories(int index)
public String getExcludedTaxonomyCategories(int index)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludedTaxonomyCategories at the given index. |
getExcludedTaxonomyCategoriesBytes(int index)
public ByteString getExcludedTaxonomyCategoriesBytes(int index)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludedTaxonomyCategories at the given index. |
getExcludedTaxonomyCategoriesCount()
public int getExcludedTaxonomyCategoriesCount()Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedTaxonomyCategories. |
getExcludedTaxonomyCategoriesList()
public ProtocolStringList getExcludedTaxonomyCategoriesList()Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedTaxonomyCategories. |
getTargetedTaxonomyCategories(int index)
public String getTargetedTaxonomyCategories(int index)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The targetedTaxonomyCategories at the given index. |
getTargetedTaxonomyCategoriesBytes(int index)
public ByteString getTargetedTaxonomyCategoriesBytes(int index)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the targetedTaxonomyCategories at the given index. |
getTargetedTaxonomyCategoriesCount()
public int getTargetedTaxonomyCategoriesCount()Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of targetedTaxonomyCategories. |
getTargetedTaxonomyCategoriesList()
public ProtocolStringList getTargetedTaxonomyCategoriesList()Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the targetedTaxonomyCategories. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PublisherProvidedSignalsTargeting other)
public PublisherProvidedSignalsTargeting.Builder mergeFrom(PublisherProvidedSignalsTargeting other)| Parameter | |
|---|---|
| Name | Description |
other |
PublisherProvidedSignalsTargeting |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherProvidedSignalsTargeting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PublisherProvidedSignalsTargeting.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
|
setExcludedTaxonomyCategories(int index, String value)
public PublisherProvidedSignalsTargeting.Builder setExcludedTaxonomyCategories(int index, String value)Optional. The resource names of the taxonomy categories that should be excluded.
repeated string excluded_taxonomy_categories = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedTaxonomyCategories to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |
setTargetedTaxonomyCategories(int index, String value)
public PublisherProvidedSignalsTargeting.Builder setTargetedTaxonomyCategories(int index, String value)Optional. The resource names of the taxonomy categories that should be targeted/included.
repeated string targeted_taxonomy_categories = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetedTaxonomyCategories to set. |
| Returns | |
|---|---|
| Type | Description |
PublisherProvidedSignalsTargeting.Builder |
This builder for chaining. |