Interface ClassificationModelOptions.V2ModelOrBuilder (2.56.0)

public static interface ClassificationModelOptions.V2ModelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentCategoriesVersion()

public abstract ClassificationModelOptions.V2Model.ContentCategoriesVersion getContentCategoriesVersion()

The content categories used for classification.

.google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion content_categories_version = 1;

Returns
Type Description
ClassificationModelOptions.V2Model.ContentCategoriesVersion

The contentCategoriesVersion.

getContentCategoriesVersionValue()

public abstract int getContentCategoriesVersionValue()

The content categories used for classification.

.google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion content_categories_version = 1;

Returns
Type Description
int

The enum numeric value on the wire for contentCategoriesVersion.