Interface TaxonomyCategoryOrBuilder (0.11.0)

public interface TaxonomyCategoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAncestorNames(int index)

public abstract String getAncestorNames(int index)

Output only. The list of names of the ancestors of this TaxonomyCategory.

repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ancestorNames at the given index.

getAncestorNamesBytes(int index)

public abstract ByteString getAncestorNamesBytes(int index)

Output only. The list of names of the ancestors of this TaxonomyCategory.

repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ancestorNames at the given index.

getAncestorNamesCount()

public abstract int getAncestorNamesCount()

Output only. The list of names of the ancestors of this TaxonomyCategory.

repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of ancestorNames.

getAncestorNamesList()

public abstract List<String> getAncestorNamesList()

Output only. The list of names of the ancestors of this TaxonomyCategory.

repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the ancestorNames.

getAncestorTaxonomyCategoryIds(int index)

public abstract long getAncestorTaxonomyCategoryIds(int index)

Output only. The list of IDs of the ancestors of this TaxonomyCategory.

repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The ancestorTaxonomyCategoryIds at the given index.

getAncestorTaxonomyCategoryIdsCount()

public abstract int getAncestorTaxonomyCategoryIdsCount()

Output only. The list of IDs of the ancestors of this TaxonomyCategory.

repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of ancestorTaxonomyCategoryIds.

getAncestorTaxonomyCategoryIdsList()

public abstract List<Long> getAncestorTaxonomyCategoryIdsList()

Output only. The list of IDs of the ancestors of this TaxonomyCategory.

repeated int64 ancestor_taxonomy_category_ids = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Long>

A list containing the ancestorTaxonomyCategoryIds.

getDisplayName()

public abstract String getDisplayName()

Output only. Display name of the TaxonomyCategory.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. Display name of the TaxonomyCategory.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getGroupingOnly()

public abstract boolean getGroupingOnly()

Output only. Whether this TaxonomyCategory only serves to group its children.

bool grouping_only = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The groupingOnly.

getName()

public abstract String getName()

Identifier. The resource name of the TaxonomyCategory. Format: networks/{network_code}/taxonomyCategories/{taxonomy_category_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the TaxonomyCategory. Format: networks/{network_code}/taxonomyCategories/{taxonomy_category_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParentTaxonomyCategoryId()

public abstract long getParentTaxonomyCategoryId()

Output only. The ID of the parent category this TaxonomyCategory descends from.

int64 parent_taxonomy_category_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The parentTaxonomyCategoryId.

getTaxonomyCategoryId()

public abstract long getTaxonomyCategoryId()

Output only. TaxonomyCategory ID.

int64 taxonomy_category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The taxonomyCategoryId.

getTaxonomyType()

public abstract TaxonomyTypeEnum.TaxonomyType getTaxonomyType()

Output only. The taxonomy that this TaxonomyCategory belongs to.

.google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType taxonomy_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TaxonomyTypeEnum.TaxonomyType

The taxonomyType.

getTaxonomyTypeValue()

public abstract int getTaxonomyTypeValue()

Output only. The taxonomy that this TaxonomyCategory belongs to.

.google.ads.admanager.v1.TaxonomyTypeEnum.TaxonomyType taxonomy_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for taxonomyType.