Interface CategoryStatsOrBuilder (2.49.0)

public interface CategoryStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopCategoryStats(int index)

public abstract CategoryStats.SingleCategoryStats getTopCategoryStats(int index)

The statistics of the top 20 CATEGORY values, ordered by

count.

repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
CategoryStats.SingleCategoryStats

getTopCategoryStatsCount()

public abstract int getTopCategoryStatsCount()

The statistics of the top 20 CATEGORY values, ordered by

count.

repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;

Returns
Type Description
int

getTopCategoryStatsList()

public abstract List<CategoryStats.SingleCategoryStats> getTopCategoryStatsList()

The statistics of the top 20 CATEGORY values, ordered by

count.

repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;

Returns
Type Description
List<SingleCategoryStats>

getTopCategoryStatsOrBuilder(int index)

public abstract CategoryStats.SingleCategoryStatsOrBuilder getTopCategoryStatsOrBuilder(int index)

The statistics of the top 20 CATEGORY values, ordered by

count.

repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
CategoryStats.SingleCategoryStatsOrBuilder

getTopCategoryStatsOrBuilderList()

public abstract List<? extends CategoryStats.SingleCategoryStatsOrBuilder> getTopCategoryStatsOrBuilderList()

The statistics of the top 20 CATEGORY values, ordered by

count.

repeated .google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats top_category_stats = 1;

Returns
Type Description
List<? extends com.google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStatsOrBuilder>