Interface StringStatsOrBuilder (2.29.0)

public interface StringStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopUnigramStats(int index)

public abstract StringStats.UnigramStats getTopUnigramStats(int index)

The statistics of the top 20 unigrams, ordered by count.

repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StringStats.UnigramStats

getTopUnigramStatsCount()

public abstract int getTopUnigramStatsCount()

The statistics of the top 20 unigrams, ordered by count.

repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;

Returns
TypeDescription
int

getTopUnigramStatsList()

public abstract List<StringStats.UnigramStats> getTopUnigramStatsList()

The statistics of the top 20 unigrams, ordered by count.

repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;

Returns
TypeDescription
List<UnigramStats>

getTopUnigramStatsOrBuilder(int index)

public abstract StringStats.UnigramStatsOrBuilder getTopUnigramStatsOrBuilder(int index)

The statistics of the top 20 unigrams, ordered by count.

repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StringStats.UnigramStatsOrBuilder

getTopUnigramStatsOrBuilderList()

public abstract List<? extends StringStats.UnigramStatsOrBuilder> getTopUnigramStatsOrBuilderList()

The statistics of the top 20 unigrams, ordered by count.

repeated .google.cloud.automl.v1beta1.StringStats.UnigramStats top_unigram_stats = 1;

Returns
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.StringStats.UnigramStatsOrBuilder>