Interface SuggestionResultOrBuilder (4.17.0)

public interface SuggestionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

Error status if the request failed.

.google.rpc.Status error = 1;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error status if the request failed.

.google.rpc.Status error = 1;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getSuggestArticlesResponse()

public abstract SuggestArticlesResponse getSuggestArticlesResponse()

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

.google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;

Returns
Type Description
SuggestArticlesResponse

The suggestArticlesResponse.

getSuggestArticlesResponseOrBuilder()

public abstract SuggestArticlesResponseOrBuilder getSuggestArticlesResponseOrBuilder()

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

.google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;

Returns
Type Description
SuggestArticlesResponseOrBuilder

getSuggestFaqAnswersResponse()

public abstract SuggestFaqAnswersResponse getSuggestFaqAnswersResponse()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;

Returns
Type Description
SuggestFaqAnswersResponse

The suggestFaqAnswersResponse.

getSuggestFaqAnswersResponseOrBuilder()

public abstract SuggestFaqAnswersResponseOrBuilder getSuggestFaqAnswersResponseOrBuilder()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;

Returns
Type Description
SuggestFaqAnswersResponseOrBuilder

getSuggestSmartRepliesResponse()

public abstract SuggestSmartRepliesResponse getSuggestSmartRepliesResponse()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;

Returns
Type Description
SuggestSmartRepliesResponse

The suggestSmartRepliesResponse.

getSuggestSmartRepliesResponseOrBuilder()

public abstract SuggestSmartRepliesResponseOrBuilder getSuggestSmartRepliesResponseOrBuilder()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;

Returns
Type Description
SuggestSmartRepliesResponseOrBuilder

getSuggestionResponseCase()

public abstract SuggestionResult.SuggestionResponseCase getSuggestionResponseCase()
Returns
Type Description
SuggestionResult.SuggestionResponseCase

hasError()

public abstract boolean hasError()

Error status if the request failed.

.google.rpc.Status error = 1;

Returns
Type Description
boolean

Whether the error field is set.

hasSuggestArticlesResponse()

public abstract boolean hasSuggestArticlesResponse()

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

.google.cloud.dialogflow.v2.SuggestArticlesResponse suggest_articles_response = 2;

Returns
Type Description
boolean

Whether the suggestArticlesResponse field is set.

hasSuggestFaqAnswersResponse()

public abstract boolean hasSuggestFaqAnswersResponse()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;

Returns
Type Description
boolean

Whether the suggestFaqAnswersResponse field is set.

hasSuggestSmartRepliesResponse()

public abstract boolean hasSuggestSmartRepliesResponse()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse suggest_smart_replies_response = 4;

Returns
Type Description
boolean

Whether the suggestSmartRepliesResponse field is set.