Interface ClassifyTextResponseOrBuilder (2.22.0)

public interface ClassifyTextResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCategories(int index)

public abstract ClassificationCategory getCategories(int index)

Categories representing the input document.

repeated .google.cloud.language.v1.ClassificationCategory categories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ClassificationCategory

getCategoriesCount()

public abstract int getCategoriesCount()

Categories representing the input document.

repeated .google.cloud.language.v1.ClassificationCategory categories = 1;

Returns
TypeDescription
int

getCategoriesList()

public abstract List<ClassificationCategory> getCategoriesList()

Categories representing the input document.

repeated .google.cloud.language.v1.ClassificationCategory categories = 1;

Returns
TypeDescription
List<ClassificationCategory>

getCategoriesOrBuilder(int index)

public abstract ClassificationCategoryOrBuilder getCategoriesOrBuilder(int index)

Categories representing the input document.

repeated .google.cloud.language.v1.ClassificationCategory categories = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ClassificationCategoryOrBuilder

getCategoriesOrBuilderList()

public abstract List<? extends ClassificationCategoryOrBuilder> getCategoriesOrBuilderList()

Categories representing the input document.

repeated .google.cloud.language.v1.ClassificationCategory categories = 1;

Returns
TypeDescription
List<? extends com.google.cloud.language.v1.ClassificationCategoryOrBuilder>