Interface SentimentAnalysisResultOrBuilder (4.18.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
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.