Interface ProductCategoryInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProductCategoryInfo,ProductCategoryInfo.Builder
public interface ProductCategoryInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongID of the product category.getLevel()Level of the product category.intLevel of the product category.booleanID of the product category.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCategoryId
boolean hasCategoryId()ID of the product category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 category_id = 1;- Returns:
- Whether the categoryId field is set.
-
getCategoryId
long getCategoryId()ID of the product category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 category_id = 1;- Returns:
- The categoryId.
-
getLevelValue
int getLevelValue()Level of the product category.
.google.ads.googleads.v18.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2;- Returns:
- The enum numeric value on the wire for level.
-
getLevel
Level of the product category.
.google.ads.googleads.v18.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2;- Returns:
- The level.
-