Interface CatalogItem.CategoryHierarchyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CatalogItem.CategoryHierarchy, CatalogItem.CategoryHierarchy.Builder
Enclosing class:
CatalogItem

public static interface CatalogItem.CategoryHierarchyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCategories(int index)
    Required.
    com.google.protobuf.ByteString
    getCategoriesBytes(int index)
    Required.
    int
    Required.
    Required.

    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 Details

    • getCategoriesList

      List<String> getCategoriesList()
       Required. Catalog item categories. Each category should be a UTF-8
       encoded string with a length limit of 2 KiB.
      
       Note that the order in the list denotes the specificity (from least to
       most specific).
       
      repeated string categories = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the categories.
    • getCategoriesCount

      int getCategoriesCount()
       Required. Catalog item categories. Each category should be a UTF-8
       encoded string with a length limit of 2 KiB.
      
       Note that the order in the list denotes the specificity (from least to
       most specific).
       
      repeated string categories = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of categories.
    • getCategories

      String getCategories(int index)
       Required. Catalog item categories. Each category should be a UTF-8
       encoded string with a length limit of 2 KiB.
      
       Note that the order in the list denotes the specificity (from least to
       most specific).
       
      repeated string categories = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The categories at the given index.
    • getCategoriesBytes

      com.google.protobuf.ByteString getCategoriesBytes(int index)
       Required. Catalog item categories. Each category should be a UTF-8
       encoded string with a length limit of 2 KiB.
      
       Note that the order in the list denotes the specificity (from least to
       most specific).
       
      repeated string categories = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the categories at the given index.