Interface SuggestConversationSummaryResponseOrBuilder (4.17.0)

public interface SuggestConversationSummaryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextSize()

public abstract int getContextSize()

Number of messages prior to and including [last_conversation_message][] used to compile the suggestion. It may be smaller than the [SuggestSummaryRequest.context_size][] field in the request if there weren't that many messages in the conversation.

int32 context_size = 3;

Returns
Type Description
int

The contextSize.

getLatestMessage()

public abstract String getLatestMessage()

The name of the latest conversation message used as context for compiling suggestion. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract ByteString getLatestMessageBytes()

The name of the latest conversation message used as context for compiling suggestion. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

string latest_message = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for latestMessage.

getSummary()

public abstract SuggestConversationSummaryResponse.Summary getSummary()

Generated summary.

.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;

Returns
Type Description
SuggestConversationSummaryResponse.Summary

The summary.

getSummaryOrBuilder()

public abstract SuggestConversationSummaryResponse.SummaryOrBuilder getSummaryOrBuilder()

Generated summary.

.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;

Returns
Type Description
SuggestConversationSummaryResponse.SummaryOrBuilder

hasSummary()

public abstract boolean hasSummary()

Generated summary.

.google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary summary = 1;

Returns
Type Description
boolean

Whether the summary field is set.