Interface CategoryStatsOrBuilder (2.41.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStatsOrBuilder>