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

getStatus()

public abstract Status getStatus()

Output only. The status of the sentiment analysis operation. If the operation failed, this field will contain the error details. For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).

.google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

Output only. The status of the sentiment analysis operation. If the operation failed, this field will contain the error details. For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).

.google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

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.

hasStatus()

public abstract boolean hasStatus()

Output only. The status of the sentiment analysis operation. If the operation failed, this field will contain the error details. For example, it might indicate a quota issue (RESOURCE_EXHAUSTED).

.google.rpc.Status status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.