Interface SuggestDialogflowAssistsResponseOrBuilder

    • 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.