Enum ClassificationModelOptions.V2Model.ContentCategoriesVersion (2.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
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 2023-06-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]