Interface SuggestionResultOrBuilder (4.39.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.v2beta1.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.v2beta1.SuggestArticlesResponse suggest_articles_response = 2;

Returns
Type Description
SuggestArticlesResponseOrBuilder

getSuggestDialogflowAssistsResponse()

public abstract SuggestDialogflowAssistsResponse getSuggestDialogflowAssistsResponse()

SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_dialogflow_assists_response = 5;

Returns
Type Description
SuggestDialogflowAssistsResponse

The suggestDialogflowAssistsResponse.

getSuggestDialogflowAssistsResponseOrBuilder()

public abstract SuggestDialogflowAssistsResponseOrBuilder getSuggestDialogflowAssistsResponseOrBuilder()

SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_dialogflow_assists_response = 5;

Returns
Type Description
SuggestDialogflowAssistsResponseOrBuilder

getSuggestEntityExtractionResponse()

public abstract SuggestDialogflowAssistsResponse getSuggestEntityExtractionResponse()

SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_entity_extraction_response = 7;

Returns
Type Description
SuggestDialogflowAssistsResponse

The suggestEntityExtractionResponse.

getSuggestEntityExtractionResponseOrBuilder()

public abstract SuggestDialogflowAssistsResponseOrBuilder getSuggestEntityExtractionResponseOrBuilder()

SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_entity_extraction_response = 7;

Returns
Type Description
SuggestDialogflowAssistsResponseOrBuilder

getSuggestFaqAnswersResponse()

public abstract SuggestFaqAnswersResponse getSuggestFaqAnswersResponse()

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

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

Returns
Type Description
boolean

Whether the suggestArticlesResponse field is set.

hasSuggestDialogflowAssistsResponse()

public abstract boolean hasSuggestDialogflowAssistsResponse()

SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_dialogflow_assists_response = 5;

Returns
Type Description
boolean

Whether the suggestDialogflowAssistsResponse field is set.

hasSuggestEntityExtractionResponse()

public abstract boolean hasSuggestEntityExtractionResponse()

SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION.

.google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse suggest_entity_extraction_response = 7;

Returns
Type Description
boolean

Whether the suggestEntityExtractionResponse 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
Type Description
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
Type Description
boolean

Whether the suggestSmartRepliesResponse field is set.