Interface GenerateStatelessSummaryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateStatelessSummaryResponse,GenerateStatelessSummaryResponse.Builder
public interface GenerateStatelessSummaryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetContextSize()Number of messages prior to and including [last_conversation_message][] used to compile the suggestion.StringgetLatestMessage()The name of the latest conversation message used as context for compiling suggestion.com.google.protobuf.ByteStringgetLatestMessageBytes()The name of the latest conversation message used as context for compiling suggestion.GenerateStatelessSummaryResponse.SummarygetSummary()Generated summary.GenerateStatelessSummaryResponse.SummaryOrBuildergetSummaryOrBuilder()Generated summary.booleanhasSummary()Generated summary.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSummary
boolean hasSummary()
Generated summary.
.google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryResponse.Summary summary = 1;- Returns:
- Whether the summary field is set.
-
getSummary
GenerateStatelessSummaryResponse.Summary getSummary()
Generated summary.
.google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryResponse.Summary summary = 1;- Returns:
- The summary.
-
getSummaryOrBuilder
GenerateStatelessSummaryResponse.SummaryOrBuilder getSummaryOrBuilder()
Generated summary.
.google.cloud.dialogflow.v2beta1.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 [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.
-
-