Enum ClassificationModelOptions.V2Model.ContentCategoriesVersion (2.55.0)

public enum ClassificationModelOptions.V2Model.ContentCategoriesVersion extends Enum<ClassificationModelOptions.V2Model.ContentCategoriesVersion> implements ProtocolMessageEnum

The content categories used for classification.

Protobuf enum google.cloud.language.v1beta2.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()