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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCategoryId()
      ID of the product category.
      ProductCategoryLevelEnum.ProductCategoryLevel getLevel()
      Level of the product category.
      int getLevelValue()
      Level of the product category.
      boolean hasCategoryId()
      ID of the product category.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2;
        Returns:
        The enum numeric value on the wire for level.