Uses of Class
com.google.cloud.dialogflow.v2.Sentiment.Builder
-
Uses of Sentiment.Builder in com.google.cloud.dialogflow.v2
Methods in com.google.cloud.dialogflow.v2 that return Sentiment.BuilderModifier and TypeMethodDescriptionSentiment.Builder.clear()Sentiment.Builder.clearMagnitude()A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, regardless of score (positive or negative).Sentiment.Builder.clearScore()Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).SentimentAnalysisResult.Builder.getQueryTextSentimentBuilder()The sentiment analysis result for `query_text`.Sentiment.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Sentiment.Builder.mergeFrom(com.google.protobuf.Message other) static Sentiment.BuilderSentiment.newBuilder()static Sentiment.BuilderSentiment.newBuilder(Sentiment prototype) Sentiment.newBuilderForType()protected Sentiment.BuilderSentiment.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Sentiment.Builder.setMagnitude(float value) A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, regardless of score (positive or negative).Sentiment.Builder.setScore(float value) Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).Sentiment.toBuilder()Methods in com.google.cloud.dialogflow.v2 with parameters of type Sentiment.BuilderModifier and TypeMethodDescriptionSentimentAnalysisResult.Builder.setQueryTextSentiment(Sentiment.Builder builderForValue) The sentiment analysis result for `query_text`.