Interface SuggestDialogflowAssistsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestDialogflowAssistsResponse
,SuggestDialogflowAssistsResponse.Builder
public interface SuggestDialogflowAssistsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getContextSize()
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] to compile the suggestion.DialogflowAssistAnswer
getDialogflowAssistAnswers(int index)
Output only.int
getDialogflowAssistAnswersCount()
Output only.List<DialogflowAssistAnswer>
getDialogflowAssistAnswersList()
Output only.DialogflowAssistAnswerOrBuilder
getDialogflowAssistAnswersOrBuilder(int index)
Output only.List<? extends DialogflowAssistAnswerOrBuilder>
getDialogflowAssistAnswersOrBuilderList()
Output only.String
getLatestMessage()
The name of the latest conversation message used to suggest answer.com.google.protobuf.ByteString
getLatestMessageBytes()
The name of the latest conversation message used to suggest answer.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDialogflowAssistAnswersList
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;
-
getDialogflowAssistAnswers
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;
-
getDialogflowAssistAnswersCount
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;
-
getDialogflowAssistAnswersOrBuilderList
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;
-
getDialogflowAssistAnswersOrBuilder
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;
-
getLatestMessage
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:
- The latestMessage.
-
getLatestMessageBytes
com.google.protobuf.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:
- The bytes for latestMessage.
-
getContextSize
int getContextSize()
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestDialogflowAssistsRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsRequest.context_size] field in the request if there aren't that many messages in the conversation.
int32 context_size = 3;
- Returns:
- The contextSize.
-
-