Interface GenerateStatelessSummaryResponseOrBuilder

    • Method Detail

      • hasSummary

        boolean hasSummary()
         Generated summary.
         
        .google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;
        Returns:
        Whether the summary field is set.
      • getLatestMessage

        String getLatestMessage()
         The name of the latest conversation message used as context for
         compiling suggestion. The format is specific to the user and the names of
         the messages provided.
         
        string latest_message = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        The latestMessage.
      • getLatestMessageBytes

        com.google.protobuf.ByteString getLatestMessageBytes()
         The name of the latest conversation message used as context for
         compiling suggestion. The format is specific to the user and the names of
         the messages provided.
         
        string latest_message = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for latestMessage.
      • getContextSize

        int getContextSize()
         Number of messages prior to and including
         [last_conversation_message][] used to compile the suggestion. It may be
         smaller than the [GenerateStatelessSummaryRequest.context_size][] field in
         the request if there weren't that many messages in the conversation.
         
        int32 context_size = 3;
        Returns:
        The contextSize.