Interface SuggestDialogflowAssistsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestDialogflowAssistsResponse,SuggestDialogflowAssistsResponse.Builder
@Generated
public interface SuggestDialogflowAssistsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] to compile the suggestion.getDialogflowAssistAnswers(int index) Output only.intOutput only.Output only.getDialogflowAssistAnswersOrBuilder(int index) Output only.List<? extends DialogflowAssistAnswerOrBuilder>Output only.The name of the latest conversation message used to suggest answer.com.google.protobuf.ByteStringThe name of the latest conversation message used to suggest answer.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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.
-