Interface SuggestionResultOrBuilder (4.4.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
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error status if the request failed.

.google.rpc.Status error = 1;

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

getSuggestFaqAnswersResponse()

public abstract SuggestFaqAnswersResponse getSuggestFaqAnswersResponse()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

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

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

getSuggestionResponseCase()

public abstract SuggestionResult.SuggestionResponseCase getSuggestionResponseCase()
Returns
TypeDescription
SuggestionResult.SuggestionResponseCase

hasError()

public abstract boolean hasError()

Error status if the request failed.

.google.rpc.Status error = 1;

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

Whether the suggestFaqAnswersResponse field is set.