public static interface CatalogItem.CategoryHierarchyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCategories(int index)
public abstract 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];
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The categories at the given index. |
getCategoriesBytes(int index)
public abstract 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];
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the categories at the given index. |
getCategoriesCount()
public abstract 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];
| Type | Description |
| int | The count of categories. |
getCategoriesList()
public abstract 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];
| Type | Description |
| List<String> | A list containing the categories. |