public interface SentimentDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getMagnitude()
A non-negative number from 0 to infinity which represents the abolute
magnitude of sentiment regardless of score.
|
float |
getScore()
The sentiment score between -1.0 (negative) and 1.0 (positive).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffloat getMagnitude()
A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.
float magnitude = 1;float getScore()
The sentiment score between -1.0 (negative) and 1.0 (positive).
float score = 2;Copyright © 2023 Google LLC. All rights reserved.