Interface GenerateStatelessSummaryResponseOrBuilder (4.57.0)

public interface GenerateStatelessSummaryResponseOrBuilder 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 [GenerateStatelessSummaryRequest.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. The format is specific to the user and the names of the messages provided.

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. The format is specific to the user and the names of the messages provided.

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

Returns
Type Description
ByteString

The bytes for latestMessage.

getSummary()

public abstract GenerateStatelessSummaryResponse.Summary getSummary()

Generated summary.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;

Returns
Type Description
GenerateStatelessSummaryResponse.Summary

The summary.

getSummaryOrBuilder()

public abstract GenerateStatelessSummaryResponse.SummaryOrBuilder getSummaryOrBuilder()

Generated summary.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;

Returns
Type Description
GenerateStatelessSummaryResponse.SummaryOrBuilder

hasSummary()

public abstract boolean hasSummary()

Generated summary.

.google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.Summary summary = 1;

Returns
Type Description
boolean

Whether the summary field is set.