public interface ClassificationCategoryOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description | 
|---|---|
| float | getConfidence()
 The classifier's confidence of the category. | 
| java.lang.String | getName()
 The name of the category representing the document. | 
| ByteString | getNameBytes()
 The name of the category representing the document. | 
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getName()
The name of the category representing the document.
string name = 1;ByteString getNameBytes()
The name of the category representing the document.
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;