Interface GenerateStatelessSummaryResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GenerateStatelessSummaryResponse, GenerateStatelessSummaryResponse.Builder

@Generated public interface GenerateStatelessSummaryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.latest_message] used to compile the suggestion.
    The name of the latest conversation message used as context for compiling suggestion.
    com.google.protobuf.ByteString
    The name of the latest conversation message used as context for compiling suggestion.
    Generated summary.
    Generated summary.
    boolean
    Generated summary.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSummary

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

       Generated summary.
       
      .google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;
      Returns:
      The summary.
    • getSummaryOrBuilder

       Generated summary.
       
      .google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;
    • 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
       [latest_message][google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.latest_message]
       used to compile the suggestion. It may be smaller than the
       [GenerateStatelessSummaryRequest.max_context_size][google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.max_context_size]
       field in the request if there weren't that many messages in the
       conversation.
       
      int32 context_size = 3;
      Returns:
      The contextSize.