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.v2beta1.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.v2beta1.SuggestArticlesResponse suggest_articles_response = 2;

Returns
TypeDescription
SuggestArticlesResponseOrBuilder

getSuggestFaqAnswersResponse()

public abstract SuggestFaqAnswersResponse getSuggestFaqAnswersResponse()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

.google.cloud.dialogflow.v2beta1.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.v2beta1.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;

Returns
TypeDescription
SuggestFaqAnswersResponseOrBuilder

getSuggestSmartRepliesResponse()

public abstract SuggestSmartRepliesResponse getSuggestSmartRepliesResponse()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

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

Returns
TypeDescription
SuggestSmartRepliesResponse

The suggestSmartRepliesResponse.

getSuggestSmartRepliesResponseOrBuilder()

public abstract SuggestSmartRepliesResponseOrBuilder getSuggestSmartRepliesResponseOrBuilder()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

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

Returns
TypeDescription
SuggestSmartRepliesResponseOrBuilder

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.v2beta1.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.v2beta1.SuggestFaqAnswersResponse suggest_faq_answers_response = 3;

Returns
TypeDescription
boolean

Whether the suggestFaqAnswersResponse field is set.

hasSuggestSmartRepliesResponse()

public abstract boolean hasSuggestSmartRepliesResponse()

SuggestSmartRepliesResponse if request is for SMART_REPLY.

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

Returns
TypeDescription
boolean

Whether the suggestSmartRepliesResponse field is set.