Interface SuggestDialogflowAssistsResponseOrBuilder (4.58.0)

public interface SuggestDialogflowAssistsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextSize()

public abstract int getContextSize()

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.context_size field in the request if there aren't that many messages in the conversation.

int32 context_size = 3;

Returns
Type Description
int

The contextSize.

getDialogflowAssistAnswers(int index)

public abstract DialogflowAssistAnswer getDialogflowAssistAnswers(int index)

Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.

repeated .google.cloud.dialogflow.v2beta1.DialogflowAssistAnswer dialogflow_assist_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
DialogflowAssistAnswer

getDialogflowAssistAnswersCount()

public abstract int getDialogflowAssistAnswersCount()

Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.

repeated .google.cloud.dialogflow.v2beta1.DialogflowAssistAnswer dialogflow_assist_answers = 1;

Returns
Type Description
int

getDialogflowAssistAnswersList()

public abstract List<DialogflowAssistAnswer> getDialogflowAssistAnswersList()

Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.

repeated .google.cloud.dialogflow.v2beta1.DialogflowAssistAnswer dialogflow_assist_answers = 1;

Returns
Type Description
List<DialogflowAssistAnswer>

getDialogflowAssistAnswersOrBuilder(int index)

public abstract DialogflowAssistAnswerOrBuilder getDialogflowAssistAnswersOrBuilder(int index)

Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.

repeated .google.cloud.dialogflow.v2beta1.DialogflowAssistAnswer dialogflow_assist_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
DialogflowAssistAnswerOrBuilder

getDialogflowAssistAnswersOrBuilderList()

public abstract List<? extends DialogflowAssistAnswerOrBuilder> getDialogflowAssistAnswersOrBuilderList()

Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.

repeated .google.cloud.dialogflow.v2beta1.DialogflowAssistAnswer dialogflow_assist_answers = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.DialogflowAssistAnswerOrBuilder>

getLatestMessage()

public abstract String getLatestMessage()

The name of the latest conversation message used to suggest answer.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

The name of the latest conversation message used to suggest answer.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2;

Returns
Type Description
ByteString

The bytes for latestMessage.