public final class TaxonomyCategory extends GeneratedMessageV3 implements TaxonomyCategoryOrBuilder
The TaxonomyCategory
resource.
Protobuf type google.ads.admanager.v1.TaxonomyCategory
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANCESTOR_NAMES_FIELD_NUMBER
public static final int ANCESTOR_NAMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ANCESTOR_TAXONOMY_CATEGORY_IDS_FIELD_NUMBER
public static final int ANCESTOR_TAXONOMY_CATEGORY_IDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GROUPING_ONLY_FIELD_NUMBER
public static final int GROUPING_ONLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARENT_TAXONOMY_CATEGORY_ID_FIELD_NUMBER
public static final int PARENT_TAXONOMY_CATEGORY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TAXONOMY_CATEGORY_ID_FIELD_NUMBER
public static final int TAXONOMY_CATEGORY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TAXONOMY_TYPE_FIELD_NUMBER
public static final int TAXONOMY_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TaxonomyCategory getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TaxonomyCategory.Builder newBuilder()
newBuilder(TaxonomyCategory prototype)
public static TaxonomyCategory.Builder newBuilder(TaxonomyCategory prototype)
public static TaxonomyCategory parseDelimitedFrom(InputStream input)
public static TaxonomyCategory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TaxonomyCategory parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TaxonomyCategory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TaxonomyCategory parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaxonomyCategory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaxonomyCategory parseFrom(CodedInputStream input)
public static TaxonomyCategory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TaxonomyCategory parseFrom(InputStream input)
public static TaxonomyCategory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TaxonomyCategory parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TaxonomyCategory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TaxonomyCategory> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAncestorNames(int index)
public 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 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 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 ProtocolStringList getAncestorNamesList()
Output only. The list of names of the ancestors of this TaxonomyCategory
.
repeated string ancestor_names = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAncestorTaxonomyCategoryIds(int index)
public 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 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 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.
|
getDefaultInstanceForType()
public TaxonomyCategory getDefaultInstanceForType()
getDisplayName()
public 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 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 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()
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 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 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.
|
getParserForType()
public Parser<TaxonomyCategory> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTaxonomyCategoryId()
public 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 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];
getTaxonomyTypeValue()
public 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TaxonomyCategory.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TaxonomyCategory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TaxonomyCategory.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides