public interface ClassificationCategoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidence()
The classifier's confidence of the category.
|
String |
getName()
The name of the category representing the document, from the [predefined
taxonomy](/natural-language/docs/categories).
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the category representing the document, from the [predefined
taxonomy](/natural-language/docs/categories).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the category representing the document, from the [predefined taxonomy](/natural-language/docs/categories).
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the category representing the document, from the [predefined taxonomy](/natural-language/docs/categories).
string name = 1;float getConfidence()
The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.
float confidence = 2;Copyright © 2019 Google LLC. All rights reserved.