Class PublisherProvidedSignalsTargeting (0.62.0)

public final class PublisherProvidedSignalsTargeting extends GeneratedMessage implements PublisherProvidedSignalsTargetingOrBuilder

Publisher Provided Signals Targeting

Protobuf type google.ads.admanager.v1.PublisherProvidedSignalsTargeting

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PublisherProvidedSignalsTargeting

Static Fields

EXCLUDED_TAXONOMY_CATEGORIES_FIELD_NUMBER

public static final int EXCLUDED_TAXONOMY_CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_TAXONOMY_CATEGORIES_FIELD_NUMBER

public static final int TARGETED_TAXONOMY_CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublisherProvidedSignalsTargeting getDefaultInstance()
Returns
Type Description
PublisherProvidedSignalsTargeting

getDescriptor()

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

newBuilder()

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

newBuilder(PublisherProvidedSignalsTargeting prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublisherProvidedSignalsTargeting getDefaultInstanceForType()
Returns
Type Description
PublisherProvidedSignalsTargeting

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 int

The 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 int

The 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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 int

The 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 int

The 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.

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 PublisherProvidedSignalsTargeting.Builder newBuilderForType()
Returns
Type Description
PublisherProvidedSignalsTargeting.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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