Enum ClassificationModelOptions.V2Model.ContentCategoriesVersion (2.8.0)

publicenumClassificationModelOptions.V2Model.ContentCategoriesVersionextendsEnum<ClassificationModelOptions.V2Model.ContentCategoriesVersion>implementsProtocolMessageEnum

The content categories used for classification.

Protobuf enum google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONTENT_CATEGORIES_VERSION_UNSPECIFIED

If ContentCategoriesVersion is not specified, this option will default to V1.

CONTENT_CATEGORIES_VERSION_UNSPECIFIED = 0;

CONTENT_CATEGORIES_VERSION_UNSPECIFIED_VALUE

If ContentCategoriesVersion is not specified, this option will default to V1.

CONTENT_CATEGORIES_VERSION_UNSPECIFIED = 0;

UNRECOGNIZED
V1

Legacy content categories of our initial launch in 2017.

V1 = 1;

V1_VALUE

Legacy content categories of our initial launch in 2017.

V1 = 1;

V2

Updated content categories in 2022.

V2 = 2;

V2_VALUE

Updated content categories in 2022.

V2 = 2;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.