Interface SentimentAnalysisResultOrBuilder (4.51.0)

See more code actions.
public interface SentimentAnalysisResultOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract Sentiment getQueryTextSentiment()

The sentiment analysis result for query_text.

.google.cloud.dialogflow.v2.Sentiment query_text_sentiment = 1;

Returns
Type Description
Sentiment

The queryTextSentiment.

getQueryTextSentimentOrBuilder()

public abstract SentimentOrBuilder getQueryTextSentimentOrBuilder()

The sentiment analysis result for query_text.

.google.cloud.dialogflow.v2.Sentiment query_text_sentiment = 1;

Returns
Type Description
SentimentOrBuilder

hasQueryTextSentiment()

public abstract boolean hasQueryTextSentiment()

The sentiment analysis result for query_text.

.google.cloud.dialogflow.v2.Sentiment query_text_sentiment = 1;

Returns
Type Description
boolean

Whether the queryTextSentiment field is set.