Interface SentimentAnalysisResultOrBuilder (4.47.0)

public interface SentimentAnalysisResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQueryTextSentiment()

public abstract Sentiment getQueryTextSentiment()

The sentiment analysis result for query_text.

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

Returns
TypeDescription
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
TypeDescription
SentimentOrBuilder

hasQueryTextSentiment()

public abstract boolean hasQueryTextSentiment()

The sentiment analysis result for query_text.

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

Returns
TypeDescription
boolean

Whether the queryTextSentiment field is set.