Interface ClassificationModelOptions.V2ModelOrBuilder (2.8.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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for contentCategoriesVersion.